| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Accesing the Next product | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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:
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:
Can someone help me with this problem. Thanks |
|||||||
#2
|
|||||||
|
|||||||
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.
__________________
ex x-cart guru |
|||||||
|
|||
X-Cart forums © 2001-2020
|