${function() {
const variantData = data.variant || {"id":"2257b2e1-41bd-49c2-a881-4e845d0db7d4","product_id":"934aacde-5730-4c1c-94ae-8e2cefa2dd09","title":"Black-L","weight_unit":"kg","inventory_quantity":997,"sku":"SYV005560_B_L","barcode":"","position":7,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/97f002121c146cc220cbe6385d3a20f4.jpeg","path":"97f002121c146cc220cbe6385d3a20f4.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=2257b2e1-41bd-49c2-a881-4e845d0db7d4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":17};
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.