${function() {
const variantData = data.variant || {"id":"e58c42e0-8281-4093-8ad5-e96fa38ef1c8","product_id":"f03beb5f-110d-466b-b3f3-e7f89fdaf45f","title":"Light Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH273798-LGY00S","barcode":"","position":1,"option1":"Light Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d51c381f53344ef65760a140e0bab0de.jpeg","path":"d51c381f53344ef65760a140e0bab0de.jpeg","width":566,"height":755,"alt":"","aspect_ratio":0.7496688741721854},"wholesale_price":[{"price":24.89,"min_quantity":1}],"weight":"0","compare_at_price":"48.54","price":"24.89","retail_price":"48.54","available":true,"url":"\/products\/womens-fun-dog-print-sweatshirt?variant=e58c42e0-8281-4093-8ad5-e96fa38ef1c8","available_quantity":999999999,"options":[{"name":"Color","value":"Light Grey"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":1};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.