Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set categories = craft.categories.group('products') %}
- {% for category in categories %}
- {{ loop.last ? 'and ' }}{{ category.title }}{{ loop.index > 2 ? ', ' }}
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement