Post by jfer3 » Tue Apr 14, 2015 4:46 pm

hi all,
I am using Opencart 2.0.1.1.

When a customer processes an order all is fine.
However when I go to the back end to review the order, I see an error under the products tab.

When i go to:
admin > sales > orders > Click on the order to edit (Order has only gift voucher)

I get an error on the second tab : Products

Error message:

Notice: Undefined variable: order_products in:

/home/stage31/public_html/jeepapparel/admin/view/template/sale/order_form.tpl on line 240
Notice: Undefined variable: order_products in /home/stage31/public_html/jeepapparel/admin/view/template/sale/order_form.tpl on line 242
Warning: Invalid argument supplied for foreach() in /home/stage31/public_html/jeepapparel/admin/view/template/sale/order_form.tpl on line 242

I know this is not a product I am wondering why this is happening ?

thanks in advance for your help.

Web designer at http://www.3rddesign.com. Specializing in Joomla and creative marketing.


New member

Posts

Joined
Tue Mar 05, 2013 2:59 pm

Post by Elune » Tue Apr 14, 2015 6:29 pm

Without knowing more, there is no way to tell with what you submitted.
Are you using 3rd party extensions such as vQmods that modify the order edit/view system?
Did this just suddenly start up one day or did it happen after a modification?

Newbie

Posts

Joined
Thu Apr 09, 2015 6:30 pm

Post by jfer3 » Tue Apr 14, 2015 7:24 pm

Hi Elune,
thank you for the reply.

No nothing installed or edits done to the admin back end system.

There is vQmod installed.
There are modifications done to the template view files, but nothing on the order end.

The error only happens when ordering a Gift Certificate, all other orders are just fine.

Please let me know if you need any additional information..

Web designer at http://www.3rddesign.com. Specializing in Joomla and creative marketing.


New member

Posts

Joined
Tue Mar 05, 2013 2:59 pm

Post by jfer3 » Fri Apr 17, 2015 5:51 am

Hi All,
finally managed to fix the problem.

It looks like there was a bit of code missing from a file, not sure if this has been reported as a bug or not. But the OpenCart general instal 2.0.1.1 does have this bug.

If anyone is interested in a fix, I've posted up the solution on our documentation blog:

http://docs.3rddesign.com/admin-area-or ... t-vouchers

Web designer at http://www.3rddesign.com. Specializing in Joomla and creative marketing.


New member

Posts

Joined
Tue Mar 05, 2013 2:59 pm

Post by gilaraujo » Fri Apr 17, 2015 7:19 pm

I can replicate this.

Thank you for posting!

New member

Posts

Joined
Fri Mar 27, 2015 10:32 pm
Who is online

Users browsing this forum: No registered users and 48 guests