${function() {
const variantData = data.variant || {"id":"c1e9ef58-9acb-4d79-9b5d-fc7d7e735f68","product_id":"16683dca-b07f-461f-b1ba-da0ea79c8ab6","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Green-S-A00420880","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0cdbea238dfb3dcd2e15af0215860f78.jpeg","path":"0cdbea238dfb3dcd2e15af0215860f78.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"24.99","retail_price":"41.99","available":true,"url":"\/products\/halloween-witch-print-round-neck-sweatshirt-3?variant=c1e9ef58-9acb-4d79-9b5d-fc7d7e735f68","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":40,"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.
${function(){
const variantData = data.variant || {"id":"c1e9ef58-9acb-4d79-9b5d-fc7d7e735f68","product_id":"16683dca-b07f-461f-b1ba-da0ea79c8ab6","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Green-S-A00420880","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0cdbea238dfb3dcd2e15af0215860f78.jpeg","path":"0cdbea238dfb3dcd2e15af0215860f78.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"24.99","retail_price":"41.99","available":true,"url":"\/products\/halloween-witch-print-round-neck-sweatshirt-3?variant=c1e9ef58-9acb-4d79-9b5d-fc7d7e735f68","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
`
}()}