Customers able to purchase locked items

  • Posts: 412
  • Thank you received: 3
  • Hikashop Business
2 weeks 6 days ago #307328

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.6
-- PHP version -- : 7.2

Hi, I have customers able to purchase out of stock items that are held in a cart, even though the item has been moved to a category, that should only be accessible to admin/ super users? you cannot access the product from the website but if the customer has added it to a cart, before it was moved, to what should be an 'inaccessible' category for the public, they can purchase it?

This should not happen?



Rgds

Attachments:

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

  • Posts: 66049
  • Thank you received: 9670
  • MODERATOR
2 weeks 6 days ago #307332

Hi,

There is no check on the categories of the products once the products are in the cart.
In fact, there is no check on the categories for the add to cart process either.
The categories restrections are used for searches, filters, listings and the product page so that a product can only be accessed from a category if he has access to that category.
If you want to "lock" items, you need to do it at the product level.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum