${function() {
const variantData = data.variant || {"id":"93ef1064-d9e9-4d05-a5f4-0e937b8b1d65","product_id":"ee4c668e-ede9-44e1-a5e7-9ff022d8a851","title":"S","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06e0d93a0290824de48cbac4e262c06f.jpg","path":"06e0d93a0290824de48cbac4e262c06f.jpg","width":800,"height":1068,"alt":"","aspect_ratio":0.7490636704119851},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"400","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/beautiful-country-vibe-floral-dress?variant=93ef1064-d9e9-4d05-a5f4-0e937b8b1d65","available_quantity":999999999,"options":[{"name":"Color","value":"S"}],"off_ratio":20,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"93ef1064-d9e9-4d05-a5f4-0e937b8b1d65","product_id":"ee4c668e-ede9-44e1-a5e7-9ff022d8a851","title":"S","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/06e0d93a0290824de48cbac4e262c06f.jpg","path":"06e0d93a0290824de48cbac4e262c06f.jpg","width":800,"height":1068,"alt":"","aspect_ratio":0.7490636704119851},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"400","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/beautiful-country-vibe-floral-dress?variant=93ef1064-d9e9-4d05-a5f4-0e937b8b1d65","available_quantity":999999999,"options":[{"name":"Color","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}