Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hiding categories


Guest

Recommended Posts

hiya all

 

does anyone know how to hide an entire category without deleting it?

 

i need to hide 40 plus categories, but might need the info again later

 

thanks

Link to comment
Share on other sites

hiya all

 

does anyone know how to hide an entire category without deleting it?

 

i need to hide 40 plus categories, but might need the info again later

 

thanks

The enable/disable categories contribution allows you to do that

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

...... and where exactly would this feature be? i know to hide a product you click on the red & green dots (to make it active or inactive). the categories folders dont hav that option.

i clicked on the edit button and there too is no option to hide the category.

 

what exactly am i missing?

Link to comment
Share on other sites

you have to install the particular contribution.

In the top bar of this page, you can find the link to the contribution area.

 

This is the file you should find and install

http://www.oscommerce.com/community/contri...able+categories

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Hoi Carine,

i have a question with that contri (much work to install).

i read that using extended search, hidden products are found anyway.

do you have this contri installed and can you confirm?

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

yes, this is the additional change I made in advanced_search_result.php

//  Inactive/Active categories change
//  $where_str = " where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id ";
   $where_str = " where p.products_status = '1' and c.categories_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id ";

 

I think there are a few more places where I made a similar change, but I'm not sure where anymore. Trying to look it up on my wiki, but that one is down rightnow - host changed settings a few days ago :(

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

  • 3 months later...

do you know if the "hidden" category can still be obtained by a direct url?

 

 

you have to install the particular contribution.

In the top bar of this page, you can find the link to the contribution area.

 

This is the file you should find and install

http://www.oscommerce.com/community/contri...able+categories

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...