${function() {
const variantData = data.variant || {"id":"b0bdaa63-396e-4172-8264-2c702a55baef","product_id":"51c5ab87-3c1a-42d1-82df-8b20adac86e4","title":"navy-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211171820-navy-one size","barcode":"","position":3,"option1":"navy","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/69ef864deb5e990896f24f888429bc32.jpeg","path":"69ef864deb5e990896f24f888429bc32.jpeg","width":1000,"height":1000,"alt":"Elegant coat long solid color straight coat","aspect_ratio":1},"wholesale_price":[{"price":51.73,"min_quantity":1}],"weight":"0.4","compare_at_price":"86.22","price":"51.73","retail_price":"86.22","available":true,"url":"\/products\/elegant-coat-long-solid-color-straight-coat?variant=b0bdaa63-396e-4172-8264-2c702a55baef","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"one size"}],"off_ratio":40,"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.