${function() {
const variantData = data.variant || {"id":"2852828a-6fe1-4df4-bdd4-3f95d24eaebb","product_id":"ef5562b6-d8d9-42cb-b2cc-d71ce8a58ecb","title":"muilticolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-240429-A06-MT00714PTS-muilticolor-S","barcode":"","position":1,"option1":"muilticolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e3541ba829bf23792befd252aa845d4.jpeg","path":"8e3541ba829bf23792befd252aa845d4.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/death-skull-punk-rock-art-design-print-t-shirt?variant=2852828a-6fe1-4df4-bdd4-3f95d24eaebb","available_quantity":999999999,"options":[{"name":"Color","value":"muilticolor"},{"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.