${function() {
const variantData = data.variant || {"id":"63d5e44c-426c-402f-a401-fc4259924e4f","product_id":"88c82355-3e03-4ee2-a1bc-5410148eb780","title":"Color-S","weight_unit":"kg","inventory_quantity":999,"sku":"111-230526-10-DW0073XRTV-Color-S","barcode":"","position":1,"option1":"Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f53a59d02fbe427518f7718214b7237.jpeg","path":"6f53a59d02fbe427518f7718214b7237.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"32.99","retail_price":"32.99","available":true,"url":"\/products\/womens-rainbow-plaid-art-design-maxi-dress-2?variant=63d5e44c-426c-402f-a401-fc4259924e4f","available_quantity":999999999,"options":[{"name":"Color","value":"Color"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.