${function() {
const variantData = data.variant || {"id":"74c646ff-c3d9-4351-95f9-b94541d99777","product_id":"9370e119-291b-463b-80d2-3123aba165aa","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS261682-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d822f81ee0e70ddc70c15109b7c547d.jpeg","path":"2d822f81ee0e70ddc70c15109b7c547d.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"46.99","price":"26.99","retail_price":"46.99","available":true,"url":"\/products\/animal-print-womens-casual-print-sweatshirt?variant=74c646ff-c3d9-4351-95f9-b94541d99777","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":2};
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.