${function() {
const variantData = data.variant || {"id":"8cd896e6-eac6-46ea-a2d8-1a972b840c95","product_id":"053e4ed9-a724-42cc-841a-728eb1589e4e","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BL2307033748-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/574b7099bd7a2821c3916f5b22120d81.jpeg","path":"574b7099bd7a2821c3916f5b22120d81.jpeg","width":1193,"height":1193,"alt":"Patchwork Prints Strapless Maxi Dress","aspect_ratio":1},"wholesale_price":[{"price":39.98,"min_quantity":1}],"weight":"0.35","compare_at_price":"65","price":"39.98","retail_price":"65","available":true,"url":"\/products\/patchwork-prints-strapless-maxi-dress?variant=8cd896e6-eac6-46ea-a2d8-1a972b840c95","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":38,"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.