${function() {
const variantData = data.variant || {"id":"99f182ca-315f-479d-856c-72e5715cd5e9","product_id":"1818a21c-5792-4be6-82ed-a3d6d488dc83","title":"Blue-M","weight_unit":"kg","inventory_quantity":976,"sku":"SH6EBA11A35C","barcode":"","position":1,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b34f4d779d003b2ea467555bf709ce6.jpeg","path":"4b34f4d779d003b2ea467555bf709ce6.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.63,"min_quantity":1}],"weight":"0","compare_at_price":"27.63","price":"27.63","retail_price":"27.63","available":true,"url":"\/products\/mens-statement-skull-floral-print-short-sleeve-hawaiian-shirt?variant=99f182ca-315f-479d-856c-72e5715cd5e9","available_quantity":976,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"M"}],"off_ratio":0,"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.