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

#   Hidden Variant Causing Issues

##

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

Less More

- Posts: 966
- Thank you received: 11
-
-

6 years 3 months ago [\#323426](#323426) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Hidden Variant Causing Issues](/forum/26-product-category-display/900499-hidden-variant-causing-issues?start=20#323426 "I'm in a bit of a pickle and I'm not sure how to fix it.  Say I have a Small, Medium and Large item.  If the Small is SOLD OUT, when the customer goes to the page, they see the SOLD OUT message without clicking on &quot;Small&quot;. This is deceiving as it appears that all of that product is sold out. Please see the URL added in this post.  So what I usually do is create a default variant and add it as the first one, then use CSS to hide it to get rid of the issue stated above. See example attach.  If the user goes to the page and click &quot;Add to Cart&quot; without selecting a size, the DEFAULT variant is added to the cart.  How can I avoid getting the DEFAULT/(Hidden) variant added to the cart?  Thanks!")*

Just checking in regarding my last post ![:)](/media/kunena/emoticons/3.png ":)")

Thanks!

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 3 months ago -  6 years 3 months ago [\#323531](#323531) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Hidden Variant Causing Issues](/forum/26-product-category-display/900499-hidden-variant-causing-issues?start=20#323531 "I'm in a bit of a pickle and I'm not sure how to fix it.  Say I have a Small, Medium and Large item.  If the Small is SOLD OUT, when the customer goes to the page, they see the SOLD OUT message without clicking on &quot;Small&quot;. This is deceiving as it appears that all of that product is sold out. Please see the URL added in this post.  So what I usually do is create a default variant and add it as the first one, then use CSS to hide it to get rid of the issue stated above. See example attach.  If the user goes to the page and click &quot;Add to Cart&quot; without selecting a size, the DEFAULT variant is added to the cart.  How can I avoid getting the DEFAULT/(Hidden) variant added to the cart?  Thanks!")*

Hello,

You have just to reproduce the same configuration from "Snap Buttons" characteristic, but with your"default" characteristic, and the important point is to switch it on the second characteristics
[ ![alt](https://i.imgur.com/e5iFR8f.png) ](https://i.imgur.com/e5iFR8f.png "alt")

regards

Last edit: 6 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 966
- Thank you received: 11
-
-

6 years 3 months ago [\#323586](#323586) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Hidden Variant Causing Issues](/forum/26-product-category-display/900499-hidden-variant-causing-issues?start=20#323586 "I'm in a bit of a pickle and I'm not sure how to fix it.  Say I have a Small, Medium and Large item.  If the Small is SOLD OUT, when the customer goes to the page, they see the SOLD OUT message without clicking on &quot;Small&quot;. This is deceiving as it appears that all of that product is sold out. Please see the URL added in this post.  So what I usually do is create a default variant and add it as the first one, then use CSS to hide it to get rid of the issue stated above. See example attach.  If the user goes to the page and click &quot;Add to Cart&quot; without selecting a size, the DEFAULT variant is added to the cart.  How can I avoid getting the DEFAULT/(Hidden) variant added to the cart?  Thanks!")*

How do I remove the Characteristics from the product name, as per the attached. It should not be there.

[ ![remove-characteric-from-product-title.jpg](/forum/attachment/50469) ](/forum/attachment/50469 "...duct-title.jpg")

Thanks!

- [ ![remove-characteric-from-product-title.jpg](/forum/attachment/50469) ](/forum/attachment/50469 "...duct-title.jpg") [ ](/forum/attachment/50469?download=1 "...duct-title.jpg")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 2 months ago -  6 years 2 months ago [\#323695](#323695) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Hidden Variant Causing Issues](/forum/26-product-category-display/900499-hidden-variant-causing-issues?start=20#323695 "I'm in a bit of a pickle and I'm not sure how to fix it.  Say I have a Small, Medium and Large item.  If the Small is SOLD OUT, when the customer goes to the page, they see the SOLD OUT message without clicking on &quot;Small&quot;. This is deceiving as it appears that all of that product is sold out. Please see the URL added in this post.  So what I usually do is create a default variant and add it as the first one, then use CSS to hide it to get rid of the issue stated above. See example attach.  If the user goes to the page and click &quot;Add to Cart&quot; without selecting a size, the DEFAULT variant is added to the cart.  How can I avoid getting the DEFAULT/(Hidden) variant added to the cart?  Thanks!")*

Hello,

We can suggest to give name to your variant like this example :
[ ![alt](https://i.imgur.com/1RhoFXj.png) ](https://i.imgur.com/1RhoFXj.png "alt")

That will leads to see result :
[ ![alt](https://i.imgur.com/WPeGV7V.png) ](https://i.imgur.com/WPeGV7V.png "alt")

See it by yourself on your product frontend &amp; backend.

Regards

Last edit: 6 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 966
- Thank you received: 11
-
-

6 years 2 months ago [\#323717](#323717) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Hidden Variant Causing Issues](/forum/26-product-category-display/900499-hidden-variant-causing-issues?start=20#323717 "I'm in a bit of a pickle and I'm not sure how to fix it.  Say I have a Small, Medium and Large item.  If the Small is SOLD OUT, when the customer goes to the page, they see the SOLD OUT message without clicking on &quot;Small&quot;. This is deceiving as it appears that all of that product is sold out. Please see the URL added in this post.  So what I usually do is create a default variant and add it as the first one, then use CSS to hide it to get rid of the issue stated above. See example attach.  If the user goes to the page and click &quot;Add to Cart&quot; without selecting a size, the DEFAULT variant is added to the cart.  How can I avoid getting the DEFAULT/(Hidden) variant added to the cart?  Thanks!")*

Hi Philip,

In order to do what you suggested, I would have to go through ALL the products and rename the variants - that is too much ![:(](/media/kunena/emoticons/22.png ":(")

Is it possible that I can add a class around the characteristic so that I can hide it? That would make things much easier/faster.

If not, I will just hope that in the near future the "Characteristics dynamic display" will not work ONLY when you have more than 1 characteristics.

[ www.hikashop.com/support/forum/product-c...g-issues.html#322784](https://www.hikashop.com/support/forum/product-category-display/900499-hidden-variant-causing-issues.html#322784)

Thanks!

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 2 months ago -  6 years 2 months ago [\#323736](#323736) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Hidden Variant Causing Issues](/forum/26-product-category-display/900499-hidden-variant-causing-issues?start=20#323736 "I'm in a bit of a pickle and I'm not sure how to fix it.  Say I have a Small, Medium and Large item.  If the Small is SOLD OUT, when the customer goes to the page, they see the SOLD OUT message without clicking on &quot;Small&quot;. This is deceiving as it appears that all of that product is sold out. Please see the URL added in this post.  So what I usually do is create a default variant and add it as the first one, then use CSS to hide it to get rid of the issue stated above. See example attach.  If the user goes to the page and click &quot;Add to Cart&quot; without selecting a size, the DEFAULT variant is added to the cart.  How can I avoid getting the DEFAULT/(Hidden) variant added to the cart?  Thanks!")*

Hello,

Yes, you can use a **custom css** code to remove the "extra" variant name, with this kind of code : Code:

span.hikashop_product_variant_subname { display: none; }

If you use this, as a result on any page the variant subname won't be display anymore.
If you want only remove it **on a specific context**, you can process like this : Code:

div.specific_html_page_class span.hikashop_product_variant_subname { display: none; }

Hope this will fit your needs.
Regards

Last edit: 6 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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