{foreach $data["productList"] as $productId} {loop type="product" name="product_list" id=$productId} {include file="components/smarty/SingleProduct/SingleProduct.html"} {/loop} {/foreach}