${function() {
const variantData = data.variant || {"id":"64525e15-4983-41f4-b17c-6dd97c4b85a3","product_id":"4fceb951-728c-4bf7-b68c-692ed52e35de","title":"Black-2pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"Sun-Glasses-Black-2pcs","barcode":"","position":1,"option1":"Black","option2":"2pcs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/08e0dc044952d50dadaa0f0e0b4b869c.jpeg","path":"08e0dc044952d50dadaa0f0e0b4b869c.jpeg","width":790,"height":939,"alt":"","aspect_ratio":0.8413205537806177},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/luxury-designer-mask-sunglasses-women-fashion-cat-eye-sun-glasses-for-female-new-in-one-pieces-sunglass-men?variant=64525e15-4983-41f4-b17c-6dd97c4b85a3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Quantity","value":"2pcs"}],"off_ratio":0,"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.