Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2.3.3.4 - Hide Categories - Which One?


Mort-lemur

Recommended Posts

Posted

Hi,

 

There are several methods available for Hiding Categories on the site, but which one is most suitable for use with 2.3.3.4?

 

I need this as some of my categories are seasonal items and need to be hidden at the times of the year that they are not available.

 

Previously on my 2.2 stores I used this mod by spooks http://www.oscommerce.com/forums/topic/318434-contribution-hide-categories-products/page__st__20 and it worked well, but Im concious that this dates back to 2008 and may not be suitable for use with 2.3.3.4 - and as my site is now live I dont want to start breaking things.......

 

Many Thanks for any suggestions............

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

Hi Heather,

 

I used the one from spooks on a 2.3.1 store successfully very easy install I was using the accordion category menu add on so that took a bit of fiddling

other than simple install so would think should be ok but as I said 2.3.1 not 2.3.3.4

 

Hope that helps

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Posted

@@joli1811 Thanks John,

 

Ill give it a go and report back here.

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

Hi - Yes that one works fine - a little bit of twiddling with some of it but generally good - Ill add it to my 2.3.3.4 thread...

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

@@joli1811 Hi John,

 

What changes did you need to do to the superfish menu files to enable the category to be switched off in the menu ?

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

@@Mort-lemur

 

It was the accordion menu from Jim not the superfish but will have a look

 

Regards

John

To improve is to change; to be perfect is to change often.

 

Posted

@@Mort-lemur

 

you could maybe try this in the accordion menu I had to change in x 2 places but can only see x 1 in the superfish

 

// Get the categories from the database and load them into a tree array

private function get_subcategories( $parent_id ) {

if( tep_has_category_subcategories( $parent_id ) ) {

global $languages_id;

 

$categories_data = array ();

// Retrieve the data on the subcategories

$categories_query_raw = "

select

c.categories_id,

c.parent_id,

cd.categories_name

from " . TABLE_CATEGORIES_DESCRIPTION . " cd

join " . TABLE_CATEGORIES . " c

on (c.categories_id = cd.categories_id)

where

c.parent_id = '" . ( int ) $parent_id . "'

and cd.language_id = '" . ( int ) $languages_id . "'

and c.categories_status = 1

order by

c.sort_order,

cd.categories_name

";

To improve is to change; to be perfect is to change often.

 

Archived

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

×
×
  • Create New...