${function() {
const variantData = data.variant || {"id":"658dc127-46b9-4063-9c66-d1df3df217a9","product_id":"3436c96f-4d7d-4e31-b4a6-62693a9871ba","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"132-240205-A10-WS0001B98S-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5dced32c7c2ebee742a3c951dc1c54f.jpeg","path":"e5dced32c7c2ebee742a3c951dc1c54f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/rabbit-art-print-casual-sweatshirt-19yl?variant=658dc127-46b9-4063-9c66-d1df3df217a9","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"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.