Hi All,
I am trying to modify search results and show them as 4 products in row.
If I want to show all products I simply do :
{% for product in results.products %}
{{product.name}}
{% endfor %}
But what I want to do is, Show all proudcts in rows and each row containing
four proudcts. If I do slice it works for first four proudcts.
{% for product in results.products|slice:"0:4" %}
I am not getting how to wrap it in a outer loop achieve this. Can somebody
suggest ?
~Puneet
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.