Jump to content
Sign in to follow this  

Show Categories Name in index.php

Recommended Posts

Show categories in modules new_products.php and product_listing.php


$categories_query = tep_db_query("select categories_name from categories_description c, products_to_categories pc where pc.categories_id = c.categories_id and c.language_id='" . (int)$languages_id ."' and $products_id='".(int)$id."' = pc.products_id");

$categories = tep_db_fetch_array($categories_query);


Any idea

Share this post

Link to post
Share on other sites

I have lots of ideas but no idea what the problem is?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile


Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.


For links mentioned in old answers that are no longer here follow this link Useful Threads.


If this post was useful, click the Like This button over there ======>>>>>.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this