Post by devon93 » Tue Mar 10, 2015 8:52 pm

Hi,

I've had to jump on to this project that uses Opencart with no previous OC experience, so please bear with me.

We've had an issue when we log in to admin and click on Extensions > Shipping > Product based shipping.

When we try to add products nothing happens. I've checked the logs and we have the following errors:

Undefined index: status in /home/xxx/public_html/admin/view/template/shipping/productbased.tpl on line 322
Undefined index: name in /home/xxx/public_html/admin/view/template/shipping/productbased.tpl on line 325
Undefined index: model in /home/xxx/public_html/admin/view/template/shipping/productbased.tpl on line 325

Which is the following code:

Code: Select all

if ($product['status']) {
$enabled_products[$product_id] = $product['name'] . ' (' . $product['model'] . ')';
} else {
$disabled_products[$product_id] = $product['name'] . ' (' . $product['model'] . ')';
}
I'm using Opencart Version 1.5.4

Any direction is appreciated.

Many Thanks!

Newbie

Posts

Joined
Tue Mar 10, 2015 8:43 pm

Post by devon93 » Sat Mar 14, 2015 7:28 pm

So i'm guessing status, name and model have not been declared yet?

Anyone else had this?

Newbie

Posts

Joined
Tue Mar 10, 2015 8:43 pm
Who is online

Users browsing this forum: No registered users and 2 guests