If Checkout custom fields are not displayed in order Invoice

From AVACTIS : Ecommerce Shopping Cart Software Wiki
Jump to: navigation, search

If the custom fields created for the Billing and Shipping checkout sections are not displayed in the order invoice replace the following line:

$custom_tags = modApiFunc("OrderInfo", "getShippingCustomTags");


with this one:

$custom_tags = modApiFunc("OrderInvoice", "getShippingCustomTags");


and the following line:

$custom_tags = modApiFunc("OrderInfo", "getBillingCustomTags");


with this one:

$custom_tags = modApiFunc("OrderInvoice", "getBillingCustomTags");


in the avactis-themes\YOUR_THEME\account\order-invoice\default\container.tpl.html file.