Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Various Categories Boxes


Guest

Recommended Posts

Posted

Hi all

 

i need to made some changes how the categories boxes is displayed.

 

in the actual osc works :

 

Categories Box

categorie1

subcategarie

categorie2

categorie3

and so on ...

 

i need to display one categorie for box

 

Box

categorie1

subcategorie

 

Box

categorie2

....

 

Box

categorie3

 

 

i need to do this cause i only have 4 Main Categories and many subcategories and i need to enhance the main 4 categories cause they are about diferent subjects..

anyone have trying to do this, or know any contribution that can help me or save me some time ???

 

Any help will be welcome

thz in advanced , and sorry for my english ... :blush:

Posted

you can edit includes\boxes\categories.php and modify it so if the parent category id is 0 you create a new box. Currently the code appends everything in one string so you will modify the loop once to build a box only if the c.parent_id = 0

 

I dont know if a contribution exists for this.

Posted
you can edit includes\boxes\categories.php and modify it so if the parent category id is 0 you create a new box. Currently the code appends everything in one string so you will modify the loop once to build a box only if the c.parent_id = 0

 

I dont know if a contribution exists for this.

 

 

can u give me a litle help with this, im a newbiee in php .

 

i will be very apreciated.

 

thz

Archived

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

×
×
  • Create New...