| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
More Items link | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
More Items link
Hi, would anyone please give a direction?
I would like to add 'More items" link under each thumbnail linking to the main category of that item. I added a link at the bottom of skin1/customer/main/buy_now.tpl. But it didn't work. How do I add link to the 'main category'? I really appreciate script for this link. I am using x-cart gold, 4.3.1 Thank you very much. |
|||||||
#2
|
|||||||
|
|||||||
Re: More Items link
If you're wanting it under a thumbnail on the product page, then you will want to look in /skin1/customer/main/product.tpl
If you're wanting it under a thumbnail on the category page, then you will want to look in /skin1/customer/main/products.tpl (or if you display products in columns, then look in /skin1/customer/main/products_t.tpl ) |
|||||||
|
#3
|
|||||||
|
|||||||
Re: More Items link
Thank you for your response.
Would you possibly give me some hints on script linking to the main category as well? Thank you.
__________________
X-Cart 5.3.3.4 Multivendor X-Cart 5.3.3.4 Business (Testing) |
|||||||
#4
|
|||||||
|
|||||||
Re: More Items link
The variable {$cat} contains the category number of a product when viewing single products. So you could do something such as this link (note: havent tested this myself. Its a guess):
{$http_location}/{$xcartdir}/home.php?cat={$cat} If you're website isnt installed to root. If it is.. {$http_location}/home.php?cat={$cat} |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|