April 28, 2021 15:11
Published: August 19, 2020 13:41
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 Debut theme.
1. make a new snippet and call it product-card-grid-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-card-list-variant.liquid. This loop is different than the one above because of the new feature to allow the Debut 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.