${function() {
const variantData = data.variant || {"id":"d431bd2c-f9c4-4bd9-9a51-1bd3615f524b","product_id":"d36c3779-6023-40ca-a44f-6b8404538b9c","title":"S-white","weight_unit":"kg","inventory_quantity":1000,"sku":"240410-36-S-white","barcode":"","position":1,"option1":"S","option2":"white","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/20d0b98dcf6421fb9103e553537b0006.jpeg","path":"20d0b98dcf6421fb9103e553537b0006.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\/hug-monster-pride-rainbow-print-t-shirt5f06396f-f583-44e9-bf5a-351e84bb4d2f?variant=d431bd2c-f9c4-4bd9-9a51-1bd3615f524b","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"white"}],"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.