Guest Posted December 9, 2005 Posted December 9, 2005 I need to know if it is possible to code a direct link to a particular category. For example, say you are setting the cart up for a company that sells coffee and tea, and they have a tagline under their logo in the header that reads "Gourment Coffee and Tea". Is it possible to have "Coffee" in the tag line become a live link to the "coffee" category and "Tea" to become a live link to the "tea" category? Yes, I'm making it harder that it actually needs to be, but I'd like to know if this is possible. My client originally had multiple html pages and the above tagline linked in to their main display pages for those areas. And they still want that. I'd like to find out if it can be done before I bust a gut laughing at them and saying "No".
♥Vger Posted December 9, 2005 Posted December 9, 2005 Yes, it's possible to link directly to a category, sub-category, and a product. You would make the link something like this: <a href="index.php?cPath=24">text link or image link here</a> To find out the cPath just go to your Admin --> Catalog and then mouse over the Category and it'll show you the cPath. Vger
lonestarbaits Posted December 13, 2005 Posted December 13, 2005 I'm having trouble, I wanna make the category links in the categories box go directly to the products, because I only have one product per category. I tried that code above in boxes\categories.php, but the link wouldn't go inside the box, it was above it and it looked distored.
Guest Posted December 13, 2005 Posted December 13, 2005 Couldn't you just make them one catagory, say "Featured Lures" and stick all the items in it? You could then alter the box heading, maybe remove it all together, and that would take ppl to your list of lures.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.