Forums / General Questions / Linking the Category Name to Featured Products Center Box

Linking the Category Name to Featured Products Center Box

Views: 617

Results 1 to 2 of 2
1 Sep 2011, 6:05 AM
#1
newbie456 avatar

newbie456

New Zenner

Join Date:
Aug 2011
Posts:
74
Plugin Contributions:
0

Linking the Category Name to Featured Products Center Box

Hi ya
Can anyone help me how to put the category name under the product name in featured listing? I need to have it linked to the page that shows the product listing of that category. Here is the link http://cncspares.com.au/

Hope that makes sense.
Any reply is much appreciated.

Cheers

1 Sep 2011, 6:53 AM
#2
newbie456 avatar

newbie456

New Zenner

Join Date:
Aug 2011
Posts:
74
Plugin Contributions:
0

Re: Linking the Category Name to Featured Products Center Box

I used this code to get the category name listed under the products name on featured products ```php
' . zen_get_category_name($featured_products->fields['master_categories_id'], $_SESSION['languages_id']) . '


it only gets the name.

this is the code that gets the product name and links it to a page
```php
<a href="' .  zen_href_link(zen_get_info_page($featured_products->fields['products_id']),  'cPath=' .  $productsInCategory[$featured_products->fields['products_id']] .  '&products_id=' . $featured_products->fields['products_id']) .  '">' . $featured_products->fields['products_name'] . '</a>

what I want now is to make the category name (which only prints in the screen) to be just like the product name.

Any help please?