${function() {
const variantData = data.variant || {"id":"70b9a9e8-9e2d-471c-9ec4-415e17e93f30","product_id":"5b4fdddf-9bdc-4705-9705-f6c3cc047d0e","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH273442-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c61d1217a05504a6fc1e250f39c85d1.jpeg","path":"6c61d1217a05504a6fc1e250f39c85d1.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.26","price":"25.99","retail_price":"47.26","available":true,"url":"\/products\/womens-winter-cat-print-casual-sweatshirt-4?variant=70b9a9e8-9e2d-471c-9ec4-415e17e93f30","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":45,"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.