Paulwfc Posted July 16, 2023 Share Posted July 16, 2023 Hi On our Prestashop site the 'Add to cart' button works if you go straight to the site but will not work if you are logged in. Clicking on the button appears to do nothing until you log out again. Any ideas why this would happen? Link to comment Share on other sites More sharing options...
s4lvozesta Posted July 16, 2023 Share Posted July 16, 2023 I hate to be ‘that someone’ but - what ps version are you using - what modules do you have - what is the hosting/server env like - what is the error on debug console - os there anything happening on browser console, server log, or web server log Link to comment Share on other sites More sharing options...
Paulwfc Posted July 16, 2023 Author Share Posted July 16, 2023 37 minutes ago, s4lvozesta said: I hate to be ‘that someone’ but - what ps version are you using - 8.04 - what modules do you have - I have added the list from the Administration and the Design and Navigation sections - what is the hosting/server env like - Standard WHM environment - what is the error on debug console - ??? - os there anything happening on browser console, server log, or web server log - Nothing happens when you click on the add to cart button if logged in. Answers to the questions are above Link to comment Share on other sites More sharing options...
prestaotop Posted July 16, 2023 Share Posted July 16, 2023 (edited) Hi, - It’s seems that you have 2 unofficial modules for Cart (fmm and ets) -> do you know why ? If not maybe this is the reason. - Do you have the module « ps_shoppingcart » ? Is it the last version ? If not did you tried to reset it ?https://github.com/PrestaShop/ps_shoppingcart - problem Looks like coming from group privileges ? Did you check how privileges are working on prestashop (visitor, guest, customer … ) ? -> https://docs.prestashop-project.org/1.7-documentation/user-guide/configuring-shop/shop-parameters/customer-settings/groups - So go to your customer settings of your prestashop and have a look about which module is authorized. If your modules (fmm, ets, shoppingcart are not activated for customer groups, this is the reason! Regards, Edited July 16, 2023 by prestaotop (see edit history) Link to comment Share on other sites More sharing options...
s4lvozesta Posted July 17, 2023 Share Posted July 17, 2023 Hi, looking at this example threadhttps://www.prestashop.com/forums/topic/1062564-solved-add-to-cart-button-stops-working/ , if you could post the shop's url, maybe the problem can be solved faster. Meanwhile, although it has different version than yours, one could follow the ambassador's advise to "... suggest you to turn on debug mode and then check what is this error message" 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