${function() {
const variantData = data.variant || {"id":"c94fefde-d202-4264-a28a-a15d876ea7f6","product_id":"5b35f00d-0126-4ce0-87cb-34144110ff89","title":"Yellow","weight_unit":"kg","inventory_quantity":80,"sku":"","barcode":"","position":1,"option1":"Yellow","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"3.99","retail_price":"0","available":true,"url":"\/products\/pu-leather-case-for-airpods-wireless-earphones-pu-leather-cover-for-apple-airpods?variant=c94fefde-d202-4264-a28a-a15d876ea7f6","available_quantity":80,"options":[{"name":"Color","value":"Yellow"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"c94fefde-d202-4264-a28a-a15d876ea7f6","product_id":"5b35f00d-0126-4ce0-87cb-34144110ff89","title":"Yellow","weight_unit":"kg","inventory_quantity":80,"sku":"","barcode":"","position":1,"option1":"Yellow","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":3.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"3.99","retail_price":"0","available":true,"url":"\/products\/pu-leather-case-for-airpods-wireless-earphones-pu-leather-cover-for-apple-airpods?variant=c94fefde-d202-4264-a28a-a15d876ea7f6","available_quantity":80,"options":[{"name":"Color","value":"Yellow"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}