I'm trying to remove specific collections from my All Collections page.

I'm trying to remove specific collections from my All Collections page.

Mahi-S9080
Shopify Partner
1 0 0

I was trying to remove some specific collections from my All Collections pages. I found many codes online but the problem is i want to remove 30 plus collections from my All Collections page and when i use this code to remove Collections it created empty spaces on the pages and even a whole empty page in the middle. It seems like the Collections are not visible now but shopify still counts them in pagination. How can i fix this? I used this code to hide collections and my store them is Publisher 

IMG-20240927-WA0046.jpg

IMG-20240927-WA0026.jpg

 

 

Replies 2 (2)

Iwillsolveit
Tourist
42 1 3

You stayed you've tried many code I would suggest changing your theme

Hello I'm Nolan you can reach out to me here (https://wa.link/f7lf0o) if you ever need anything 

Sweet_Savior_3
Shopify Partner
1336 102 138

Hello @Mahi-S9080 

 

If you want to show or have only 50 collections to be shown and remove all other then I would suggest you to create a new section and select blocks and add collection of you choice. 

 

This needs some liquid logic. So if you are not good with it I recommend you to seek help from a developer.

 

Let me know if you need one.

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!