Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick question on Category Description v1.01


Recommended Posts

I installed the contribution "Category Description v1.01 by Draven", I feel correctly. But I don't understand this little bit in the install.txt file:

 

Usage Example:

<?php echo $categories_desc['categories_description']; ?>

You may use this anywhere in your catalog (within a category) where you would like the category description to appear.

 

As a newbie to PHP and osCommerce, what does it mean? WHERE specifically can I put the above mentioned string to get category descriptions to show on my catalog? By the way, the admin portion appears to work.. allowing me to enter descriptive text for categories.....just can't get them to show up on the catalog.

 

 

Thanks in advance for any help!

:D

Link to comment
Share on other sites

  • 4 weeks later...

Hi Guys,

 

I have just installed this contrib and I need to use the

 

<?php echo $categories_desc['categories_description']; ?>

 

to display the category description under the category image I have.

 

I am adding this code into my main page via the define main page contrib.

 

So what I need to know is how to add ?cpath=21 for example to the above php code so it pulls the category description from the database?

 

Anyone know how to do this?

 

Thanks

 

Mark

Lifes a bitch, then you marry one, then you die!

Link to comment
Share on other sites

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

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