${function() {
const variantData = data.variant || {"id":"48eada54-82b9-4b1b-ab4e-c140e4e85d76","product_id":"c6af8598-8a76-49ef-894a-3880639f5311","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131-240222-A21-WT0003FYGS-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ae0f9c6e03c8fa8905e9570c1abb7cc.png","path":"3ae0f9c6e03c8fa8905e9570c1abb7cc.png","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/whisper-words-of-wisdom-let-it-be-art-casual-t-shirt?variant=48eada54-82b9-4b1b-ab4e-c140e4e85d76","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.