${function() {
const variantData = data.variant || {"id":"b9699464-d659-4161-8f5b-f31ff103bc13","product_id":"1c1e330a-3354-46b8-a66c-4675e99b09cd","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS259437-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1dbd9fe102d51914c8019fd790664ddd.jpeg","path":"1dbd9fe102d51914c8019fd790664ddd.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"19.99","retail_price":"33.99","available":true,"url":"\/products\/womens-lahaina-strong-hawaii-tree-of-life-aug-8-print-v-neck-t-shirt?variant=b9699464-d659-4161-8f5b-f31ff103bc13","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":41,"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.