Jump to content

Can't select shipping company


malcek

Recommended Posts

from version 1.6.1.18 and above we have problem , that on ONE page checkout (prestashop default) we can't select shipping company. If we change to 5 step checkout you can select, but there is always free shipping.

I have try everything, shipping option are correctly set up, but it just won't work. 

Does anybody have same expirience ad how did you solve this problem

thanks

 

martin

Link to comment
Share on other sites

I look into erros that was shown on cart when selecting and here are:

Warning: Invalid argument supplied for foreach() in /home/zaodra91/public_html/override/classes/Cart.php on line 18
foreach ($delivery_option as $id_address => $key) {
                if (!isset($delivery_option_list[$id_address][$key])) {
                    $validated = false;
                    break;
                }
Warning: Invalid argument supplied for foreach() in /home/zaodra91/public_html/classes/Cart.php on line 2654

foreach ($delivery_option as $id_address => $key) {
            if (!isset($delivery_option_list[$id_address]) || !isset($delivery_option_list[$id_address][$key])) {
                continue;
            }

please if anybody have advice on how to correct this problem.

 

martin

 

selecting-delivery-error.PNG

Link to comment
Share on other sites

5 hours ago, malcek said:

thak you for advice,

I have enable feature DISABLE all overrides and shopping card is working well. Now I just have to find which module is "bad boy" 😜

thanks again

Martin

the reason I recommended the rename and not disable overrides is other overrides might be needed. :)  you can download your modules folder and search for code in the offending override.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...