Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Show Categories Name in index.php


Guest

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

Link to comment
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 ======>>>>>.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...