August 19, 2020 13:41
Published: April 20, 2020 13:18
I have had a lot of comments for people looking to have this guide work specifically for the Venture theme, so I am going to try to be as specific as possible and hopefully this can help more people achieve this on their own.
If you have a product such as a swimwuit that has 10 colors, you may want to keep it as one product, but to make your collection page look more 'full', so here is how you can turn that one product into 10 different ones on the collection page, but have the product page stay the same as one product with many variants on the Venture theme.
1. Open the Collection.liquid template and copy the code below to place instead of what is there. There are two spots you will need to modify if you use anything different for the option name. On line 30 and line 36, make sure you use Color as the option name, and you'll be all set. If nothing is showing, change line 37 to index1 instead of index0, but this should not be an issue.
2. Make a new snippet called product-card-variant.liquid and paste the code below into it. This is what will display when you have a product that has multiple color variants.
You should be all set now.
Comment below if you're struggling.