${function() {
const variantData = data.variant || {"id":"bbd7b750-85d0-4e9e-9191-e43a1e512f33","product_id":"1928baa4-0a83-405f-a2c0-d7f3fb65068e","title":"navy-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21021902-navy-s","barcode":"","position":7,"option1":"navy","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0857595023c6c2984f8ae5c587d1598e.jpg","path":"0857595023c6c2984f8ae5c587d1598e.jpg","width":640,"height":800,"alt":"Elegant Vintage Lapel collar Medium Dress","aspect_ratio":0.8},"wholesale_price":[{"price":39.53,"min_quantity":1}],"weight":"0","compare_at_price":"69.06","price":"39.53","retail_price":"69.06","available":true,"url":"\/products\/elegant-vintage-lapel-collar-medium-dress-nsvc-green?variant=bbd7b750-85d0-4e9e-9191-e43a1e512f33","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"s"}],"off_ratio":43,"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.