Jump to content
thirty bees forum
  • 0

Manual order from back office gives error for certain customers


Question

Posted

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?

13 answers to this question

Recommended Posts

  • 0
Posted

@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.

  • 0
Posted

@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?

  • 0
Posted

@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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...