${function() {
const variantData = data.variant || {"id":"8ceddff4-bd32-4bdc-b2e5-8ad1f350cba0","product_id":"e3991403-cf2e-4e65-9b3d-13b29563b602","title":"MULTICOLOR-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ICJ091213C01-S","barcode":"","position":1,"option1":"MULTICOLOR","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed0b05fc40464282960e2662a86e8618.jpeg","path":"ed0b05fc40464282960e2662a86e8618.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\/creepy-mushroom-art-halloween-t-shirt?variant=8ceddff4-bd32-4bdc-b2e5-8ad1f350cba0","available_quantity":999999999,"options":[{"name":"COLOR","value":"MULTICOLOR"},{"name":"SIZE","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.