Liquid, JavaScript, themes, sales channels
Hello, can anyone help me in removing the size and color swatches from the collection page, but still keep them on the product page?
https://knockout-fightgear.com/ is my website, thank you very much and have a wonderful day!
Solved! Go to the solution
This is an accepted solution.
.product-options.product-options--type-collection.js-product-options {
display: none;
}
Hello
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.scss.liquid
This is an accepted solution.
.product-options.product-options--type-collection.js-product-options {
display: none;
}
Hello
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.scss.liquid
I don't have a theme.scss.liquid file or a theme.css file. After hours of searching I finally found the collection.json file, and changed the code "product_swatches": true, to "product_swatches": fasle, and this removed it from my collection page and not the product page. Hope this may help anyone who is also struggling with this.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024