${function() {
const variantData = data.variant || {"id":"3a25feb6-0d2b-436b-ba13-6dd0c502aa24","product_id":"56bc4a37-a20e-4333-bb6a-1f439792aae9","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131-230925-A04-WT0002VCGP-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e06a5f1da335fb3f14e4ad9042df187d.jpeg","path":"e06a5f1da335fb3f14e4ad9042df187d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/funny-dog-portrait-art-pattern-print-casual-t-shirt-6?variant=3a25feb6-0d2b-436b-ba13-6dd0c502aa24","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.