${function() {
const variantData = data.variant || {"id":"865789b6-f6d4-4dff-89b1-73095e8ace7c","product_id":"87efa505-6a57-487c-beb9-a946bf9f4458","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"CS23112301-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ddc389c527e9e77c6598f47f3abfb9f8.jpeg","path":"ddc389c527e9e77c6598f47f3abfb9f8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.26,"min_quantity":1}],"weight":"0","compare_at_price":"62.8","price":"31.26","retail_price":"62.8","available":true,"url":"\/products\/floral-print-pocket-mid-length-tunic-dress?variant=865789b6-f6d4-4dff-89b1-73095e8ace7c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"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":"865789b6-f6d4-4dff-89b1-73095e8ace7c","product_id":"87efa505-6a57-487c-beb9-a946bf9f4458","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"CS23112301-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ddc389c527e9e77c6598f47f3abfb9f8.jpeg","path":"ddc389c527e9e77c6598f47f3abfb9f8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.26,"min_quantity":1}],"weight":"0","compare_at_price":"62.8","price":"31.26","retail_price":"62.8","available":true,"url":"\/products\/floral-print-pocket-mid-length-tunic-dress?variant=865789b6-f6d4-4dff-89b1-73095e8ace7c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}