${function() {
const variantData = data.variant || {"id":"31bcdd9c-eb82-42ff-ac23-710a841ee773","product_id":"29d05014-6fab-488d-a25f-e03ed06cb5d9","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS58892-RED00S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5aacffbc081cfbf4263ee0caf4ea2ab1.jpeg","path":"5aacffbc081cfbf4263ee0caf4ea2ab1.jpeg","width":800,"height":1066,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"24.99","retail_price":"34.99","available":true,"url":"\/products\/womens-heart-paw-print-casual-sweatshirt?variant=31bcdd9c-eb82-42ff-ac23-710a841ee773","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":29,"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.