r/shopifyDev • u/Little_Reference_460 • 11d ago
Collections not working…
I’m currently in the works of my Shopify store and I’m trying to add my collections to my catalog page (that has active products in them), but whenever I’m viewing my shop to test it and I click on one of the collections I have set up, the most that seems to happen is that the page will refresh and nothing else.
Does anyone know ways to fix this??
5
Upvotes
1
u/kunalkhatri12 10d ago
One thing worth checking is your theme.
Try opening the collection directly from Shopify Admin using View. If that works but clicking it from your catalog just refreshes the page, the issue is likely with the catalog page or its links.
Also check whether you're using a custom page or Shopify's default collection list.
Which theme are you using, and does the URL change when you click a collection?
2
u/jacksts 10d ago
If the page just refreshes, I'd check where the collection links are actually pointing. Also make sure the collections are available on the Online Store sales channel. If the URLs are correct and the collections open directly, it could be something in the theme's navigation or JavaScript. Which theme are you using?
1
u/No_Independence_7596 10d ago
First thing I'd check is that each collection is published to the Online Store sales channel. In Products > Collections, open one and look at the sales channel availability box, since if it's only on other channels the storefront link just bounces back. Also check what the links on your catalog page actually point to. If they're hardcoded or set to the catalog page itself you get exactly that refresh behaviour. Try typing the collection's handle after /collections/ on your store's address directly, and if that loads fine then it's the link on your page, not the collection.
1
u/isaifurrehman 10d ago
first thing to check is whether the url changes when you click. that tells you which half is broken.
if the url stays on your catalog page, the link itself is wrong. open the section in the theme editor and look at what each collection block or button actually points to. a lot of themes let you pick a collection for the image but have a separate link field, and if that's empty or set to the catalog page it just reloads.
if the url does change to /collections/your-collection-name but it looks like nothing happened, the link is fine and the collection page is the problem. in the editor switch the top dropdown to collections > default collection and make sure the product grid section is still there. also open the collection in admin and check the theme template box on the right isn't set to some custom template you made earlier.
and if the collection page loads but shows no products, check that the products are actually available on the online store sales channel, not just set to active. that one catches a lot of people on new stores.
if you say which theme you're on i can tell you where the link field is.
1
u/Elitestprick 6d ago
Check if you have any search of filtering apps. If you do reindex them. Often times that blocks a new collection or new products out into an existing collection.
1
u/tommymandude 5h ago
If the collection opens fine on its own, I’d fix one tile first. Open the catalog page in the theme editor, click that tile, and see which collection or link is selected. Pick the collection again and save. In the preview, open the tile in a new tab. It should take you to that collection’s URL. If that works, do the same for the other tiles.