${function() {
const variantData = data.variant || {"id":"4d6eacfd-ddd0-4afb-af87-ab3500900c3e","product_id":"4555174a-b657-4738-9e8c-ecbd680cd4a6","title":"Apricot-M","weight_unit":"kg","inventory_quantity":974,"sku":"13437554-Apricot-M","barcode":"","position":1,"option1":"Apricot","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b35043163a8a594ac59b0f66a8da7fa.jpeg","path":"2b35043163a8a594ac59b0f66a8da7fa.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"31.2","price":"24.99","retail_price":"31.2","available":true,"url":"\/products\/men-s-hawaiian-mermaid-ocean-element-retro-print-casual-breathable-short-sleeve-shirt-13437554?variant=4d6eacfd-ddd0-4afb-af87-ab3500900c3e","available_quantity":974,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"M"}],"off_ratio":20,"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.