${function() {
const variantData = data.variant || {"id":"da2a98fa-2bac-47be-9f96-bd17195b8215","product_id":"495f3a4f-d843-4854-ab6a-0510314be029","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-231007-A23-WS0001J9Y7-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/539a52933f3149e54f7d1c601988f76c.jpeg","path":"539a52933f3149e54f7d1c601988f76c.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/cute-puppy-with-exaggerated-expression-ink-and-watercolor-animal-art-casual-sweatshirt?variant=da2a98fa-2bac-47be-9f96-bd17195b8215","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.