${function() {
const variantData = data.variant || {"id":"f2282d12-5d14-4ca7-b4d5-f377e8ffb325","product_id":"6732121f-ed1d-45b9-8cf4-d60fb9f4973b","title":"white-S","weight_unit":"kg","inventory_quantity":993,"sku":"WL2023A9121F4-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2ea7436ae999bc2b0e5d70ea2f6861f5.jpeg","path":"2ea7436ae999bc2b0e5d70ea2f6861f5.jpeg","width":900,"height":1200,"alt":"Cool Moms Club Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"56","price":"35.99","retail_price":"56","available":true,"url":"\/products\/cool-moms-club-sweatshirt-m3c2?variant=f2282d12-5d14-4ca7-b4d5-f377e8ffb325","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.