Changed 'template' loop into 'product-template' loop