What to do when you have the Venture theme and want to hide/delete variants from user

3 1 0

Hello All:

I am a newbie with shopify but I do know what HTML, CSS, Javascript etc are and can make minor modifications to code.

I have created variants for a product but certain variant combinations do not exist. I would like it if the customer cannot select these non-existant variation combinations.

I did find a thread with a fix, but it doesn't work for the Venture theme. There are several offshoots of threads from that one, but I'm honestly getting confused. I can't tell if if it is NOT possible to do it with Venture, or maybe an advanced user can do it by editing code. 

So, can someone enlighten me if it is possible if you are using Venture?

Also, if there is a free App that can do this, I'd love to know what it is. 



214 27 85

Use something like this to your code @JBARTS 

{% if variant.available %}
      <option {% if variant == product.selected_or_first_available_variant %}
         selected="selected" {% endif %}
         data-sku="{{ variant.sku }}"
         value="{{ variant.id }}">
         {{ variant.title }} - {{ variant.price | money_with_currency }}
   {% else %}
      <option disabled="disabled">
         {{ variant.title }} - {{ 'products.product.sold_out' | t }}
   {% endif %}


Shopify Expert - Theme customization | Design | Marketing | Product Sales
Hire Me: anthonyuidesigner@gmail.com
Whatsapp ( Click on number )- +33 6 28 93 62 05
3 1 0

Hello Anthony:

I appreciate your quick reply, however I am not as advanced as you think I am.

The thread I was referring to is: https://community.shopify.com/c/Shopify-Design/Variants-Link-product-options/m-p/615156 . This is exactly what I need to do (i can follow the instructions here but it won't work), but this fix doesn't work for the Venture theme.  I need the "Linked-options" snippet to work with my Venture theme. Or a workaround. 

Sorry Anthony, but I'm probably not advanced enough to make use of your help. 

3 1 0

This is an accepted solution.

To anyone using Venture and is in need of a solution:

I used the info in this link and it worked!


After inserting the code, I looked at my page about 5min after and it seemed as though it didn't work. But it did. Not sure if I needed to clear my cache or I just hadn't waited long enough. 

My thanks to the creators of this solution.