${function() {
const variantData = data.variant || {"id":"78837c9a-ccbf-402b-928f-8fda27981597","product_id":"934aacde-5730-4c1c-94ae-8e2cefa2dd09","title":"Blue-L","weight_unit":"kg","inventory_quantity":1000,"sku":"SYV005560_BL_L","barcode":"","position":13,"option1":"Blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1007728cddb71250c46cb86ccaa0c05a.jpeg","path":"1007728cddb71250c46cb86ccaa0c05a.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-soft-t-shirt-set?variant=78837c9a-ccbf-402b-928f-8fda27981597","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":20};
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.