${function() {
const variantData = data.variant || {"id":"c6090f34-18bb-4983-8821-941f644e969f","product_id":"07bddc8f-0247-4432-8cd9-757028b5ebc2","title":"7","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"7","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":189,"min_quantity":1}],"weight":"0","compare_at_price":"299","price":"189","retail_price":"299","available":true,"url":"\/products\/ade-gray-lace-up-cap-toe-oxfords?variant=c6090f34-18bb-4983-8821-941f644e969f","available_quantity":999999999,"options":[{"name":"Size","value":"7"}],"off_ratio":37,"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":"c6090f34-18bb-4983-8821-941f644e969f","product_id":"07bddc8f-0247-4432-8cd9-757028b5ebc2","title":"7","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"7","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":189,"min_quantity":1}],"weight":"0","compare_at_price":"299","price":"189","retail_price":"299","available":true,"url":"\/products\/ade-gray-lace-up-cap-toe-oxfords?variant=c6090f34-18bb-4983-8821-941f644e969f","available_quantity":999999999,"options":[{"name":"Size","value":"7"}],"off_ratio":37,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}