Error with free shipping discount

Phoca Cart - complex e-commerce extension
PixelZombie
Phoca Member
Phoca Member
Posts: 18
Joined: 05 Jun 2018, 13:10

Error with free shipping discount

Post by PixelZombie »

Hey!

I've noticed and fixed an error when I used a free shipping discount

Code: Select all

Notice: Undefined index: image in /var/www/web274/html/viiarc/components/com_phocacart/views/checkout/tmpl/default_shipping.php on line 84
and fixed line 84

Code: Select all

if ($this->t['shippingmethod']['image'] != '') {
with

Code: Select all

if (isset($this->t['shippingmethod']['image']) && $this->t['shippingmethod']['image'] != '') {
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error with free shipping discount

Post by Jan »

Hi, great, thank you very much, I will fix it in next version.
Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error with free shipping discount

Post by Jan »

Hi, should be OK in version 3.1.1
https://www.phoca.cz/news/984-phoca-car ... 1-released

Jan
If you find Phoca extensions useful, please support the project
Post Reply