Product Qty Update

  • Posts: 199
  • Thank you received: 13
1 day 23 hours ago #365492

-- HikaShop version -- : 5.1.3
-- Joomla version -- : 5.2.3
-- PHP version -- : 8.2

I had a product with quantity of 2.
an orders placed on site with the COD payment method which order status become pending
when i checked the payment and put the order on Confirmed status, the quantity of product is still 2.
i though i should became 1

what is the problem ?

Please Log in or Create an account to join the conversation.

  • Posts: 83182
  • Thank you received: 13438
  • MODERATOR
1 day 18 hours ago #365493

Hi,

First, you have the "Update the product stock on confirmed status" setting in the HikaShop configuration.
If that setting is turned off, then the stock will be updated when the order is created, when the customer clicks on the "Finish" button.

If that setting is turned on, then the stock will be updated when the order goes from the status selected under the "created" column to one of the statuses selected under the "invoice" column of the System>Order statuses menu. Note that in this case, the customer can potentially create several orders without blocking your stock for his orders and then pay several of them, leading to more products bought than actually available. Ideally, you rather want to reserve the stock when the order is created, and then have the "order auto cancel" plugin cancelling the created orders after a while to release the stock. That way, you can guarantee that no order will be paid for something which isn't in stock anymore. So I wouldn't recommend using this mode of operation.

So, supposing that the "Update the product stock on confirmed status" setting is turned on and the "created" is selected under the "created" column, and "confirmed" and "shipped" are selected under the "invoice" column, the stock will be updated when the order goes from created to confirmed, but not if it goes from "pending" to "confirmed", like you described in your message.

Please Log in or Create an account to join the conversation.

  • Posts: 199
  • Thank you received: 13
1 day 18 hours ago #365495

all good
but since selecting statuses are radio buttons, i can only select one status per created and invoice columns

i cant select both confirmed and shipped statuses

Please Log in or Create an account to join the conversation.

  • Posts: 83182
  • Thank you received: 13438
  • MODERATOR
1 day 5 hours ago #365497

Hi,

In the "invoice" column, you should have tick and cross icons. And by default both shipped and confirmed should be ticked with the other crossed. So you should be able to have several statuses ticked at the same time.
Please double check.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum