${function() {
const variantData = data.variant || {"id":"4b86595f-c12f-433e-8b1f-1add2c7e7fb6","product_id":"056f31e9-13b0-4f33-85ed-a2ffe68839d7","title":"light blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"662305191486-light blue-S","barcode":"","position":11,"option1":"light blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dfe8e1a6dffe05a8553803e83613ef22.jpeg","path":"dfe8e1a6dffe05a8553803e83613ef22.jpeg","width":768,"height":1024,"alt":"Cotton and linen sleeveless button-down V-neck dress","aspect_ratio":0.75},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0.26","compare_at_price":"49","price":"37.99","retail_price":"49","available":true,"url":"\/products\/cotton-and-linen-sleeveless-button-down-v-neck-dress?variant=4b86595f-c12f-433e-8b1f-1add2c7e7fb6","available_quantity":999999999,"options":[{"name":"color","value":"light blue"},{"name":"size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.