${function() {
const variantData = data.variant || {"id":"14bb65f3-9ab5-46c5-ad77-10cd3aef5570","product_id":"4478ae14-ca55-4a04-b0cb-1c71b6cadf9e","title":"Brown-US 8","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Brown","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\/top-layer-cowhide-business-casual-brogue-carved-leather-shoes?variant=14bb65f3-9ab5-46c5-ad77-10cd3aef5570","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"US 8"}],"off_ratio":6,"flashsale_info":[],"sales":5};
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":"14bb65f3-9ab5-46c5-ad77-10cd3aef5570","product_id":"4478ae14-ca55-4a04-b0cb-1c71b6cadf9e","title":"Brown-US 8","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Brown","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\/top-layer-cowhide-business-casual-brogue-carved-leather-shoes?variant=14bb65f3-9ab5-46c5-ad77-10cd3aef5570","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"US 8"}],"off_ratio":6,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}