${function() {
const variantData = data.variant || {"id":"98d2a205-27ae-4b2b-a7a6-b1b584f88439","product_id":"ca4561cc-88bf-4de4-9372-4025439c77dc","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-231018-A10-MT0071P7DX-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e6d70124e09b3da378dc8f1c56b4180.jpeg","path":"4e6d70124e09b3da378dc8f1c56b4180.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/cool-wolf-art-design-t-shirt?variant=98d2a205-27ae-4b2b-a7a6-b1b584f88439","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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.