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

#   Can't load product into cart if user is not loged in.

##

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

Less More

- Posts: 142
- Thank you received: 3
-
-

3 years 2 weeks ago [\#355946](#355946) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  *[Can't load product into cart if user is not loged in.](/forum/35-orders-management/907147-cant-load-product-into-cart-if-user-is-not-loged-in#355946 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1.17 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : This product is currently unavailable  Hi there  I aded some charasteristics to some products.  Now the problem is that the products with the charasteristics can't be put into the cart if the user is not loged in! An error messages pops up and tell the user that &quot;this product is currently unavailable!&quot; Customers will think that the product is not available and not order! Aditional information: If I take away the charasteristics then the product can be added to cart without to be loged in. I need help immediately as we have a promotion going on.")* was created by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")*

-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.1.17
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : This product is currently unavailable

Hi there

I aded some charasteristics to some products.

Now the problem is that the products with the charasteristics can't be put into the cart if the user is not loged in!
An error messages pops up and tell the user that "this product is currently unavailable!"
Customers will think that the product is not available and not order!
Aditional information:
If I take away the charasteristics then the product can be added to cart without to be loged in.
I need help immediately as we have a promotion going on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzE0Ny1jYW50LWxvYWQtcHJvZHVjdC1pbnRvLWNhcnQtaWYtdXNlci1pcy1ub3QtbG9nZWQtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14280
-
-

3 years 2 weeks ago [\#355950](#355950) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't load product into cart if user is not loged in.](/forum/35-orders-management/907147-cant-load-product-into-cart-if-user-is-not-loged-in#355950 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1.17 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : This product is currently unavailable  Hi there  I aded some charasteristics to some products.  Now the problem is that the products with the charasteristics can't be put into the cart if the user is not loged in! An error messages pops up and tell the user that &quot;this product is currently unavailable!&quot; Customers will think that the product is not available and not order! Aditional information: If I take away the charasteristics then the product can be added to cart without to be loged in. I need help immediately as we have a promotion going on.")*

Hi,

There is no message "this product is currently unavailable" in HikaShop.
And I don't see why being logged in or not would change anything for products with characteristics or not during the add to cart process.
Please provie the URL of a product with the issue and screenshots of the settings of this product from the backend so that we can look into it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzE0Ny1jYW50LWxvYWQtcHJvZHVjdC1pbnRvLWNhcnQtaWYtdXNlci1pcy1ub3QtbG9nZWQtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 142
- Thank you received: 3
-
-

3 years 2 weeks ago -  3 years 2 weeks ago [\#355951](#355951) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Can't load product into cart if user is not loged in.](/forum/35-orders-management/907147-cant-load-product-into-cart-if-user-is-not-loged-in#355951 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1.17 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : This product is currently unavailable  Hi there  I aded some charasteristics to some products.  Now the problem is that the products with the charasteristics can't be put into the cart if the user is not loged in! An error messages pops up and tell the user that &quot;this product is currently unavailable!&quot; Customers will think that the product is not available and not order! Aditional information: If I take away the charasteristics then the product can be added to cart without to be loged in. I need help immediately as we have a promotion going on.")*

Hi Nicolas
Please try to add this product into the cart.

There will be a message on the right top and the product will not be added to the cart.

[ ![1&#95;2023-10-18.jpg](/forum/attachment/57996) ](/forum/attachment/57996 "1&#95;2023-10-18.jpg")

[ ![2&#95;2023-10-18.jpg](/forum/attachment/57997) ](/forum/attachment/57997 "2&#95;2023-10-18.jpg")

as a not loged in user
[ ![4.jpg](/forum/attachment/57999) ](/forum/attachment/57999 "4.jpg")

as a loged in user photo
[ ![3&#95;2023-10-18.jpg](/forum/attachment/57998) ](/forum/attachment/57998 "3&#95;2023-10-18.jpg")

- [ ![1&#95;2023-10-18.jpg](/forum/attachment/57996) ](/forum/attachment/57996 "1&#95;2023-10-18.jpg") [ ](/forum/attachment/57996?download=1 "1&#95;2023-10-18.jpg")
- [ ![2&#95;2023-10-18.jpg](/forum/attachment/57997) ](/forum/attachment/57997 "2&#95;2023-10-18.jpg") [ ](/forum/attachment/57997?download=1 "2&#95;2023-10-18.jpg")
- [ ![3&#95;2023-10-18.jpg](/forum/attachment/57998) ](/forum/attachment/57998 "3&#95;2023-10-18.jpg") [ ](/forum/attachment/57998?download=1 "3&#95;2023-10-18.jpg")
- [ ![4.jpg](/forum/attachment/57999) ](/forum/attachment/57999 "4.jpg") [ ](/forum/attachment/57999?download=1 "4.jpg")

Last edit: 3 years 2 weeks ago by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzE0Ny1jYW50LWxvYWQtcHJvZHVjdC1pbnRvLWNhcnQtaWYtdXNlci1pcy1ub3QtbG9nZWQtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14280
-
-

3 years 2 weeks ago -  3 years 2 weeks ago [\#355953](#355953) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't load product into cart if user is not loged in.](/forum/35-orders-management/907147-cant-load-product-into-cart-if-user-is-not-loged-in#355953 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1.17 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : This product is currently unavailable  Hi there  I aded some charasteristics to some products.  Now the problem is that the products with the charasteristics can't be put into the cart if the user is not loged in! An error messages pops up and tell the user that &quot;this product is currently unavailable!&quot; Customers will think that the product is not available and not order! Aditional information: If I take away the charasteristics then the product can be added to cart without to be loged in. I need help immediately as we have a promotion going on.")*

Hi,

Thanks for the link and the screenshots.

The error "こちらの商品「820」は現在お取り扱いできません" uses the translation key PRODUCT_NOT_AVAILABLE
The text in English is "The product %s is not available".
It is made to be displayed by HikaShop in several cases:
- when the variant or product being added to the cart is unpublished
- when the variant being added to the cart doesn't have a parent product or if the parent product is unpublished
- when the variant being added to the cart has an unpublished parent product
- when the variant being added to the cart has a parent product with a restricted access level which doesn't allow the current user to add the product to the cart

As you can see, these are all cases which shouldn't normally happen because the product page itself and the variant are available to the current user. So this is hinting at a potential bug somewhere, for some reason.

Now, based on your screenshot, I can see that the "access level" setting of your main product is not set to "all", indicating that some users can't access the product page. So I'm suspecting there might be a bug in HikaShop when handling variants where the main product has its access level restricted in some cases.

Since we're not able to reproduce the problem on our local test server, and since no one else reported the problem so far, we'll need a backend access and a FTP access in order to investigate the problem.
Please provide these along with a link to this thread for reference via our contact form:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Last edit: 3 years 2 weeks ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzE0Ny1jYW50LWxvYWQtcHJvZHVjdC1pbnRvLWNhcnQtaWYtdXNlci1pcy1ub3QtbG9nZWQtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 142
- Thank you received: 3
-
-

3 years 2 weeks ago [\#355972](#355972) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Can't load product into cart if user is not loged in.](/forum/35-orders-management/907147-cant-load-product-into-cart-if-user-is-not-loged-in#355972 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1.17 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : This product is currently unavailable  Hi there  I aded some charasteristics to some products.  Now the problem is that the products with the charasteristics can't be put into the cart if the user is not loged in! An error messages pops up and tell the user that &quot;this product is currently unavailable!&quot; Customers will think that the product is not available and not order! Aditional information: If I take away the charasteristics then the product can be added to cart without to be loged in. I need help immediately as we have a promotion going on.")*

Hi Nicolas
You're right, it's about the access level.
As soon I change it to "all" the goods can be put into the cart without to be loged in.

I tried it with each user group and it will not work if one of the groups has no access.

I have the following groups.
-Puplic
-Registered
-Bar
-Super User
-Wholesale

Let me know if you can find the bug with my information above or if you still need access to my site.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzE0Ny1jYW50LWxvYWQtcHJvZHVjdC1pbnRvLWNhcnQtaWYtdXNlci1pcy1ub3QtbG9nZWQtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14280
-
-

3 years 2 weeks ago [\#355991](#355991) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't load product into cart if user is not loged in.](/forum/35-orders-management/907147-cant-load-product-into-cart-if-user-is-not-loged-in#355991 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1.17 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : This product is currently unavailable  Hi there  I aded some charasteristics to some products.  Now the problem is that the products with the charasteristics can't be put into the cart if the user is not loged in! An error messages pops up and tell the user that &quot;this product is currently unavailable!&quot; Customers will think that the product is not available and not order! Aditional information: If I take away the charasteristics then the product can be added to cart without to be loged in. I need help immediately as we have a promotion going on.")*

Hi,

Thanks for the information. I was now able to reproduce the issue locally and made a patch for it.
Download again the install package of HikaShop 5 on our website and install on yours to get the patch and it will work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzE0Ny1jYW50LWxvYWQtcHJvZHVjdC1pbnRvLWNhcnQtaWYtdXNlci1pcy1ub3QtbG9nZWQtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 142
- Thank you received: 3
-
-

3 years 1 week ago -  3 years 1 week ago [\#356125](#356125) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[Can't load product into cart if user is not loged in.](/forum/35-orders-management/907147-cant-load-product-into-cart-if-user-is-not-loged-in#356125 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.1.17 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : This product is currently unavailable  Hi there  I aded some charasteristics to some products.  Now the problem is that the products with the charasteristics can't be put into the cart if the user is not loged in! An error messages pops up and tell the user that &quot;this product is currently unavailable!&quot; Customers will think that the product is not available and not order! Aditional information: If I take away the charasteristics then the product can be added to cart without to be loged in. I need help immediately as we have a promotion going on.")*

Hi Nicolas

Thanks for the quick fix!
It's working now perfectly!

Last edit: 3 years 1 week ago by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile").

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzE0Ny1jYW50LWxvYWQtcHJvZHVjdC1pbnRvLWNhcnQtaWYtdXNlci1pcy1ub3QtbG9nZWQtaW4/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.095 seconds

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

[](#top)
