Post by appaji » Mon Sep 21, 2015 2:43 pm


I installed version 2 and imported my Customers and Orders data from old version (1.5x) to it. Now when I checked to see the order of a particular customer I'm getting error in 3 places..

Notice: Undefined index: custom_field in /home//admin/model/sale/order.php on line 96Notice: Undefined index: payment_custom_field in /home//admin/model/sale/order.php on line 112Notice: Undefined index: shipping_custom_field in /home//admin/model/sale/order.php on line 130

Now I'm unable to modify / update order data and can't generate invoice no. from admin login due to this.

Can anyone please help me out on this?

Thanks in advance.. Ambarisha



Thu Jan 17, 2013 5:34 pm

Post by IP_CAM » Tue Sep 22, 2015 12:49 am

Just information, no solution! ;)

custom_field - payment_custom_field - shipping_custom_field
Those VARIABLES are NOT part of a OC v.1.5.6.x DB
They are now part of the OC v.2 DB: ... /order.php ... /order.php

Some infos on one of the Variables involved: ... 38#p520264

Check here for more on this: ... "+opencart


Please don't send me OC Forum Personal Messages, just contact:
OC LIGHT Test Site:
OC V-PRO Test Site:
My Github OC Site:
2'450+ FREE OC Extensions from the World's largest Github OC Repository Archive Site.

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 9 guests