${function() {
const variantData = data.variant || {"id":"362a6a31-2980-4526-91d4-1ac748c9b8dc","product_id":"2e93c405-6cab-43f0-980e-01f2225c7e77","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"141-231218-14-WS0001NH3Z-Green-S","barcode":"","position":9,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/caf3ad30ec6c44cf7df4a6dc4313f5c5.jpeg","path":"caf3ad30ec6c44cf7df4a6dc4313f5c5.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/lucky-shamrock-green-st-patricks-day-cocktail-print-casual-sweatshirt?variant=362a6a31-2980-4526-91d4-1ac748c9b8dc","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"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.