${function() {
const variantData = data.variant || {"id":"d706a3d6-6fa2-46b0-add7-ec7156057aee","product_id":"9fb025b4-30c7-47e5-9f8c-f10c575fa9f1","title":"brown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-26-ARQQFDXTAX-brown-S","barcode":"","position":1,"option1":"brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9c19563ab5d2b1874dce4dbe5c2f347.jpeg","path":"c9c19563ab5d2b1874dce4dbe5c2f347.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"300","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/mens-cotton-and-linen-solid-color-casual-lapel-shirt?variant=d706a3d6-6fa2-46b0-add7-ec7156057aee","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"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.