${function() {
const variantData = data.variant || {"id":"a759def3-3176-4a64-b8ea-6d202b1fb606","product_id":"52968a33-00bd-43ee-a62e-f333c9fe5ac2","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SYV005348_W_S","barcode":"","position":13,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2878ba9081cbd812f84312e48bd549f.jpeg","path":"d2878ba9081cbd812f84312e48bd549f.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=a759def3-3176-4a64-b8ea-6d202b1fb606","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.