${function() {
const variantData = data.variant || {"id":"02091561-26df-45f7-833d-8c148085abf1","product_id":"ca7c3c64-0b61-4344-bced-6409063828f3","title":"WHITE-FREE SIZE","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"WHITE","option2":"FREE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62f523948911c7344f6a2d29a6efd456.jpeg","path":"62f523948911c7344f6a2d29a6efd456.jpeg","width":562,"height":750,"alt":"","aspect_ratio":0.7493333333333333},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/deep-v-neck-ruffled-see-through-cover-up-swimwear?variant=02091561-26df-45f7-833d-8c148085abf1","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Size","value":"FREE SIZE"}],"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.
${function(){
const variantData = data.variant || {"id":"02091561-26df-45f7-833d-8c148085abf1","product_id":"ca7c3c64-0b61-4344-bced-6409063828f3","title":"WHITE-FREE SIZE","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"WHITE","option2":"FREE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62f523948911c7344f6a2d29a6efd456.jpeg","path":"62f523948911c7344f6a2d29a6efd456.jpeg","width":562,"height":750,"alt":"","aspect_ratio":0.7493333333333333},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/deep-v-neck-ruffled-see-through-cover-up-swimwear?variant=02091561-26df-45f7-833d-8c148085abf1","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Size","value":"FREE SIZE"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}