${function() {
const variantData = data.variant || {"id":"73a4bef2-81b4-4c95-b21f-94f15bacef6d","product_id":"0a4d39d6-567d-4180-a60b-8cd2ef153ad7","title":"Navy-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102142-navy-s","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8c59458ddb815492bbc08c43312962a.jpeg","path":"d8c59458ddb815492bbc08c43312962a.jpeg","width":602,"height":804,"alt":"Elegant V-Neck Top+Pants Suits","aspect_ratio":0.7487562189054726},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"66.69","price":"39.99","retail_price":"66.69","available":true,"url":"\/products\/elegant-v-neck-toppants-suits?variant=73a4bef2-81b4-4c95-b21f-94f15bacef6d","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"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.