[Skip to main content](#vessel-content)

#   Customers able to purchase locked items

##

- **[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")**
- [![mohairbears's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/916-mohairbears "View mohairbears's Profile") Topic Author
- [ Offline](/forum/user/916-mohairbears)

Less More

- Posts: 610
- Thank you received: 13
-

7 years 5 months ago [\#307328](#307328) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  *[Customers able to purchase locked items](/forum/3-bug-report/897615-customers-able-to-purchase-locked-items#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")* was created by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")*

-- 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?
[ ![cart&#95;error.jpg](/forum/attachment/46957) ](/forum/attachment/46957 "cart&#95;error.jpg")

Rgds

- [ ![cart&#95;error.jpg](/forum/attachment/46957) ](/forum/attachment/46957 "cart&#95;error.jpg") [ ](/forum/attachment/46957?download=1 "cart&#95;error.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTc2MTUtY3VzdG9tZXJzLWFibGUtdG8tcHVyY2hhc2UtbG9ja2VkLWl0ZW1zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

7 years 5 months ago [\#307332](#307332) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Customers able to purchase locked items](/forum/3-bug-report/897615-customers-able-to-purchase-locked-items#307332 "-- 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTc2MTUtY3VzdG9tZXJzLWFibGUtdG8tcHVyY2hhc2UtbG9ja2VkLWl0ZW1zP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
