${function() {
const variantData = data.variant || {"id":"16e8d2ea-21d7-4600-8f85-5e00081eebdc","product_id":"723a848f-6462-4e5d-ae76-630f0caca393","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"135-230919-10-MT007184YM-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96886e86af439f2948576d6b4a6ac2d6.jpeg","path":"96886e86af439f2948576d6b4a6ac2d6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/unisex-humorous-dog-print-crew-neck-short-sleeve-t-shirt-4wtw?variant=16e8d2ea-21d7-4600-8f85-5e00081eebdc","available_quantity":999999999,"options":[{"name":"color","value":"White"},{"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.