snipcart.html.twig 624 B

1234567891011121314151617181920
  1. {% extends 'partials/snipcart_base.html.twig' %}
  2. {% block content %}
  3. {% include 'modular/lightslider.html.twig' with {'page': page.find('/slider', true)} %}
  4. {{ parent() }}
  5. <div class="content-wrapper">
  6. {{ page.content }}
  7. <div class="snipcart-categories">
  8. {% for child in page.collection() %}
  9. {% if (child.header.unpublished is not defined or (child.header.unpublished == false)) %}
  10. {% include 'partials/snipcart_category_item.html.twig' with {'page': child, 'parent': page} %}
  11. {% endif %}
  12. {% endfor %}
  13. </div>
  14. </div>
  15. {% endblock %}