${function() {
const variantData = data.variant || {"id":"e3b35e9f-8576-4236-abf5-f72b9fe83c07","product_id":"f1b94f94-e17d-4f7a-96b6-b5287b8de7af","title":"As shown-S","weight_unit":"kg","inventory_quantity":998,"sku":"148-240104-A22-MT0071K8FQ-As shown-S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b1ec6fd67c1a6375b847ab79e2eb793.jpeg","path":"5b1ec6fd67c1a6375b847ab79e2eb793.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/sun-god-totem-magic-rune-mural-print-design-t-shirt-h9r4?variant=e3b35e9f-8576-4236-abf5-f72b9fe83c07","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":14};
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.