${function() {
const variantData = data.variant || {"id":"1fa9e950-fff8-4533-aca8-e1cb1a53d2ee","product_id":"d670a140-7a5a-4cf0-a686-4180504052f8","title":"green-S","weight_unit":"g","inventory_quantity":1000,"sku":"099-230807-A06-WT0003RT8E-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/01d656e9a150a3f1a62c81a238b07e8d.jpeg","path":"01d656e9a150a3f1a62c81a238b07e8d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"200","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/womens-in-a-world-full-of-princesses-be-a-witch-halloween-print-casual-t-shirt?variant=1fa9e950-fff8-4533-aca8-e1cb1a53d2ee","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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.