Code:
{if $smarty.section.product.index is div by 2}
should be:
Code:
{if $smarty.section.products.index is div by 2}
note s in products.
I think
Code:
{section name=product loop=$products}
name=product should be products as well, but give those two methods a try.