${function() {
const variantData = data.variant || {"id":"3cb96d74-8c66-41ab-bbe3-fdf834068986","product_id":"8ba1839b-7bde-48f1-a8da-3737ebffac2f","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"086-240306-A01-MT012048TJ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9eb2cf5df2f70ee14426ffc15a224759.jpeg","path":"9eb2cf5df2f70ee14426ffc15a224759.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"37.99","retail_price":"37.99","available":true,"url":"\/products\/horse-print-race-cotton-shirt-a10h?variant=3cb96d74-8c66-41ab-bbe3-fdf834068986","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.