${function() {
const variantData = data.variant || {"id":"40e26bb1-de0c-4c75-adf4-dfde596ba4d7","product_id":"c024b2d0-ff38-468a-b167-7466e95d1de9","title":"Light Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH273736-QKQ00S","barcode":"","position":1,"option1":"Light Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d7ffd8c480af9b87ad2991323144e35a.jpeg","path":"d7ffd8c480af9b87ad2991323144e35a.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.98","price":"24.99","retail_price":"48.98","available":true,"url":"\/products\/womens-winter-funny-cute-wonderland-clothing-fox-printed-hooded-sweatshirt?variant=40e26bb1-de0c-4c75-adf4-dfde596ba4d7","available_quantity":999999999,"options":[{"name":"Color","value":"Light Khaki"},{"name":"Size","value":"S"}],"off_ratio":49,"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.