Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

I need a short description next to each subcategory. Like so:

 

Plants

___Trees

______Willows (short description on willows)

______Oaks (short description on Oaks)

 

 

I have the category descriptions mod installed, and the description field is used for the actual category page (eg the page that has all the willows items on it). However, this mod also adds categories_heading_title, which I don't use at this point. I tried adding the line

$categories['categories_name']

after the category picture and category link

$categories['categories_name']

but $categories['categories_name'] refers to the category page I am on at that moment (ie they are all the same), rather than the category that the link would take me to (ie one level down the tree), which is what I need it to do.

 

Is this possible and could someone please help me out. It seems such an obvious neccessity - but I guess everyone says that about their needs :-"

 

I don't really understand php and can barely make out which blocks of code have what function. Actually creating some from scratch is totally beyond me at this point. I would think this to be a rather simple issue though as the picture and link already come from the next level of the database, so it shoudl be easy enough to get the header title field from there as well.

 

Any ideas and advice greatly appreciated.

 

Tabaluga

Edited by Tabaluga
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...