${function() {
const variantData = data.variant || {"id":"50fc1def-4625-4612-b6d3-5b1f10998fd0","product_id":"6cb72534-293a-434a-967e-eef3feb7f353","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131-230914-A25-WT000297YF-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/362e1c7e5d9c774e13ebe2701bf521a3.jpeg","path":"362e1c7e5d9c774e13ebe2701bf521a3.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-cute-dog-portrait-art-pattern-print-casual-t-shirt-5?variant=50fc1def-4625-4612-b6d3-5b1f10998fd0","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.