${function() {
const variantData = data.variant || {"id":"fc618a65-912f-45d4-9706-c0ecd72c1d23","product_id":"e68bd50c-909d-46c9-9642-18ace23e5550","title":"3-S","weight_unit":"kg","inventory_quantity":1000,"sku":"3 S-46153428","barcode":"","position":17,"option1":"3","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/24119c8a1da5508ac7b9b9c50c976b7c.jpeg","path":"24119c8a1da5508ac7b9b9c50c976b7c.jpeg","width":782,"height":968,"alt":"","aspect_ratio":0.8078512396694215},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35","retail_price":"0","available":true,"url":"\/products\/fashion-print-casual-floral-high-waisted-loose-jeans-208565413710?variant=fc618a65-912f-45d4-9706-c0ecd72c1d23","available_quantity":999999999,"options":[{"name":"Color","value":"3"},{"name":"Size","value":"S"}],"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":"fc618a65-912f-45d4-9706-c0ecd72c1d23","product_id":"e68bd50c-909d-46c9-9642-18ace23e5550","title":"3-S","weight_unit":"kg","inventory_quantity":1000,"sku":"3 S-46153428","barcode":"","position":17,"option1":"3","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/24119c8a1da5508ac7b9b9c50c976b7c.jpeg","path":"24119c8a1da5508ac7b9b9c50c976b7c.jpeg","width":782,"height":968,"alt":"","aspect_ratio":0.8078512396694215},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35","retail_price":"0","available":true,"url":"\/products\/fashion-print-casual-floral-high-waisted-loose-jeans-208565413710?variant=fc618a65-912f-45d4-9706-c0ecd72c1d23","available_quantity":999999999,"options":[{"name":"Color","value":"3"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}