HarryMemStar Posted March 12 Share Posted March 12 Hi guys, I run an eCommerce store using Prestashop, and I noticed if using the language / currency switching system while having any item in the cart, I would get the following error "If no employee is assigned in the context, cart ID must be provided to this method." - I didn't see much of this online so I thought id post about it to see if this was a common issue. The way I worked around this fault was by going into the classes/Product.php file and removing the line, this seemed to stop the error page displaying, however I obviously don't know if this will cause issues down the line? Any ideas here are much appreciated. Link to comment Share on other sites More sharing options...
F1ZZAS Posted April 5 Share Posted April 5 Same, I noticed this problem as well on PS v8.1.4 is there any developer toughs on this? Link to comment Share on other sites More sharing options...
David Pixodeo Posted April 15 Share Posted April 15 (edited) Same here with Prestashop 8.1.4 too The problem occurs when I switch the language with something in my cart. If the cart is empty, everything works fine. Edited April 15 by David Pixodeo (see edit history) 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