${function() {
const variantData = data.variant || {"id":"fdae7c4b-09ea-44e8-be11-cdcdf9e40fa6","product_id":"8508122b-4665-4249-843f-7b2f110f63e4","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011309-blue-s","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/131c28486354181373159ecdc6e25e07.webp","path":"131c28486354181373159ecdc6e25e07.webp","width":900,"height":1200,"alt":"Casual A-Line Midi Dress","aspect_ratio":0.75},"wholesale_price":[{"price":33.18,"min_quantity":1}],"weight":"0.2","compare_at_price":"53.05","price":"33.18","retail_price":"53.05","available":true,"url":"\/products\/casual-a-line-midi-dress?variant=fdae7c4b-09ea-44e8-be11-cdcdf9e40fa6","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":37,"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.