${function() {
const variantData = data.variant || {"id":"7a13313d-2d6a-4639-9a55-d3bff32f82fc","product_id":"1928baa4-0a83-405f-a2c0-d7f3fb65068e","title":"yellow-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21021902-yellow-s","barcode":"","position":1,"option1":"yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/581b2c4e2d3a81154396522919928c63.jpg","path":"581b2c4e2d3a81154396522919928c63.jpg","width":800,"height":1000,"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=7a13313d-2d6a-4639-9a55-d3bff32f82fc","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"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.