malcek Posted November 29, 2018 Share Posted November 29, 2018 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 More sharing options...
malcek Posted November 29, 2018 Author Share Posted November 29, 2018 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 Link to comment Share on other sites More sharing options...
El Patron Posted November 29, 2018 Share Posted November 29, 2018 The override should (by PrestaShop) tell you module that override belongs to. you may want to uninstall that module then contact the developer of module. Link to comment Share on other sites More sharing options...
malcek Posted November 29, 2018 Author Share Posted November 29, 2018 but there is no module mentioned in the error. I have disable all the modules related to onepage checkout, only Prestashop default thanks martin Link to comment Share on other sites More sharing options...
El Patron Posted November 29, 2018 Share Posted November 29, 2018 Hi Martin, maybe this is left over? But it's associated with some module....you can rename it and delete cache/class_index.php that will eliminate the override and retest Link to comment Share on other sites More sharing options...
malcek Posted November 30, 2018 Author Share Posted November 30, 2018 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 1 Link to comment Share on other sites More sharing options...
El Patron Posted November 30, 2018 Share Posted November 30, 2018 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 More sharing options...
malcek Posted December 3, 2018 Author Share Posted December 3, 2018 Hi El Patron i can't find it. I'm not very good in coding so I'll ask you how much is avarage cost to locate this problem? I'll pay for it best regards martin Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now