View product images

New Member
101 0 0
I am trying to find a solution to show one image on the product first page, and only show a different image on the product detail page. Any help or guidance would be most appreciated. I can't seem to find any dovumentation as to what certain functions do (which may keep me from screwing up my cart!) Here is the code I'm working with:
{% case product.images.size %} {% when 1 %} {% else %} {% for image in product.images %} {% endfor %}
{% for image in product.images %} {{ forloop.index }} {% endfor %}
{% endcase %}
0 Likes