${function() {
const variantData = data.variant || {"id":"ce1d8d7b-8f08-49b1-863f-32ad7d99c176","product_id":"f2833417-2d21-4e84-94d6-331c5b413b53","title":"Orange-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH274988-ORA00S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/576a3679aac640e7861b97a314d98dfe.jpeg","path":"576a3679aac640e7861b97a314d98dfe.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.73","price":"24.99","retail_price":"48.73","available":true,"url":"\/products\/womens-cat-print-sweatshirt-6?variant=ce1d8d7b-8f08-49b1-863f-32ad7d99c176","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":49,"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.