View Single Post
  #11  
Old 04-21-2011, 08:18 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Adding a link to category from product listing

In this case try this one:
* add
PHP Code:
$smarty->assign('current_category'$current_category); 
to the "product.php" script, right before this code
PHP Code:
if (!empty($product_info)) {

    
$location[] = array( 
* use
Code:
{$current_category.category}
in the skin/common_files/customer/main/product.tpl" template.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote