hello, I am the worst at coding. But could someone help me hide this variant? Preferably if I could insert something direkt in the CSS box.
Thx alot!
hello, I am the worst at coding. But could someone help me hide this variant? Preferably if I could insert something direkt in the CSS box.
Thx alot!
Hello @JustNordic
Remove via Shopify Admin (Recommended)
Hi @JustNordic
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for “theme.liquid” file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for tag and add the following code above tag: https://prnt.sc/KWtKYyZkDtYJ
Here is the code for Step 3:
{% style %}
{% if canonical_url == "https://www.lilla-varlden.se/products/barnvagn-optima" %}
variant-picker.variant-picker > fieldset.variant-picker__option:nth-child(3) {
display: none !important;
}
{% endif %}
{% endstyle %}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.
Hi @JustNordic
This code only works for this product page
In case you want it to work for all products
Please delete these 2 lines
Hi!
Sorry for the delay in reply. But yess! This worked perfect! How every The Save button does not get chick so I cant klick save.
why??
Yes, unfortunately, this is not helping because I can’t fulfill the order due to a lack of mapping.
Many thanks! How every I have many diffrent products, and this code has to apply for a couple of them.
I resolved it by also enabling another option in my case, Enable Video Looping, which I didn’t have before. Together with the CSS code and a change in the settings, I was able to save it. Then, I simply switched it off.