${function() {
const variantData = data.variant || {"id":"28061ccd-4f33-47aa-82f0-2be7610df16c","product_id":"26d06a69-b77d-409c-94e9-22a2eada745a","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?variant=28061ccd-4f33-47aa-82f0-2be7610df16c","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"s"}],"off_ratio":43,"flashsale_info":[],"sales":1};
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.