November 18, 2020 21:44
Published: May 06, 2019 12:04
I have had a lot of comments for people looking to have this guide work specifically for the Brooklyn 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 Brooklyn theme.
1. make a new snippet and call it product-grid-item-variant.liquid. This is the loop that is used to display all products in the collection, and we are modifying it to work with our multi variant products.
2. make a new snippet and call it product-grid-collage-variant.liquid. This loop is different than the one above because of the new feature to allow the Brooklyn theme to show a collage or a grid for products.
3. Find the Collection-template.liquid section and modify it by copying this code and pasting it instead.
You should be all set now.
Comment below if you're struggling.