${function() {
const variantData = data.variant || {"id":"830e1dfe-0e1a-4e90-b07a-5d0acef5a268","product_id":"11a18ffd-307a-4c1c-a7c4-584afc7f6e52","title":"Beige-S","weight_unit":"kg","inventory_quantity":1000,"sku":"K570142296376348672","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/693ad06fc580829a2b3ae803e3e83dbf.jpeg","path":"693ad06fc580829a2b3ae803e3e83dbf.jpeg","width":736,"height":981,"alt":"","aspect_ratio":0.7502548419979612},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.99","price":"27.99","retail_price":"26.99","available":true,"url":"\/products\/mens-japanese-ukiyoe-wave-cat-art-print-sweatshirt7e75a7f7-715a-44f9-8ce1-08643d6a1398?variant=830e1dfe-0e1a-4e90-b07a-5d0acef5a268","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.