${function() {
const variantData = data.variant || {"id":"ea7e3e70-63d4-4e6f-a5cf-19facb31f547","product_id":"13bab661-000d-4068-91a2-8954e7cfaf57","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS265474-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ecadbe89eac58d267de545d12ee822a2.jpeg","path":"ecadbe89eac58d267de545d12ee822a2.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"25.99","retail_price":"34.99","available":true,"url":"\/products\/womens-in-my-dog-mom-era-print-sweatshirt?variant=ea7e3e70-63d4-4e6f-a5cf-19facb31f547","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":26,"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.