-
-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Description
Describe the bug
Hi there,
I have recently implemented the load more button on a Brooklyn theme and worked perfectly.
However when implemented on a new Narrative theme it fails to load the new objects (the request does succeed it's just the visual part not working).
I investigated a bit and seems to be the cardManager object in theme.js responsible for loading the new content.
I would really appreciate some assistance or guidance if possible.
The section responsible for rendering:
<div class="card-list grid" data-desktop-columns="{{ desktopColumns }}" data-mobile-columns="{{ mobileColumns }}" data-grid-style="{{ section.settings.grid_style }}">
<div class="card-list__column{% if totalProducts == 1 %} card-list__column--center{% endif %} grid grid__item {{ gridClasses }}">
<div id="ajaxinate-loop" >
{% for product in collection.products %}
{% include 'product-card', product: product, grid_style: section.settings.grid_style %}
{% endfor %}
</div>
</div>
</div>
To Reproduce
Steps to reproduce the behavior:
- Create narrative theme
- Add load more button and script
- Click load more
Screenshots
Desktop (please complete the following information):
- OS: macOS Catalina
- Browser: Chrome
- Version 80
Reactions are currently unavailable
