${function() {
const variantData = data.variant || {"id":"81f27717-f86c-4ac7-93d5-05554c6de646","product_id":"54f6ce47-c503-4dd0-a058-bd71bd2bc4e3","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS268446-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fc0763d764415c0cc50acf9922d0eec6.jpeg","path":"fc0763d764415c0cc50acf9922d0eec6.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"25.99","retail_price":"37.99","available":true,"url":"\/products\/womens-cute-dogs-print-sweatshirt-2?variant=81f27717-f86c-4ac7-93d5-05554c6de646","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":32,"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.