${function() {
const variantData = data.variant || {"id":"6515ba30-afe2-460f-8464-fded1ff02d6d","product_id":"4117dd4d-06e7-4a2e-b349-8f0bde9f4d70","title":"XS-Multicolor","weight_unit":"kg","inventory_quantity":1000,"sku":"cSMDF240524-4yH-XS","barcode":"cSMDF240524-4yH","position":1,"option1":"XS","option2":"Multicolor","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ed4f09de1d020a23182141526649ae8.jpeg","path":"7ed4f09de1d020a23182141526649ae8.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/csmdf240524-4yh1551b240-b3cd-4a78-8dc6-322d66cbb9f3?variant=6515ba30-afe2-460f-8464-fded1ff02d6d","available_quantity":999999999,"options":[{"name":"Size","value":"XS"},{"name":"Color","value":"Multicolor"}],"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.