Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

More categories


SEDef

Recommended Posts

Posted

Hi there

 

I wan't to know if it's possible to display two categories, one in left and one in right column?

And i wan't to display this in such way, that i have in left column only Category ONE and in right column Category TWO. Not in a way, that i have in left column Category ONE and TWO and in right column the same Category ONE and TWO.

Is this possible?

 

Thanks.

Posted

there are some contribution that you could modify for this

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

 

but you could also copy the categories.php to a different filename, move the tep_show_category function to a common file like general.php and remove the section that checks the cpath

 

//------------------------

if (tep_not_null($cPath)) {

//code to remove

}

 

then specify the category you want to display by replacing the

 

where c.parent_id = '0'

 

with

where c.categories_id = 'The category ID you want to display'

 

backup your files before experimenting.

Posted

Thanks for the help but i don't get this quite good...

This contribution does not make two separete category columns or?

 

And with this changing code thing, i'm not very good at this.

Can you be more specific?

 

Thanks

Archived

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

×
×
  • Create New...