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

#   How to display option descriptions in cart?

##

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

Less More

- Posts: 113
- Thank you received: 18
-
-

13 years 8 months ago [\#91045](#91045) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  *[How to display option descriptions in cart?](/forum/2-general-talk-about-hikashop/78553-how-to-display-option-descriptions-in-cart#91045 "On your demo site link below, adding the item to the cart displays both the option name and the description of the selected option.    demo.hikashop.com/index.php?option=com&#95;h...y&#95;pathway=23&amp;lang=en  On my site, the option name displays in the cart, but not the option chosen, so the customer can't see what they've ordered. I've looked through configuration, views and CSS trying to figure out what controls this display. How can I get the display in my cart to work as in your demo site?  Related to Product Options: When using product options, I would expect the &quot;Add To Cart&quot; displayed to be replaced with &quot;Choose Options&quot;. Products with variants / characteristics work as expected (Choose Options), but not when using product options. It would be preferable to have the customer go to the product detail before they can add to the cart. That way they know what options are available and what they're ordering.")* was created by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")*

On your demo site link below, adding the item to the cart displays both the option name and the description of the selected option.

[ demo.hikashop.com/index.php?option=com\_h...y\_pathway=23&amp;lang=en](http://demo.hikashop.com/index.php?option=com_hikashop&ctrl=product&task=show&name=desktop-tower&cid=86&category_pathway=23&lang=en)

On my site, the option name displays in the cart, but not the option chosen, so the customer can't see what they've ordered. I've looked through configuration, views and CSS trying to figure out what controls this display.
How can I get the display in my cart to work as in your demo site?

Related to Product Options:
When using product options, I would expect the "Add To Cart" displayed to be replaced with "Choose Options". Products with variants / characteristics work as expected (Choose Options), but not when using product options. It would be preferable to have the customer go to the product detail before they can add to the cart. That way they know what options are available and what they're ordering.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 8 months ago [\#91133](#91133) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[How to display option descriptions in cart?](/forum/2-general-talk-about-hikashop/78553-how-to-display-option-descriptions-in-cart#91133 "On your demo site link below, adding the item to the cart displays both the option name and the description of the selected option.    demo.hikashop.com/index.php?option=com&#95;h...y&#95;pathway=23&amp;lang=en  On my site, the option name displays in the cart, but not the option chosen, so the customer can't see what they've ordered. I've looked through configuration, views and CSS trying to figure out what controls this display. How can I get the display in my cart to work as in your demo site?  Related to Product Options: When using product options, I would expect the &quot;Add To Cart&quot; displayed to be replaced with &quot;Choose Options&quot;. Products with variants / characteristics work as expected (Choose Options), but not when using product options. It would be preferable to have the customer go to the product detail before they can add to the cart. That way they know what options are available and what they're ordering.")*

Hi there,

Options should be displayed automatically with the business version.
Do you have the last Hikashop version? Also do your options have a namekey?
About the button thing, I've seen another topic talking about this so we'll look at it ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 113
- Thank you received: 18
-
-

13 years 8 months ago [\#91184](#91184) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  Replied by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")* on topic *[How to display option descriptions in cart?](/forum/2-general-talk-about-hikashop/78553-how-to-display-option-descriptions-in-cart#91184 "On your demo site link below, adding the item to the cart displays both the option name and the description of the selected option.    demo.hikashop.com/index.php?option=com&#95;h...y&#95;pathway=23&amp;lang=en  On my site, the option name displays in the cart, but not the option chosen, so the customer can't see what they've ordered. I've looked through configuration, views and CSS trying to figure out what controls this display. How can I get the display in my cart to work as in your demo site?  Related to Product Options: When using product options, I would expect the &quot;Add To Cart&quot; displayed to be replaced with &quot;Choose Options&quot;. Products with variants / characteristics work as expected (Choose Options), but not when using product options. It would be preferable to have the customer go to the product detail before they can add to the cart. That way they know what options are available and what they're ordering.")*

I'm using the business version 2.1, I believe that's the latest.

I don't know what is meant by a "namekey". I looked in the product setup as well as an export and don't see a field called, or anything that looks like a "namekey"

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 8 months ago [\#91289](#91289) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to display option descriptions in cart?](/forum/2-general-talk-about-hikashop/78553-how-to-display-option-descriptions-in-cart#91289 "On your demo site link below, adding the item to the cart displays both the option name and the description of the selected option.    demo.hikashop.com/index.php?option=com&#95;h...y&#95;pathway=23&amp;lang=en  On my site, the option name displays in the cart, but not the option chosen, so the customer can't see what they've ordered. I've looked through configuration, views and CSS trying to figure out what controls this display. How can I get the display in my cart to work as in your demo site?  Related to Product Options: When using product options, I would expect the &quot;Add To Cart&quot; displayed to be replaced with &quot;Choose Options&quot;. Products with variants / characteristics work as expected (Choose Options), but not when using product options. It would be preferable to have the customer go to the product detail before they can add to the cart. That way they know what options are available and what they're ordering.")*

Hi,

Have your products used as options vairants ? If yes, it should be displayed in the cart, if the options have no variants so it's not displayed.

To change the button "Add to cart" to "Choose options", you can edit the file "components/com_hikashop/views/product/view.html.php" and in thee function "listing()" add: Code:

$database-&gt;setQuery('SELECT * FROM '.hikashop_table('product_related').' WHERE product_related_type = '.$database-&gt;quote('options').' AND product_id IN ('.implode(',',$ids).')'); $options = $database-&gt;loadObjectList(); if(!empty($options)){ foreach($rows as $k =&gt; $product){ foreach($options as $option){ if($product-&gt;product_id==$option-&gt;product_id){ $rows[$k]-&gt;has_options = true; break; } } } }

Before: Code:

$currencyClass-&gt;getListingPrices($rows,$pageInfo-&gt;zone_id,$pageInfo-&gt;currency_id,$pageInfo-&gt;filter-&gt;price_display_type);

We have just added it on our end, and will be available for the next release.

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

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

Less More

- Posts: 113
- Thank you received: 18
-
-

13 years 8 months ago -  13 years 8 months ago [\#91351](#91351) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  Replied by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")* on topic *[How to display option descriptions in cart?](/forum/2-general-talk-about-hikashop/78553-how-to-display-option-descriptions-in-cart#91351 "On your demo site link below, adding the item to the cart displays both the option name and the description of the selected option.    demo.hikashop.com/index.php?option=com&#95;h...y&#95;pathway=23&amp;lang=en  On my site, the option name displays in the cart, but not the option chosen, so the customer can't see what they've ordered. I've looked through configuration, views and CSS trying to figure out what controls this display. How can I get the display in my cart to work as in your demo site?  Related to Product Options: When using product options, I would expect the &quot;Add To Cart&quot; displayed to be replaced with &quot;Choose Options&quot;. Products with variants / characteristics work as expected (Choose Options), but not when using product options. It would be preferable to have the customer go to the product detail before they can add to the cart. That way they know what options are available and what they're ordering.")*

I have products with product options such as size, color, material type, etc.
Those product options are implemented using variants / characteristics.
In the cart, the name of the option is displayed, but not the description of the selected option, so there's no way for the customer to know what they've selected to verify cart contents prior to completing checkout.

Last edit: 13 years 8 months ago by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc4NTUzLWhvdy10by1kaXNwbGF5LW9wdGlvbi1kZXNjcmlwdGlvbnMtaW4tY2FydD90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

13 years 8 months ago [\#91489](#91489) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to display option descriptions in cart?](/forum/2-general-talk-about-hikashop/78553-how-to-display-option-descriptions-in-cart#91489 "On your demo site link below, adding the item to the cart displays both the option name and the description of the selected option.    demo.hikashop.com/index.php?option=com&#95;h...y&#95;pathway=23&amp;lang=en  On my site, the option name displays in the cart, but not the option chosen, so the customer can't see what they've ordered. I've looked through configuration, views and CSS trying to figure out what controls this display. How can I get the display in my cart to work as in your demo site?  Related to Product Options: When using product options, I would expect the &quot;Add To Cart&quot; displayed to be replaced with &quot;Choose Options&quot;. Products with variants / characteristics work as expected (Choose Options), but not when using product options. It would be preferable to have the customer go to the product detail before they can add to the cart. That way they know what options are available and what they're ordering.")*

Hi,

Can you make sure that the "append characteristic value to product name" option is turned on in the configuration ?
If not, turn it on and try again.

If that doesn't help, please give a link to a product page with the issue so that we can see that.

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

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