${function() {
const variantData = data.variant || {"id":"95a7feeb-3c2c-4faa-a5dc-872a94f94a7c","product_id":"40b201d3-b37c-4189-8494-933095161dbc","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693025841981","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/797c7d5e4a179405391c94c4b89f5c66.jpeg","path":"797c7d5e4a179405391c94c4b89f5c66.jpeg","width":668,"height":890,"alt":"","aspect_ratio":0.750561797752809},"wholesale_price":[{"price":23.44,"min_quantity":1}],"weight":"0","compare_at_price":"23.44","price":"23.44","retail_price":"23.44","available":true,"url":"\/products\/woman-single-breasted-cotton-linen-irregular-blouses-shirts-8491?variant=95a7feeb-3c2c-4faa-a5dc-872a94f94a7c","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"95a7feeb-3c2c-4faa-a5dc-872a94f94a7c","product_id":"40b201d3-b37c-4189-8494-933095161dbc","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693025841981","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/797c7d5e4a179405391c94c4b89f5c66.jpeg","path":"797c7d5e4a179405391c94c4b89f5c66.jpeg","width":668,"height":890,"alt":"","aspect_ratio":0.750561797752809},"wholesale_price":[{"price":23.44,"min_quantity":1}],"weight":"0","compare_at_price":"23.44","price":"23.44","retail_price":"23.44","available":true,"url":"\/products\/woman-single-breasted-cotton-linen-irregular-blouses-shirts-8491?variant=95a7feeb-3c2c-4faa-a5dc-872a94f94a7c","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"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}
`
}()}