${function() {
const variantData = data.variant || {"id":"4eeb2eb7-7f46-49e9-83db-8ea161690512","product_id":"d6b43e81-f66e-4fbf-a4f5-44dbb8f2dbfa","title":"green-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011103-green-s","barcode":"","position":7,"option1":"green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b227c18c2b0b8391a173d73f759c9a41.jpg","path":"b227c18c2b0b8391a173d73f759c9a41.jpg","width":1000,"height":1000,"alt":"Women's Fashion V Neck Belt High Waist Short Sleeves Cotton- Linen Dress","aspect_ratio":1},"wholesale_price":[{"price":38.41,"min_quantity":1}],"weight":"0","compare_at_price":"66","price":"38.41","retail_price":"66","available":true,"url":"\/products\/womens-fashion-v-neck-belt-high-waist-short-sleeves-cotton-linen-dress-9nv1?variant=4eeb2eb7-7f46-49e9-83db-8ea161690512","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"s"}],"off_ratio":42,"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.