Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Manual order from back office gives error for certain customers

Featured Replies

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?

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

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

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

  • Author

@wakabayashi I'm using 1.0.3. I'll test turning off multistore and also your hack and write again. Thanks! :)

  • Author

@wakabayashi I turned off multistore but get the same error message.

Your hack works perfectly, though! Thank you!

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

  • 7 months later...

@wakabayashi this issue solved, see here https://github.com/thirtybees/thirtybees/issues/612

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.