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

#   Option message on show\_block\_cart view

##

- **[jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")**
- [![jfischer&#95;hika's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile") Topic Author
- [ Offline](/forum/user/60459-jfischer-hika)

Less More

- Posts: 51
- Thank you received: 3
-
-

4 years 5 months ago [\#342734](#342734) by [jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")  *[Option message on show\_block\_cart view](/forum/27-checkout/904639-option-message-on-show-block-cart-view#342734 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 8.0.20 -- Browser(s) name and version -- : firefox  I have a product with options added to them like your demo page shows. I followed the instructions under product options. I am getting messages on the cart page for options added to the product:  The product &quot;option&quot;: &quot;option value&quot; is not available The product &quot;option1&quot;: &quot;option1 value&quot; is not available The product &quot;option2&quot;: &quot;option2 value&quot; is not available The product &quot;option3&quot;: &quot;option3 value&quot; is not available  I have set to group options with product in the configuration. All options have quantity set at infinity. The options work correctly on the product page. The options correctly show grouped with the product in the cart. When I add to cart I get the above message for every option no matter what selection is made.  The code displaying the messages is: $this-&gt;checkoutHelper-&gt;displayMessages('cart');  What is causing these messages to be displayed?")* was created by *[jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")*

-- HikaShop version -- : 4.6.0
-- Joomla version -- : 3.10.10
-- PHP version -- : 8.0.20
-- Browser(s) name and version -- : firefox

I have a product with options added to them like your demo page shows.
I followed the instructions under product options.
I am getting messages on the cart page for options added to the product:

The product "option": "option value" is not available
The product "option1": "option1 value" is not available
The product "option2": "option2 value" is not available
The product "option3": "option3 value" is not available

I have set to group options with product in the configuration.
All options have quantity set at infinity.
The options work correctly on the product page.
The options correctly show grouped with the product in the cart.
When I add to cart I get the above message for every option no matter what selection is made.

The code displaying the messages is:
$this-&gt;checkoutHelper-&gt;displayMessages('cart');

What is causing these messages to be displayed?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNDYzOS1vcHRpb24tbWVzc2FnZS1vbi1zaG93LWJsb2NrLWNhcnQtdmlldz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14327
-
-

4 years 5 months ago [\#342750](#342750) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Option message on show\_block\_cart view](/forum/27-checkout/904639-option-message-on-show-block-cart-view#342750 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 8.0.20 -- Browser(s) name and version -- : firefox  I have a product with options added to them like your demo page shows. I followed the instructions under product options. I am getting messages on the cart page for options added to the product:  The product &quot;option&quot;: &quot;option value&quot; is not available The product &quot;option1&quot;: &quot;option1 value&quot; is not available The product &quot;option2&quot;: &quot;option2 value&quot; is not available The product &quot;option3&quot;: &quot;option3 value&quot; is not available  I have set to group options with product in the configuration. All options have quantity set at infinity. The options work correctly on the product page. The options correctly show grouped with the product in the cart. When I add to cart I get the above message for every option no matter what selection is made.  The code displaying the messages is: $this-&gt;checkoutHelper-&gt;displayMessages('cart');  What is causing these messages to be displayed?")*

Hi,

I can't find that error message in HikaShop.
Could you provide a user access and instructions to reproduce the issue on your website so that we can better understand the situation ?

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

- **[jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")**
- [![jfischer&#95;hika's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile") Topic Author
- [ Offline](/forum/user/60459-jfischer-hika)

Less More

- Posts: 51
- Thank you received: 3
-
-

4 years 5 months ago [\#342796](#342796) by [jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")  Replied by *[jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")* on topic *[Option message on show\_block\_cart view](/forum/27-checkout/904639-option-message-on-show-block-cart-view#342796 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 8.0.20 -- Browser(s) name and version -- : firefox  I have a product with options added to them like your demo page shows. I followed the instructions under product options. I am getting messages on the cart page for options added to the product:  The product &quot;option&quot;: &quot;option value&quot; is not available The product &quot;option1&quot;: &quot;option1 value&quot; is not available The product &quot;option2&quot;: &quot;option2 value&quot; is not available The product &quot;option3&quot;: &quot;option3 value&quot; is not available  I have set to group options with product in the configuration. All options have quantity set at infinity. The options work correctly on the product page. The options correctly show grouped with the product in the cart. When I add to cart I get the above message for every option no matter what selection is made.  The code displaying the messages is: $this-&gt;checkoutHelper-&gt;displayMessages('cart');  What is causing these messages to be displayed?")*

Hi Nicolas,

I sent a P.M. to you with the information you requested.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNDYzOS1vcHRpb24tbWVzc2FnZS1vbi1zaG93LWJsb2NrLWNhcnQtdmlldz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14327
-
-

4 years 5 months ago [\#342799](#342799) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Option message on show\_block\_cart view](/forum/27-checkout/904639-option-message-on-show-block-cart-view#342799 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 8.0.20 -- Browser(s) name and version -- : firefox  I have a product with options added to them like your demo page shows. I followed the instructions under product options. I am getting messages on the cart page for options added to the product:  The product &quot;option&quot;: &quot;option value&quot; is not available The product &quot;option1&quot;: &quot;option1 value&quot; is not available The product &quot;option2&quot;: &quot;option2 value&quot; is not available The product &quot;option3&quot;: &quot;option3 value&quot; is not available  I have set to group options with product in the configuration. All options have quantity set at infinity. The options work correctly on the product page. The options correctly show grouped with the product in the cart. When I add to cart I get the above message for every option no matter what selection is made.  The code displaying the messages is: $this-&gt;checkoutHelper-&gt;displayMessages('cart');  What is causing these messages to be displayed?")*

Hi,

Ok thanks. I better understand the situation.
I think it can come from several things:
- the option product is unpublished
- the option product variant selected doesn't have a stock
- the option product or the variant has an "access level" not set to "all"
- the option product variant selected doesn't have a price and the "display add to cart button for free products" setting is turned off in the HikaShop configuration

I suppose the most likely is the last one.

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

- **[jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")**
- [![jfischer&#95;hika's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile") Topic Author
- [ Offline](/forum/user/60459-jfischer-hika)

Less More

- Posts: 51
- Thank you received: 3
-
-

4 years 5 months ago [\#342846](#342846) by [jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")  Replied by *[jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")* on topic *[Option message on show\_block\_cart view](/forum/27-checkout/904639-option-message-on-show-block-cart-view#342846 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 8.0.20 -- Browser(s) name and version -- : firefox  I have a product with options added to them like your demo page shows. I followed the instructions under product options. I am getting messages on the cart page for options added to the product:  The product &quot;option&quot;: &quot;option value&quot; is not available The product &quot;option1&quot;: &quot;option1 value&quot; is not available The product &quot;option2&quot;: &quot;option2 value&quot; is not available The product &quot;option3&quot;: &quot;option3 value&quot; is not available  I have set to group options with product in the configuration. All options have quantity set at infinity. The options work correctly on the product page. The options correctly show grouped with the product in the cart. When I add to cart I get the above message for every option no matter what selection is made.  The code displaying the messages is: $this-&gt;checkoutHelper-&gt;displayMessages('cart');  What is causing these messages to be displayed?")*

Nicolas,

The last condition was the cause. I set the "display add to cart button for free products" setting to yes and the messages no longer display.

Thank You

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNDYzOS1vcHRpb24tbWVzc2FnZS1vbi1zaG93LWJsb2NrLWNhcnQtdmlldz90bXBsPW1hcmtkb3du) 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.055 seconds

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