Skip to content

Commit

Permalink
Re add limit to feat. collection section (#3717)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoboludo authored Feb 5, 2025
1 parent b4045d8 commit 5fef390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/featured-collection.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@

{%- if section.settings.collection.products.size > 0 -%}
{% paginate section.settings.collection.products by section.settings.products_to_show %}
{%- for product in section.settings.collection.products -%}
{%- for product in section.settings.collection.products limit: section.settings.products_to_show -%}
<li
id="Slide-{{ section.id }}-{{ forloop.index }}"
class="grid__item{% if show_mobile_slider or show_desktop_slider %} slider__slide{% endif %}{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}"
Expand Down

0 comments on commit 5fef390

Please sign in to comment.