{% for product in category.products | limit: {{section.limit}} %}
{% assign mylimit = 5 %}{% for product in category.products limit:{{mylimit}} %}