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

#   "Choose Options" only appears if Characteristics

##

- **[btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")**
- [![btbjosh's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/splatter_hand.png)](/forum/user/12727-btbjosh "View btbjosh's Profile") Topic Author
- [ Offline](/forum/user/12727-btbjosh)

Less More

- Posts: 90
- Thank you received: 1
-
-
-

13 years 8 months ago [\#92984](#92984) by [btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")  *["Choose Options" only appears if Characteristics](/forum/3-bug-report/78947-choose-options-only-appears-if-characteristics#92984 "I have a product that has paid options and when it appears in the submodules for Related products it doesn't display &quot;Choose Options&quot; instead of Add to cart. It appears that this &quot;choose options&quot;...")* was created by *[btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")*

I have a product that has paid options and when it appears in the submodules for Related products it doesn't display "Choose Options" instead of Add to cart. It appears that this "choose options" button only appears if there are characteristics in the product. This is bad because I need the customer to choose the options for this product before they add it to cart, but I don't have any free variants to trigger this button change.

Is this a bug? Why would the "paid options" not trigger this "choose options" requirement?

---

![:)](/media/kunena/emoticons/3.png ":)") — Josh

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODk0Ny1jaG9vc2Utb3B0aW9ucy1vbmx5LWFwcGVhcnMtaWYtY2hhcmFjdGVyaXN0aWNzP3RtcGw9bWFya2Rvd24=) 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 [\#92997](#92997) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Choose Options" only appears if Characteristics](/forum/3-bug-report/78947-choose-options-only-appears-if-characteristics#92997 "I have a product that has paid options and when it appears in the submodules for Related products it doesn't display &quot;Choose Options&quot; instead of Add to cart. It appears that this &quot;choose options&quot;...")*

That has already been changed on our end for next version of HikaShop.
You would have to add the code 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 the line $currencyClass-&gt;getListingPrices($rows,$pageInfo-&gt;zone_id,$pageInfo-&gt;currency_id,$pageInfo-&gt;filter-&gt;price_display_type); in components/com_hikashop/views/product/view.html.php to get the fix.

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

- **[btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")**
- [![btbjosh's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/splatter_hand.png)](/forum/user/12727-btbjosh "View btbjosh's Profile") Topic Author
- [ Offline](/forum/user/12727-btbjosh)

Less More

- Posts: 90
- Thank you received: 1
-
-
-

13 years 8 months ago [\#93009](#93009) by [btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")  Replied by *[btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")* on topic *["Choose Options" only appears if Characteristics](/forum/3-bug-report/78947-choose-options-only-appears-if-characteristics#93009 "I have a product that has paid options and when it appears in the submodules for Related products it doesn't display &quot;Choose Options&quot; instead of Add to cart. It appears that this &quot;choose options&quot;...")*

Thanks, That did the trick.

To make sure though... I did leave the variant query code as well... That is ok right?

---

![:)](/media/kunena/emoticons/3.png ":)") — Josh

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODk0Ny1jaG9vc2Utb3B0aW9ucy1vbmx5LWFwcGVhcnMtaWYtY2hhcmFjdGVyaXN0aWNzP3RtcGw9bWFya2Rvd24=) 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 [\#93011](#93011) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["Choose Options" only appears if Characteristics](/forum/3-bug-report/78947-choose-options-only-appears-if-characteristics#93011 "I have a product that has paid options and when it appears in the submodules for Related products it doesn't display &quot;Choose Options&quot; instead of Add to cart. It appears that this &quot;choose options&quot;...")*

Yes, you should leave it.

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

- **[btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")**
- [![btbjosh's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/splatter_hand.png)](/forum/user/12727-btbjosh "View btbjosh's Profile") Topic Author
- [ Offline](/forum/user/12727-btbjosh)

Less More

- Posts: 90
- Thank you received: 1
-
-
-

13 years 8 months ago [\#93014](#93014) by [btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")  Replied by *[btbjosh](/forum/user/12727-btbjosh "View btbjosh's Profile")* on topic *["Choose Options" only appears if Characteristics](/forum/3-bug-report/78947-choose-options-only-appears-if-characteristics#93014 "I have a product that has paid options and when it appears in the submodules for Related products it doesn't display &quot;Choose Options&quot; instead of Add to cart. It appears that this &quot;choose options&quot;...")*

Thank you for the quick responses!

---

![:)](/media/kunena/emoticons/3.png ":)") — Josh

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

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