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

#   Variant options hiding price, add to cart button and quantity

##

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

Less More

- Posts: 70
- Thank you received: 1
-
-

2 years 10 months ago [\#357429](#357429) by [Storm](/forum/user/42764-storm "View Storm's Profile")  *[Variant options hiding price, add to cart button and quantity](/forum/26-product-category-display/907428-variant-options-hiding-price-add-to-cart-button-and-quantity#357429 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.33  I have built an override, but when using variants on a product page and selecting the variant, the product price, quantity and Add to Cart button are hidden, so you can't add the product variant to the basket.  Default view:  Variant view:")* was created by *[Storm](/forum/user/42764-storm "View Storm's Profile")*

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 3.10.11
-- PHP version -- : 7.4.33

I have built an override, but when using variants on a product page and selecting the variant, the product price, quantity and Add to Cart button are hidden, so you can't add the product variant to the basket.

Default view:

[ ![download.png](/forum/attachment/58402) ](/forum/attachment/58402 "download.png")

Variant view:

[ ![variant.png](/forum/attachment/58403) ](/forum/attachment/58403 "variant.png")

- [ ![download.png](/forum/attachment/58402) ](/forum/attachment/58402 "download.png") [ ](/forum/attachment/58402?download=1 "download.png")
- [ ![variant.png](/forum/attachment/58403) ](/forum/attachment/58403 "variant.png") [ ](/forum/attachment/58403?download=1 "variant.png")

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

2 years 10 months ago [\#357430](#357430) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Variant options hiding price, add to cart button and quantity](/forum/26-product-category-display/907428-variant-options-hiding-price-add-to-cart-button-and-quantity#357430 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 3.10.11 -- PHP version -- : 7.4.33  I have built an override, but when using variants on a product page and selecting the variant, the product price, quantity and Add to Cart button are hidden, so you can't add the product variant to the basket.  Default view:  Variant view:")*

Hi,

When you select another variant, the system will replace each area on the page to display the information of the new variant.
However, you ( or your template provider ) have customized the product details page ( the product / show_default view file which you can edit via the menu Display&gt;Views ) incorrectly, with the HTML of the elements on the right side, all inside the contact button area:
[ i.imgur.com/sSenkwC.png](https://i.imgur.com/sSenkwC.png)
So when the variant system replace the contact button area in order to display the button of the newly selected variant, it replaces all that area with just the contact button.
So you need to have that view override fixed by the person who made it.

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

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