${function() {
const variantData = data.variant || {"id":"626b9ec4-657e-482d-8e48-587aecbbdd1d","product_id":"0416ed95-e033-4474-861f-7abb0b6f81c6","title":"Beige-S","weight_unit":"kg","inventory_quantity":1000,"sku":"K575966564610404352","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/87160ab6fe5848b65641b5e7f5699688.jpeg","path":"87160ab6fe5848b65641b5e7f5699688.jpeg","width":787,"height":1049,"alt":"","aspect_ratio":0.7502383222116301},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"27.99","retail_price":"23.99","available":true,"url":"\/products\/mens-magical-mushroom-castle-print-casual-sweatshirt4463abc1-457d-47da-85a4-5f672431d5c4?variant=626b9ec4-657e-482d-8e48-587aecbbdd1d","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"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.