Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add one category content to homepage


 Share

Recommended Posts

Hello,

 

I would like to have the products of a catgory on my homepage. The category is named bestsellers. This category only has three products in it and I would like it to be on my homepage. I read in the sts manual that I can do that like this:

 

--------------------------

$cat_CategoryID, $urlcat_CategoryID

Links to categories using the category ID. Better use the ID than the name, so changing the category name won't break the link. Example: $cat_2. To use these variables, uncomment their code.

--------------------------

 

I don't understand how to do this. First of all how do I know my category id? And where do I place the link?

 

Hope somebody can help me!

 

Thanks,

Marleen

Link to comment
Share on other sites

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

 Share

×
×
  • Create New...