${function() {
const variantData = data.variant || {"id":"6dca9e5c-6c17-4a57-a18e-9aefa4a1ee8d","product_id":"6c596907-1520-4ec0-8665-72dec33f0e25","title":"Cracker Khaki-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"SYV003738_CRC_XS","barcode":"","position":15,"option1":"Cracker Khaki","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a6e00167dbeb5728e25a1fe58617ed8.jpeg","path":"5a6e00167dbeb5728e25a1fe58617ed8.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":46.99,"min_quantity":1}],"weight":"0","compare_at_price":"46.99","price":"46.99","retail_price":"46.99","available":true,"url":"\/products\/coofandy-cotton-linen-short-sleeve-shirt?variant=6dca9e5c-6c17-4a57-a18e-9aefa4a1ee8d","available_quantity":999999999,"options":[{"name":"Color","value":"Cracker Khaki"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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.