April 16, 20188 yr With certain customers, and I haven't been able to figure out which, I'm unable to place a manual back office order. I get this error message when I select any product: An order has already been placed with this cart. This product cannot be added to the cart. Does anyone have an idea how to troubleshoot the issue?
April 16, 20188 yr @30knees I had this too! :O Thought this is some issue here... Are you using multistore? I noticed, that it's working if you try a second time...
April 17, 20188 yr Author @wakabayashi Thanks for confirming! Multistore is active, but I only have one store. I've tried to create the order multiple times and it still doesn't work. I've also cleared out any unordered carts, etc.
April 18, 20188 yr @30knees you are right. I messed up the errors. But I really have had this too. I checked now my files and I used a very dirty hack. I changed in AdminCartsController.php the function ajaxProcessUpdateQty() if ($this->context->cart->OrderExists() && 1==2) { This is no solution of course. It just skipps the the condition. We should understand from where it comes. Since when do you have this? Does it appear when you don't use multistore?
April 19, 20188 yr Author @wakabayashi I'm using 1.0.3. I'll test turning off multistore and also your hack and write again. Thanks! :)
April 22, 20188 yr Author @wakabayashi I turned off multistore but get the same error message. Your hack works perfectly, though! Thank you!
April 22, 20188 yr Author @wakabayashi I just noticed that while the hack fixes the problem on the order creation page, it pushes it further down the line for the first order attempt. Now the error pops up on the next page after clicking "Create the order". But, when I tried a second time, like you wrote above, the order went through. Might there be another spot where some code needs to be edited?
December 6, 20187 yr @wakabayashi this issue solved, see here https://github.com/thirtybees/thirtybees/issues/612
December 6, 20187 yr @dosbiner thanks a lot. I am already at the same line of code :D but somehow I too dumb to understand the fix. Why was the variable been renamed?
December 7, 20187 yr Will this be implemented in one of the next updates? https://github.com/thirtybees/thirtybees/commit/54c54a81e4f109e0efedecfe8e6c5d10bf03cbe1
December 7, 20187 yr sure, it will be part of the upcoming release. Here's all the commits that are scheduled: https://github.com/thirtybees/thirtybees/compare/1.0.7...1.0.x
Create an account or sign in to comment