${function() {
const variantData = data.variant || {"id":"a39d3f77-e41b-41e1-ba89-0b11fdf98e47","product_id":"c5e799fc-5ec7-482d-ba8c-a22b75427bbb","title":"Apricot-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH280245-APR00S","barcode":"","position":1,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7d353f9e1644f385775f36eb5d78e514.jpeg","path":"7d353f9e1644f385775f36eb5d78e514.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-casual-cute-dog-print-sweatshirt-qf29?variant=a39d3f77-e41b-41e1-ba89-0b11fdf98e47","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"off_ratio":41,"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.