${function() {
const variantData = data.variant || {"id":"26bbacc9-f55e-4eb7-ad46-3183298fea8c","product_id":"de5a7f49-4642-43ae-8da2-a469ce7ebbff","title":"Yellow-M","weight_unit":"kg","inventory_quantity":405,"sku":"BL230424171-Yellow-M","barcode":"","position":1,"option1":"Yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ad761a28d0233fd01f83bc5b3eef70d.jpeg","path":"5ad761a28d0233fd01f83bc5b3eef70d.jpeg","width":600,"height":750,"alt":"Chic Wave Edge Mini Dress","aspect_ratio":0.8},"wholesale_price":[{"price":28.31,"min_quantity":1}],"weight":"0.2","compare_at_price":"38","price":"28.31","retail_price":"38","available":true,"url":"\/products\/chic-wave-edge-mini-dress?variant=26bbacc9-f55e-4eb7-ad46-3183298fea8c","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"M"}],"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.