${function() {
const variantData = data.variant || {"id":"cda72458-9b21-43f9-a938-0551169ebf76","product_id":"9fa4946b-dc6b-4b4d-9763-bbdea7b04a93","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1564905827247579137","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac73cc2b1675b41c426be4441fc44673.jpeg","path":"ac73cc2b1675b41c426be4441fc44673.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.13,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.13","retail_price":"0","available":true,"url":"\/products\/mens-basic-white-deep-v-neck-cotton-long-sleeve-t-shirt?variant=cda72458-9b21-43f9-a938-0551169ebf76","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"cda72458-9b21-43f9-a938-0551169ebf76","product_id":"9fa4946b-dc6b-4b4d-9763-bbdea7b04a93","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1564905827247579137","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac73cc2b1675b41c426be4441fc44673.jpeg","path":"ac73cc2b1675b41c426be4441fc44673.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.13,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.13","retail_price":"0","available":true,"url":"\/products\/mens-basic-white-deep-v-neck-cotton-long-sleeve-t-shirt?variant=cda72458-9b21-43f9-a938-0551169ebf76","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}