${function() {
const variantData = data.variant || {"id":"e6c03b51-e021-4717-a24b-4f28e47e96e2","product_id":"a6473b9a-e0f0-49e5-8f17-bdbb4c7baf90","title":"Color-S","weight_unit":"kg","inventory_quantity":997,"sku":"086-221031-06-MT002758J4-Color-S","barcode":"","position":1,"option1":"Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fee67845ae977cb346ad0816a93430d0.jpeg","path":"fee67845ae977cb346ad0816a93430d0.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"35.99","price":"35.99","retail_price":"35.99","available":true,"url":"\/products\/mens-waffle-art-print-casual-top-6?variant=e6c03b51-e021-4717-a24b-4f28e47e96e2","available_quantity":999999999,"options":[{"name":"Color","value":"Color"},{"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.