${function() {
const variantData = data.variant || {"id":"0a5074e9-d1c3-4fd0-96ce-4780ff373f88","product_id":"8da0eebb-d60d-4a49-a85c-c2aa91597220","title":"Red-S","weight_unit":"kg","inventory_quantity":998,"sku":"111-230511-09-DW0066BBFA-Color-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/32ea63896258da5e26ea8eac4181cf1c.jpeg","path":"32ea63896258da5e26ea8eac4181cf1c.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"32.99","price":"32.99","retail_price":"32.99","available":true,"url":"\/products\/womens-rainbow-artistic-dress?variant=0a5074e9-d1c3-4fd0-96ce-4780ff373f88","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":18};
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.