${function() {
const variantData = data.variant || {"id":"11cf1d13-f2a9-4ca4-8ab3-9039b511bc8f","product_id":"934aacde-5730-4c1c-94ae-8e2cefa2dd09","title":"Light Grey-L","weight_unit":"kg","inventory_quantity":997,"sku":"SYV005560_LGR_L","barcode":"","position":1,"option1":"Light Grey","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e280b3a7c8989b9c2acdd9aa7349044f.jpeg","path":"e280b3a7c8989b9c2acdd9aa7349044f.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=11cf1d13-f2a9-4ca4-8ab3-9039b511bc8f","available_quantity":999999999,"options":[{"name":"Color","value":"Light Grey"},{"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.