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

#   Product Options show price

##

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 1 month ago [\#25724](#25724) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  *[Product Options show price](/forum/3-bug-report/25724-product-options-show-price#25724 "If I put a 'option' on my products then it correctly shows a dropdown of the optional product, but it is including the price of this original product to be displayed. I have display prices turned off...")* was created by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")*

If I put a 'option' on my products then it correctly shows a dropdown of the optional product, but it is including the price of this original product to be displayed. I have display prices turned off everywhere as I dont use pricing. Is this me or a bugette ?

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

15 years 1 month ago [\#25728](#25728) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product Options show price](/forum/3-bug-report/25724-product-options-show-price#25728 "If I put a 'option' on my products then it correctly shows a dropdown of the optional product, but it is including the price of this original product to be displayed. I have display prices turned off...")*

Indeed, that's something we didn't account for.

You need to edit the file "option" of the view "product" vi the menu Display-&gt;Views and change the line:
if(!empty($optionElement-&gt;prices)){
by:
if(!empty($optionElement-&gt;prices) &amp;&amp; $this-&gt;params-&gt;get('show_price')){
and the line:
if(!empty($variant-&gt;prices)){
by:
if(!empty($variant-&gt;prices) &amp;&amp; $this-&gt;params-&gt;get('show_price')){

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 1 month ago [\#25732](#25732) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: Product Options show price](/forum/3-bug-report/25724-product-options-show-price#25732 "If I put a 'option' on my products then it correctly shows a dropdown of the optional product, but it is including the price of this original product to be displayed. I have display prices turned off...")*

I couldnt find optionElement-&gt;prices just option-&gt;prices changed that instead but prices still showed.

Another issue I see is that if the optional product does not have variants it still displays the dropdown, but no title.

As attached. the top option is one that has variants inside it, the bottom option has no title as it doesnt have variants.

image missing http://www.oceansafety.com/options.JPG

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

15 years 1 month ago [\#25738](#25738) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product Options show price](/forum/3-bug-report/25724-product-options-show-price#25738 "If I put a 'option' on my products then it correctly shows a dropdown of the optional product, but it is including the price of this original product to be displayed. I have display prices turned off...")*

Yes, on the current release it's option and not optionElement.
You need to do the second change as well.
That solves the problem on our end. Note that the show prices option of the Display tab of the config needs to be turned off.

For the products without variants, that's indeed how it's displayed for now. In next version of HikaShop, they will display like the others, so you will have to wait for next version.

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 1 month ago [\#25739](#25739) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: Product Options show price](/forum/3-bug-report/25724-product-options-show-price#25739 "If I put a 'option' on my products then it correctly shows a dropdown of the optional product, but it is including the price of this original product to be displayed. I have display prices turned off...")*

no probs, wont use them at the moment then, as long as its not me doing something stupid Im happy.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yNTcyNC1wcm9kdWN0LW9wdGlvbnMtc2hvdy1wcmljZT90bXBsPW1hcmtkb3du) 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: 2.944 seconds

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