${function() {
const variantData = data.variant || {"id":"685327c4-2cfb-4cc9-962f-f1c15cc5bab7","product_id":"7f5fc28a-1485-4cca-bb9f-136d32a76cef","title":"Army Green-M","weight_unit":"kg","inventory_quantity":1000,"sku":"SYV005287_ARG_M","barcode":"","position":6,"option1":"Army Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/707d2c52a2e4a1c7f4523da5a936c611.jpeg","path":"707d2c52a2e4a1c7f4523da5a936c611.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"33.99","retail_price":"33.99","available":true,"url":"\/products\/casual-tank-top-set?variant=685327c4-2cfb-4cc9-962f-f1c15cc5bab7","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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.