Hello, I am trying to add an audio player to each product, but I need to place the code in the product loop section. I have searched the card-product.liquid and cannot find the loop section. Any ideas on where the loop section is located to add the code will be greatly appreciated.
Hi @BellMusic
**Where to Look for the Product Loop:**1. Sections Folder:
-
Check sections/product-card.liquid or sections/product-grid.liquid.
-
Some themes have this under sections/main-collection-product-grid.liquid.
-
Snippets Folder:
-
Look for snippets/card-product.liquid or snippets/product-item.liquid.
-
This is where individual product cards in collection pages are often rendered.
-
-
Templates Folder (Less Common):
- If not found elsewhere, check templates/collection.liquid or templates/index.liquid to see how products are being loaded.
Hope this helps.
Thanks so much!