We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Dynamic Feed

Solved

Dynamic Feed

RonaldS11
Shopify Partner
18 0 3

Hi.

 

I am wondering if I can generate a dynamic product feed for my shopify shop. I saw there are some apps with free plan but only offer like 500 products in feed and I need more. 

 

Can I generate it without any subscription to apps? I have ~ 5k products on my website and I'd like to create a dynamic feed for all of them.

Accepted Solution (1)

web_fraktional
Visitor
1 1 1

This is an accepted solution.

Hey, 
Chris here from Fraktional to help you!
A free way to achieve is by creating a custom theme template (page or collection that is) and using Liquid loops to emit XML or JSON.
For example, one can create a new page template (e.g. page.feed.liquid) with {% paginate collections.all.products by 1000 %}{% for product in collections.all.products %}…{% endpaginate %} to list all products in batches of 1000.

You can then assign this template to a blank page (e.g. /pages/feed) so visiting that URL returns the feed

This might be fairly technical, so if you need any help id be glad to provide further information!

All the best
Chris

View solution in original post

Reply 1 (1)

web_fraktional
Visitor
1 1 1

This is an accepted solution.

Hey, 
Chris here from Fraktional to help you!
A free way to achieve is by creating a custom theme template (page or collection that is) and using Liquid loops to emit XML or JSON.
For example, one can create a new page template (e.g. page.feed.liquid) with {% paginate collections.all.products by 1000 %}{% for product in collections.all.products %}…{% endpaginate %} to list all products in batches of 1000.

You can then assign this template to a blank page (e.g. /pages/feed) so visiting that URL returns the feed

This might be fairly technical, so if you need any help id be glad to provide further information!

All the best
Chris