Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bringuing out Categories to infoboxes


Mookie_Jam

Recommended Posts

Due to the kind of products I have in the OsCommerce I started to build, it makes un-working for me havin a very depth catalogo.

 

How can I take out the titles of the categories in order to place them each one in an infobox?

 

title of the infobox = category name

buttons in the infobox= subcategorie's name

 

 

or could the category name work as a buttom outside the infobox?

Link to comment
Share on other sites

There is a contribution that allows you to have more than one category box. Would that work?

http://www.oscommerce.com/community/contributions,3327

Not at all but I will work on it... :wacko:

 

If my actual "Categories" infobox would have a squeme such as:

 

"Categories" (Title)

Cat1

- sub1.1

- sub1.2

- sub1.3

- sub1.*

Cat2

-sub2.1

- sub2.*

Cat3

-sub3.1

-sub3.*

 

I would like the Cat? act a the title of the section, so the subcategories sub? would be much more accesible, something like:

 

"Cat1" (Title)

sub1.*

 

 

And I am also considering to keep their funtion as button, that only lets one list being shown meanwhile the others are hide (as actually works inside the categories infobox), so it does not get crowed of text..

 

Maybe the solution is only playing with design and styles and keep it inside the same infobox? :huh:

Link to comment
Share on other sites

There are several contributions for the category box if you want to show all of your categories/subcategories in the box. Tru searching for category tree. I think that is what you want?

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

There are several contributions for the category box if you want to show all of your categories/subcategories in the box. Tru searching for category tree. I think that is what you want?

Thank You Wendy!!

 

It is pretty close to what I meant! I have to monkey around in order to get on with it, but it really seems great!!

Link to comment
Share on other sites

If that doesn't work, you could always hard code the links. I did that on my site because I wanted to seperate them and the multible categories box contribution wasn't out yet. lol

 

Worked out ok cause now I can throw a banner in there and whatever else I want without having to mess with any php.

 

 

Oh... have you thought of trying one of the DHTML menus? They may do something like you want.

Lists all the main categories, when mouse over the second categories show, mouse over them and the next shows. Takes up less space vertically.

Kind of annoy me on a site with a deep tree though.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

If that doesn't work, you could always hard code the links. I did that on my site because I wanted to seperate them and the multible categories box contribution wasn't out yet. lol

I was wondering about that, moving the code of place in order to use it wherever I would like to prove it, but as you see, I am a begginer on these and also starting in PHP :(

 

The problem is that I was making my try outs with mozilla firefox, but on the internet explorer it appears as if an image is break before each gruop division od the categorie.. :blink: :'( Any Idea hoe to solve this? I just make 1 transparent gif :-" But still looking how to put again the rounded corners...

 

PD: Where can I see your webpages? :P

Link to comment
Share on other sites

But still looking how to put again the rounded corners...

Fixed! In stead editing categories.php file it is more_categories.php file the one to be edited.. So logic! :blush:

 

The only fact is that it make the same changes in all the new categories infoBoxes..

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...