Post by Xciso » Sat Jan 28, 2012 1:19 am

Note sse the use of it... How could he miss it.
I thought everyone need this.

Active Member

Posts

Joined
Fri Jul 15, 2011 5:20 am

Post by takahashi1973 » Mon Jan 30, 2012 11:07 pm

Not all agree; you can create a new customer --> and then loggin as that customer which seems to be enough for some.
But I agree and we are now busy checking what is needed to make it work.
A lot of work comes with the tabs as that is old opencart coding and needs to be done completely new.
We still cannot fetch products from cats either.
I keep you all up to date in this thread.

Active Member

Posts

Joined
Thu Oct 13, 2011 11:41 pm

Post by lloydmedley » Mon Feb 06, 2012 7:07 pm

I was getting this error with v1 so just updated to v2 hoping it would help but no difference:
2012-02-06 10:55:50 - PHP Notice: Undefined variable: order_status_id in \wwwroot3\admin\view\template\sale\order_form_new.tpl on line 104

2012-02-06 10:55:50 - PHP Notice: Undefined variable: country_id in \wwwroot3\admin\view\template\sale\order_form_new.tpl on line 282
There's 11 order statuses so the error on line 104 comes up 11 times and there's 240'odd countries so the error on line 282 comes up in the log that many times. Nothings been changed or anything, has anyone else had this error? Also, it works, just is making the error log look very messy.

Any ideas guys?

(OC v1.4.9.4)

If I forgot to mention: it's OpenCart Vv1.5.6


New member

Posts

Joined
Tue Mar 29, 2011 11:18 pm

Post by takahashi1973 » Wed Feb 15, 2012 9:55 pm

Be Optimized has created a module for it and ... a lot more even :)

http://www.opencart.com/index.php?route ... order=DESC

Active Member

Posts

Joined
Thu Oct 13, 2011 11:41 pm

Post by lloydmedley » Mon Apr 30, 2012 6:21 pm

lloydmedley wrote:I was getting this error with v1 so just updated to v2 hoping it would help but no difference:
2012-02-06 10:55:50 - PHP Notice: Undefined variable: order_status_id in \wwwroot3\admin\view\template\sale\order_form_new.tpl on line 104

2012-02-06 10:55:50 - PHP Notice: Undefined variable: country_id in \wwwroot3\admin\view\template\sale\order_form_new.tpl on line 282
There's 11 order statuses so the error on line 104 comes up 11 times and there's 240'odd countries so the error on line 282 comes up in the log that many times. Nothings been changed or anything, has anyone else had this error? Also, it works, just is making the error log look very messy.

Any ideas guys?

(OC v1.4.9.4)
FIXED:

Open \admin\view\template\sale\order_form_new.tpl on line 104
find:
<?php if ($order_statuses['order_status_id'] == $order_status_id) { ?>
change to:
<?php if ($order_statuses['order_status_id'] == '$order_status_id') { ?>

Open \admin\view\template\sale\order_form_new.tpl on line 282
find:
<?php if ($country['country_id'] == $payment_country_id) { ?>
change to:
<?php if ($country['country_id'] == '$payment_country_id') { ?>

Took me hours to figure out it was two quotation marks missing! No more errors on our installation now yay.

If I forgot to mention: it's OpenCart Vv1.5.6


New member

Posts

Joined
Tue Mar 29, 2011 11:18 pm
Who is online

Users browsing this forum: No registered users and 4 guests