diff --git a/components/product/default.htm b/components/product/default.htm index 1441f16..a57bce8 100644 --- a/components/product/default.htm +++ b/components/product/default.htm @@ -2,14 +2,18 @@
{% for image in product.images %} -
+ {% if image.sort_order == '1' %} + {% set imageContainerClass = mainImageContainerClass %} + {% set imageSize = mainImageSize %} + {% else %} + {% set imageContainerClass = subImageContainerClass %} + {% set imageSize = subImageSize %} + {% endif %} + +