Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
Hi there,
I'm using the Shopify Section rendering API for collections page. in my collection-template for pagination I'm using limit as
{%- assign limit = section.settings.grid | times: section.settings.rows -%}
where my grid=4 and rows =6 so 24 products in total, per page. Next, I'm making AJAX call to load the other pages i.e.
?page=2§ions=collection-template
But during this AJAX call the grid and rows values are reset to 4 and 4 and it's loading 16 products. while the section should take the section's setting values not some default values. From my POV this is a bug in Section rendering API.
FYI: I'm only having these settings for default collection no other collection have individual settings.
Hey @wpconsulate ,
Unfortunately this isn't a bug, but by Shopify design.
You can read more about it here.