${function() {
const variantData = data.variant || {"id":"e6d8eab9-4b4b-46fc-bbc0-a527fd0c32b1","product_id":"20cad0c9-7617-4a0b-8367-2a4050f61bb7","title":"Blue-S","weight_unit":"kg","inventory_quantity":995,"sku":"135-230911-12-MT00719GXB-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99894f28b274224773357e7fe9e2b889.jpeg","path":"99894f28b274224773357e7fe9e2b889.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\/there-is-only-one-ocean-and-everyone-should-cherish-it-hvoy?variant=e6d8eab9-4b4b-46fc-bbc0-a527fd0c32b1","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":45};
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.