${function() {
const variantData = data.variant || {"id":"03272f3e-2b64-49ca-a24d-d04d81acf211","product_id":"f5fd250c-3bc4-4dd7-b141-a9d162436186","title":"Navy-S","weight_unit":"kg","inventory_quantity":975,"sku":"BL2304062488-Navy-S","barcode":"","position":7,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2523a1b06e7591001b1634f83e3a3e79.jpeg","path":"2523a1b06e7591001b1634f83e3a3e79.jpeg","width":1000,"height":1000,"alt":"A-Line Oversized V-neck Sleeveless Dress","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"0.8","compare_at_price":"50","price":"36.89","retail_price":"50","available":true,"url":"\/products\/a-line-oversized-v-neck-sleeveless-dress?variant=03272f3e-2b64-49ca-a24d-d04d81acf211","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"off_ratio":26,"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.