${function() {
const variantData = data.variant || {"id":"481fbdc3-f07d-409c-acf6-5d8d2f7511a3","product_id":"351e8488-c746-423b-9d01-0fbb3dc1f2ad","title":"Blue-M","weight_unit":"kg","inventory_quantity":1000,"sku":"SH2404178660-Blue-M","barcode":"","position":1,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/710113d71413968a79ac4c6181081adf.png","path":"710113d71413968a79ac4c6181081adf.png","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.95","price":"52.99","retail_price":"59.95","available":true,"url":"\/products\/mens-v-neck-luxury-independence-day-color-block-textured-print-shorts-set-00102ed6ff0-1725-45db-8e20-0af788079fcd?variant=481fbdc3-f07d-409c-acf6-5d8d2f7511a3","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"M"}],"off_ratio":12,"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.