${function() {
const variantData = data.variant || {"id":"e06aa988-c76a-43de-9ab1-14ac2f40e8cf","product_id":"a53de190-d82d-4eb2-b10d-5ae03f4e70ce","title":"Black-US 8","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"US 8","option3":"","note":"","image":null,"wholesale_price":[{"price":150,"min_quantity":1}],"weight":"2","compare_at_price":"160","price":"150","retail_price":"160","available":true,"url":"\/products\/mens-business-formal-breathable-british-leather-shoes?variant=e06aa988-c76a-43de-9ab1-14ac2f40e8cf","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"US 8"}],"off_ratio":6,"flashsale_info":[],"sales":10};
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":"e06aa988-c76a-43de-9ab1-14ac2f40e8cf","product_id":"a53de190-d82d-4eb2-b10d-5ae03f4e70ce","title":"Black-US 8","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"US 8","option3":"","note":"","image":null,"wholesale_price":[{"price":150,"min_quantity":1}],"weight":"2","compare_at_price":"160","price":"150","retail_price":"160","available":true,"url":"\/products\/mens-business-formal-breathable-british-leather-shoes?variant=e06aa988-c76a-43de-9ab1-14ac2f40e8cf","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"US 8"}],"off_ratio":6,"flashsale_info":[],"sales":10};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}