Jump to content

Cancelled orders/stock levels


Recommended Posts

CubeCart will update stock levels as appropriate: Pending, Processing, Complete (as specified in Store Settings), automatic cancelling Pending orders (if enabled), or Declined, Failed, Cancelled.

Stock levels are adjusted as where used: as specified in the Option Matrix Table, or otherwise the item's main stock level.

I see a potential issue. For an order at Pending, if the store settings say to decrease stock when the order goes to Processing or Completed, yet is Declined, Failed, or Cancelled when the order is still at Pending, the stock level is increased without having first been decreased.

Edit: Oh, wait. I now see that a test is made to determine if the stock level has already been updated via a previous process. If so, for decreasing stock, no further decrease is performed. If not, for restoring stock, no increase is performed.

Edited by bsmither
Link to comment
Share on other sites

  • 10 months later...

Can I add to this:

I have a problem in where I've had customers placing goods in their basket, go to checkout, then decide to amend their basket by removing an item or items, then completing checkout and payment. The stock level does not reflect this and does not increase back up. My store is set to reduce stock levels when order is pending.

Edited by Debyink
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...