hideCategories

Views: 105,228

Results 461 to 480 of 488
26 Sep 2015, 7:06 PM
#461
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

hideCategories

I tried advance_search_result page code that came in module and it caused search function to stop on my site. For each keyword it shows no matching product found. Any idea who to merge this file or fix this issue?

26 Sep 2015, 11:34 PM
#462
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: hideCategories

jsarwar:

I tried advance_search_result page code that came in module and it caused search function to stop on my site. For each keyword it shows no matching product found. Any idea who to merge this file or fix this issue?

If you continue to have problems with this plugin you may want to try CSAR - https://www.zen-cart.com/downloads.php?do=file&id=1234 - which gives you even more flexibility. The mod has been recently updated.

Version 2.1.1 is for ZC 1.5.4 only though.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Sep 2015, 1:32 AM
#463
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: hideCategories

but CSAR does not hide categories right?

27 Sep 2015, 1:50 AM
#464
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: hideCategories

jsarwar:

but CSAR does not hide categories right?

Yes it does, that's the whole idea.

The whole store continues to work as normal, customers can browse, see prices, add products to the cart and check out - with the exception of the specified categories. - unless they are authorized to do so.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

18 Nov 2015, 9:46 PM
#465
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: hideCategories

if im using zen 1.5.1 do i use csar v2.0 only

18 Nov 2015, 10:48 PM
#466
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: hideCategories

jimmie:

if im using zen 1.5.1 do i use csar v2.0 only

Please ask question about CSAR in the support thread for CSAR.. If you have a specific question regarding hideCategories, then this is indeed the right place to ask..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

18 Nov 2015, 11:28 PM
#467
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: hideCategories

does the current version work with 1.5.1

28 Jan 2016, 3:32 PM
#468
dpmark avatar

dpmark

New Zenner

Join Date:
Apr 2012
Posts:
11
Plugin Contributions:
0

Re: hideCategories

I downloaded it however the however I can't get the installation link to work that tells you how to install it. When I click on it, just void comes up. Can I get the installation instructions sent to me?

29 Jan 2016, 1:23 PM
#469
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

Re: hideCategories

Hello

having trouble with the addon:

  • did a proper instal, I did run the sql command, open and saved the categories (and subcategories within them) ... now when I use the search box for a product that is not hidden, I get the following message

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by p.products_sort_order, pd.products_name limit 15' at line 1
in:
[SELECT DISTINCT p.products_image, p.products_quantity , m.manufacturers_id, p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_price_sorter, p.products_qty_box_status, p.master_categories_id FROM (zen_products p LEFT JOIN zen_manufacturers m USING(manufacturers_id), zen_products_description pd, zen_categories c, zen_products_to_categories p2c ) LEFT JOIN zen_meta_tags_products_description mtpd ON mtpd.products_id= p2c.products_id AND mtpd.language_id = 1 WHERE (p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 AND p.products_id = p2c.products_id AND p2c.categories_id = c.categories_id AND ((pd.products_name LIKE '%bof001%' OR p.products_model LIKE '%bof001%' OR m.manufacturers_name LIKE '%bof001%' OR (mtpd.metatags_keywords LIKE '%bof001%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%bof001%' AND mtpd.metatags_description !='') OR pd.products_description LIKE '%bof001%') )) order by p.products_sort_order, pd.products_name order by p.products_sort_order, pd.products_name limit 15]

any suggestion where the problem come from ?

thanks

31 Jan 2016, 4:40 PM
#470
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: hideCategories

dpmark:

I downloaded it however the however I can't get the installation link to work that tells you how to install it. When I click on it, just void comes up. Can I get the installation instructions sent to me?

If you are trying to view the readme from within the zip file, you will not be able to view it that way.. Unzip the files to be able to open the readme file.

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

11 Feb 2016, 2:51 AM
#471
tadj_hemingway avatar

tadj_hemingway

New Zenner

Join Date:
Apr 2013
Location:
Eastpointe, Michigan, United States
Posts:
20
Plugin Contributions:
0

Re: hideCategories

I was having the same trouble of the products of select categories showing up in the search and the includes/modules/pages/advanced_search_results/header_php.php not working. I found a solution. I stated a test area to work in with zen-cart 1.5.4 and only installed the hidecategories plugin and kept with the original header_php.php don't us the one that come with it and edit it. In another part of the forums someone named Jammin320 said "For me, the category ID that I want to hide is number 20. That number will be different for you"
Change header_php.php line 249 from: AND p2c.categories_id = c.categories_id ";
To: AND p2c.categories_id = c.categories_id
AND p.master_categories_id != '20' ";

save and publish, totally works

11 Feb 2016, 12:55 PM
#472
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,449
Plugin Contributions:
3

Re: hideCategories

Tadj Hemingway:

I was having the same trouble of the products of select categories showing up in the search and the includes/modules/pages/advanced_search_results/header_php.php not working. I found a solution. I stated a test area to work in with zen-cart 1.5.4 and only installed the hidecategories plugin and kept with the original header_php.php don't us the one that come with it and edit it. In another part of the forums someone named Jammin320 said "For me, the category ID that I want to hide is number 20. That number will be different for you"
Change header_php.php line 249 from: AND p2c.categories_id = c.categories_id ";
To: AND p2c.categories_id = c.categories_id
AND p.master_categories_id != '20' ";

save and publish, totally works
Great!

I don't know if your solution will only apply to 1.5.5 but for me, using 1.5.4 I just substituted the file with the original one from the pack, and search is now working and doesn't come up with the hidden categories results.

IDEASLady
IDEAS Creative Studio

Your image... our business!

3 Jan 2017, 8:35 PM
#473
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: hideCategories

Just patching the plugin into my site, a major upgrade from 1.3.9h to 1.5.5d.

Supposedly only one file in the /includes... folder is to be edited...

includes/modules/pages/advanced_search_result/header.php - No problem with that.

Then came on this one...

includes/classes/sitemap.php which appears to have a small patch that's not flagged but seems to refer to Hide Categories, thus:-

from " . TABLE_CATEGORIES . " c LEFT JOIN "
. TABLE_HIDE_CATEGORIES . " h ON (c.categories_id = h.categories_id), "
. TABLE_CATEGORIES_DESCRIPTION . " cd
where (h.visibility_status < 2 OR h.visibility_status IS NULL)
and c.categories_id = cd.categories_id

So, patch or not? Any suggestions welcome.

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

4 Jan 2017, 1:49 AM
#474
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,449
Plugin Contributions:
3

Re: hideCategories

If you are upgrading and did your backup/restore of database, you don't need to run again the patch.

IDEASLady
IDEAS Creative Studio

Your image... our business!

27 Feb 2017, 11:25 PM
#475
ehswift avatar

ehswift

New Zenner

Join Date:
May 2008
Location:
Amarillo, TX
Posts:
39
Plugin Contributions:
0

Re: hideCategories

**Download page says this works on version 1.5.5 - I am using ZenCart 1.5.5d - Does That Matter?
**
This appears to be a great contribution at first glance, but I am thoroughly getting frustrated with it. All seems to be fine until I upload this file to my webserver: includes/templates/YOUR_TEMPLATE/sideboxes/tpl_categories.php. After this file is loaded all of the content below the header and logo area disappears. Merging files together does not help to alleviate this problem either. Can someone please help me figure out why it is doing this? Also, if it helps, I am using a modified version of responsive_classic. Is the responsive part throwing a stick in the spokes or is it something else? Admin function appears to work fine, it's just the front end that appears to be jacked up. Thanks for helping in advance.

Plugins Installed...

  • About Us Page
  • Back to Top
  • ckeditor-for-zencart
  • Frontpage_Slideshow.v2.0.3
  • FAQ_Manager_2.3
  • Ceon-URI-Mapping-4.5.2
  • Simplified Social Share
  • backup_mysql_plugin_v5
  • simplified-social-share
  • Ultimate Slideshow 2.6.1

**Edward Swift: **AbilityMovingandStorage.com

28 Feb 2017, 12:20 AM
#476
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: hideCategories

ehswift:

Download page says this works on version 1.5.5 - I am using ZenCart 1.5.5d - Does That Matter?

No, it doesn't usually matter which "letter".

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Feb 2017, 2:32 AM
#477
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: hideCategories

ehswift:

All seems to be fine until I upload this file to my webserver: includes/templates/YOUR_TEMPLATE/sideboxes/tpl_categories.php. After this file is loaded all of the content below the header and logo area disappears.
You said most of the page "disappears". That sounds a lot like: http://www.zen-cart.com/content.php?124-blank-page ... so, what errors are being recorded in the logs folder?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 May 2020, 8:08 PM
#478
radius9999 avatar

radius9999

New Zenner

Join Date:
Apr 2007
Posts:
14
Plugin Contributions:
0

Re: hideCategories

Hi. I noticed when I have sub categories in a hidden category, they show up in the left menu when I'm in the main category. This is good for me, but is there a way to show the main category too once you're in it? Just having the subcategories listed on the left is confusing because they're not connected to a main category heading. So some kind of "hidden until entered" coding?

26 Jun 2020, 8:44 AM
#479
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: hideCategories

admin/categories.php

The most recent version of this addon still contains the line ;

  require(DIR_WS_MODULES . 'prod_cat_header_code.php');

I don't think recent versions (>= 1.5.6) of Zen have that file.

Attached is a version of categories.php that is working for me at the moment. Just a hacked together version of previous code in a way that doesn't conflict. Still developing the site so I guess I may come up with other glitches.

Nick
iszent.com

5 Aug 2020, 2:34 PM
#480
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

Re: hideCategories

Site url is pfcind.com, 1.5.6c, plugins are lightbox, easy populate, Newsbox Manager. Testimonials Manager, php 7.2,

This is my first post and I sincerely apologize if this has been addressed elsewhere, I have searched and have not been able to find anything that specifically addresses this question.

I would like to know if there is a "built in" function to hide ezpages unless authorized to login?

With respect to Customer Details under the View Shop and Prices along with Authorization Pending: 2= May browse but no prices unless logged in & 2= May browse but no prices unless Authorized.

As a result customers must login to view prices and must be authorized to view those prices. I would like to have content exclusive to authorized customers only.

Again, I apologize if this has been answered elsewhere but I cannot locate. I greatly appreciate your help.