Skip to main content

Hikashop allowing products to go through even though they are inactive?

2 weeks 6 days ago #100000333 by mohairbears
-- HikaShop version -- : 6.7.1
-- Joomla version -- : 6.2
-- PHP version -- : 8.4
-- Browser(s) name and version -- : Safari 605.1

Hi, I have been having this issue for a while and now have identified it.

If a customer has an item in their cart or in a created order (that failed payment etc.) If the product goes out of stock during that period and is X'd off as not available, they can still purchase the item??  I had had this now quite a few times especially if that product is in a cart.

Rgds

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

2 weeks 6 days ago #100000339 by nicolas
Thank you for the details, we could reproduce it.

The cart is protected: when a product in a cart is unpublished, or its stock drops below the quantity in the cart, the checkout removes it before the order can be placed. The gap is the "Pay now" button customers see in their account for orders still waiting for their payment (for example after a failed or cancelled payment). That button did not check the products again, so an unpaid order could still be paid after its product was unpublished. If you have the setting "Update the product stock on confirmed status" turned on, it could also be paid after the product sold out, because such an order does not hold any stock until it is confirmed.

We have changed HikaShop so that "Pay now" refuses an order whose product is unpublished, deleted or, with that stock setting, out of stock. The customer then gets the same message as in the cart. This also covers the options chosen with a product and the products included in a bundle.

You can download the install package of HikaShop on our website and install it on yours in order to get the patch.

If you have a case where the product was bought straight from the cart and not from "Pay now", please tell us which payment method was used, whether the product was a bundle, and whether you use any other checkout or cache extension, so that we can look into it.
The following user(s) said Thank You: mohairbears

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

Time to create page: 0.039 seconds
Powered by Kunena Forum