${function() {
const variantData = data.variant || {"id":"05b888e0-aead-4fdd-be3b-c96cbea37fe6","product_id":"52968a33-00bd-43ee-a62e-f333c9fe5ac2","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SYV005348_KH_S","barcode":"","position":7,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99ca74d8120feea7a93ec62a476a67ca.jpeg","path":"99ca74d8120feea7a93ec62a476a67ca.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"36.99","retail_price":"36.99","available":true,"url":"\/products\/casual-soft-lapel-shirt-set?variant=05b888e0-aead-4fdd-be3b-c96cbea37fe6","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.