${function() {
const variantData = data.variant || {"id":"d4d6aed6-6abb-40ba-98dc-d68a57f929f2","product_id":"fbd78134-2e12-4044-8471-51e2f0328461","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230427400-Green-S","barcode":"","position":13,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bbf64987af31e073f6fc1f17f5a72dce.jpeg","path":"bbf64987af31e073f6fc1f17f5a72dce.jpeg","width":599,"height":798,"alt":"Solid Color Stand-up Collar Sundress","aspect_ratio":0.7506265664160401},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"29.99","retail_price":"45","available":true,"url":"\/products\/solid-color-stand-up-collar-sundress?variant=d4d6aed6-6abb-40ba-98dc-d68a57f929f2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":33,"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.