${function() {
const variantData = data.variant || {"id":"c91611fe-4366-47e0-87c0-e484ed61b068","product_id":"c8aee088-92ea-4053-8988-0fb02d356b17","title":"Grey-M","weight_unit":"kg","inventory_quantity":997,"sku":"SYV005035_LGR_M","barcode":"","position":11,"option1":"Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3d7363014459a8b830f2828f2fd39ab3.jpeg","path":"3d7363014459a8b830f2828f2fd39ab3.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"38.99","retail_price":"38.99","available":true,"url":"\/products\/casual-breathable-pit-strip-tracksuit-set?variant=c91611fe-4366-47e0-87c0-e484ed61b068","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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.