Jump to content
Sign in to follow this  

Category Name in Product Info Page

Recommended Posts

im looking for some help with getting the category id from the database in my product_info.php page....what it is for is my site is a salesyard with a few seperate locations and i want he script to get the information from the datbase so it will work like


it would have to grab the parent category


if catid = 22

then print "Call Geoff on 12345678"


elseif catid = 24

then print " Call Bob on 123445678"


any help please post or email me on



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