${function() {
const variantData = data.variant || {"id":"51dbc8b2-dbb6-4eb4-a61e-2f2b52b47964","product_id":"0bebebe8-cfec-454a-8726-53ef67ba302e","title":"As picture-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LUH0028601RTUS","barcode":"","position":1,"option1":"As picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f07b0baa34792ebb9b5522a47069041e.jpeg","path":"f07b0baa34792ebb9b5522a47069041e.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"19.99","retail_price":"33","available":true,"url":"\/products\/unisex-fantasy-mushroom-world-art-illustration-printed-casual-tank-top-2?variant=51dbc8b2-dbb6-4eb4-a61e-2f2b52b47964","available_quantity":999999999,"options":[{"name":"Color","value":"As picture"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
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.