![]() |
Accesing the Next product
Hello,
In the customer/main/products.tpl I would like to be able to know what is the next product from list. I looked up the Smarty documentation and here is what I found: Code:
{section name=customer loop=$custid} I triend to implement something similar but I get an error: Smarty plugin error: [in customer/main/products.tpl line 3]: unknown tag - '$products.[product.index_prev].productid' Code:
{section name=product loop=$products} Can someone help me with this problem. Thanks |
The next product from the list is already in the products.tpl template.
It simply loops through the $products array using the process you described. I dont follow what you are trying to do in this template. If however, you want to do this in the product detail page, there is another thread on the forum that covers this in more detail but to my knowledge has not been solved yet. |
All times are GMT -8. The time now is 04:29 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.