librosderuta Posted January 22, 2022 Share Posted January 22, 2022 (edited) When clicking on Cart button on the header it does not open and page ends blocked. Seems something blocks action and is no possible to continue navigating in the page after on. Our URL is ldrsport.com We´ve been cheking shopping cart module, it adds products but cannot access to the cart through this button and neither it expands to show us added products. Using Prestashop 1.7.7.3 Thanks, Edited January 25, 2022 by librosderuta (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 23, 2022 Share Posted January 23, 2022 PHP version? Is it default cart? Any facebook modules on frontage installed? 1 Link to comment Share on other sites More sharing options...
SmartDataSoft Posted January 23, 2022 Share Posted January 23, 2022 @librosderuta This looks theme problem. You need to contact the theme author about this issue. You can rename the blockcart module form your theme so that default PrestaShop module template load and then check Thank you 1 Link to comment Share on other sites More sharing options...
librosderuta Posted January 23, 2022 Author Share Posted January 23, 2022 10 hours ago, ComGrafPL said: PHP version? Is it default cart? Any facebook modules on frontage installed? Thanks. PHP: 7.2.34 . Tried deactivating FB modules but not working neither without them. Link to comment Share on other sites More sharing options...
librosderuta Posted January 23, 2022 Author Share Posted January 23, 2022 6 hours ago, SmartDataSoft said: @librosderuta This looks theme problem. You need to contact the theme author about this issue. You can rename the blockcart module form your theme so that default PrestaShop module template load and then check Thank you Thanks. I contacted them, waiting for their response. Meanwhile, I tried renaming blockart module of my theme but website seems not to change. Link to comment Share on other sites More sharing options...
SmartDataSoft Posted January 23, 2022 Share Posted January 23, 2022 (edited) Do not forget to clear the cache after template changes Edited January 23, 2022 by SmartDataSoft (see edit history) 1 Link to comment Share on other sites More sharing options...
luishuaymana Posted January 23, 2022 Share Posted January 23, 2022 Look in your cart or facebook pixel module for this init_add_to_cart function and choose another way to convert the json. have this message Can't be parsed the output to json 1 Link to comment Share on other sites More sharing options...
luishuaymana Posted January 23, 2022 Share Posted January 23, 2022 you can put a console.log(this.response). to see how the data arrives 1 Link to comment Share on other sites More sharing options...
Nickz Posted January 23, 2022 Share Posted January 23, 2022 (edited) 19 hours ago, librosderuta said: Using Prestashop 1.7.7.3 Where do you host? It is pretty probable that your hoster set php to 7.4 specially when your error happened all of sudden. If true look for another host. Edited January 23, 2022 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
librosderuta Posted January 24, 2022 Author Share Posted January 24, 2022 Problem solved. A module for FB pixel was causing the problem. Deactivating it works again. We´ll configure it carefully to avoid this problem but at the same time sending data to our Fb account. Thanks for your help 1 Link to comment Share on other sites More sharing options...
luishuaymana Posted January 24, 2022 Share Posted January 24, 2022 add solving to title. Cheers 1 Link to comment Share on other sites More sharing options...
El Patron Posted January 25, 2022 Share Posted January 25, 2022 note best practice is that cart link directly to view cart, some are more aggressive and change to checkout. look at any major online retailer, they do not have drop down cart on every page. 1 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