Zen Cart Logo

hideCategories

Views: 104,787

Results 181 to 200 of 487
22 Nov 2008, 11:31
#181
daffy avatar

daffy

Zen Follower

Join Date:
Jul 2008
Posts:
114
Plugin Contributions:
0

hideCategories

I had the same problem, it was working fine in the Admin but nothing happened on the site. It's a simple mistake... Where the folder name is YOUR_TEMPLATE, you have to make sure that those files and folders end up in your specific template folders. Once I had the files and folders where they belong, everything worked perfectly. I'm very impressed. This is a nice mod and the ReadMe file is very well done.

29 Nov 2008, 16:40
#182
nsabaits avatar

nsabaits

New Zenner

Join Date:
Oct 2008
Posts:
53
Plugin Contributions:
0

Re: hideCategories

if you need to remove this mod, the instructions in the read me file says just undo the changes. This is not true. My store has required a lot of work to remove it. Avoid unless you have lots of time on your hands especialy as the designer seems less than helpfull.

:frusty:

29 Nov 2008, 18:36
#183
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

Hmm... there's only one thing I can say to that.

JERK!

"less than helpful" my ######. I stated from the beginning that I designed it for a specific purpose and support wouldn't be given. There is an expectation that if YOU are modding YOUR site that YOU know what YOU are doing. It certainly isn't my fault that you can't follow directions or figure out things on your own or understand PHP. It very much IS as simple as reversing what you did.

Dumbass.

05 Dec 2008, 19:14
#184
nsabaits avatar

nsabaits

New Zenner

Join Date:
Oct 2008
Posts:
53
Plugin Contributions:
0

Re: hideCategories

Understanding PHP????????????? reversing what you did?????????? Yupp that's all good Dumbass!

Provided that you have a working knowledge of PHP. My comment was aimed at the support that you give which as you stated is "NONE". If you do not have a working knowledge of PHP then as I stated it takes a bit of work to remove as you have edits in some of the core files. Therefore if you already have modified your zencart a simple re-tracing of your steps is not possible for the novice as it also includes some modifications to global templates if again you have modified your templates too.

So a simple re-trace your steps is not possible. :P

Sorry if I upset you Dumbass!

05 Dec 2008, 19:33
#185
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

Your lack of appreciation for a community which provides FREE software is what upsets me.

Of course a simple re-trace of your steps is possible. If you don't know what you're doing then proceed with caution and keep backups until you figure out what you're doing. That's not advice for my mod, it is for any mod. But bashing me for not holding your hand is ludicrous. Go pay someone and stop yer bitchin.

03 Jan 2009, 15:58
#186
webwahm avatar

webwahm

New Zenner

Join Date:
Jan 2009
Posts:
7
Plugin Contributions:
0

Re: hideCategories

Hi, thrilled I found this mod by chance as it solves a problem I've been mulling over for days!

OK I'm no techi, but I've installed a couple of things on ZC already and managed to get them working.

I've looked through the entire thread, and tried the suggestions relating to tables not existing and descriptions, but I still get this error in the store. I've checked that I merged the files twice.

Looking at the error it might be to do with the Bestseller box? And the error appears where a sidebox would go. Sorry to sound stupid but this is the first time I've done anything involving the 'install sql patches' (seemed to work though, said it was successful).

1146 Table 'jasweene_zc2.products_description' doesn't exist
in:
[select distinct p.products_id, pd.products_name, p.products_ordered from zen_products p LEFT JOIN zen_hide_categories h ON (p.master_categories_id = h.categories_id), products_description pd WHERE (h.visibility_status < 2 OR h.visibility_status IS NULL) AND p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' order by p.products_ordered desc, pd.products_name limit 10]

Anyone spot any glaringly obvious errors I've made to cause this?

Thanks in advance
Adele

05 Jan 2009, 23:36
#187
tim_m avatar

tim_m

New Zenner

Join Date:
Jan 2009
Posts:
22
Plugin Contributions:
0

Re: hideCategories

webwahm:

Hi, thrilled I found this mod by chance as it solves a problem I've been mulling over for days!

OK I'm no techi, but I've installed a couple of things on ZC already and managed to get them working.

I've looked through the entire thread, and tried the suggestions relating to tables not existing and descriptions, but I still get this error in the store. I've checked that I merged the files twice.

Looking at the error it might be to do with the Bestseller box? And the error appears where a sidebox would go. Sorry to sound stupid but this is the first time I've done anything involving the 'install sql patches' (seemed to work though, said it was successful).

1146 Table 'jasweene_zc2.products_description' doesn't exist
in:
[select distinct p.products_id, pd.products_name, p.products_ordered from zen_products p LEFT JOIN zen_hide_categories h ON (p.master_categories_id = h.categories_id), products_description pd WHERE (h.visibility_status < 2 OR h.visibility_status IS NULL) AND p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' order by p.products_ordered desc, pd.products_name limit 10]

Anyone spot any glaringly obvious errors I've made to cause this?

Thanks in advance
Adele

I have this same problem. I removed the bestseller box files since I do not use the best seller box on my site. It worked after that.

I still have a few things to figure out though.

05 Jan 2009, 23:43
#188
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

In the readme, there are hints on how to edit sideboxes so that it works. There was no way to make the package work with every possible configuration, sorry. I'm not going to look at this code any more because once the new version of zen comes out it will be done in a completely different way.

Steven

19 Jan 2009, 23:21
#189
sartor avatar

sartor

New Zenner

Join Date:
Dec 2008
Posts:
56
Plugin Contributions:
0

Re: hideCategories

s_mack I have a question for you that is very important.

I have uploaded all the files correctly, that I am sure of.

We have a pricegrabber page, and we want all the pricegrabber prices to go to the hidden product pages that have a discounted price.

For some reason, all our discounted prices are showing up on the products listing page. For instance, if you click adobe, you can see our regular price, and the discount price listed.

The category is set to hidden in the admin, and i've not had any issues except for this one.

Please let me know what I can do ASAP, or we will have alot of unhappy customers!

https://www.baselinesoftware.com

Thanks!

20 Jan 2009, 18:20
#190
sartor avatar

sartor

New Zenner

Join Date:
Dec 2008
Posts:
56
Plugin Contributions:
0

Re: hideCategories

can anyone help?

12 Feb 2009, 01:10
#191
ivogue avatar

ivogue

New Zenner

Join Date:
Nov 2008
Posts:
16
Plugin Contributions:
0

Re: hideCategories

Steven,

Just to let you know thank you so much for creating this mod. This mod is what exactly what my client need for his store. I installed and everything is great, works great.

For those who had sidebox mess up... try to look for the answer in the coding.

Because I figured out myself.

13 Feb 2009, 18:21
#192
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: hideCategories

does anyone know how to make this mod work properly when working along side the "categories Dressing" mod?

All files merged with winmerge and site functioning properly. I have the hide options in admin category edit, but they still appear in the category tree menu.

18 Feb 2009, 16:55
#193
ron_haltermon avatar

ron_haltermon

New Zenner

Join Date:
Dec 2007
Location:
Dothan, Alabama
Posts:
16
Plugin Contributions:
0

Re: hideCategories

I'm using the latest version of Zen Cart with several addons. This hidden category with products accessible only by password should work with any version.

I have come up with a pretty simple answer to something that may be of interest to several of you out there. I have set up an “Invisaible” category with “invisible” products (invisible to the casual visitor/customer). I can e-mail a password and/or user name to any number of individuals giving them access to the hidden product or products. They have access to the normal checkout procedures. The method also uses “cookies” so they don’t have to log in again if going from page to page. They will have to log in to your store site in order to check out, however.

Not sure this is what a number of you are looking for, but if you are interested (my information is free!), e-mail me at [email protected] and I’ll send you my instructions (14 steps) and supporting info.
:D

18 Feb 2009, 17:01
#194
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

Nice! Curious though... did you modify my contrib or you came up with a new one entirely?

19 Feb 2009, 03:39
#195
bumpspt avatar

bumpspt

New Zenner

Join Date:
Dec 2008
Posts:
4
Plugin Contributions:
0

Re: hideCategories

Love this mod Steven. This is exactly what I needed for my site.

Like a couple others on this thread, I use the top category tab and wanted a way to hide the categories there as well. I came up with this solution that is working for me....

copy: /includes/modules/categories_tab.php
to: /includes/modules/YOURTEMPLATE/categories_tab.php

around line 31, replace the code:

$categories_tab_query = "select c.categories_id, cd.categories_name from " .

TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd

                          where c.categories_id=cd.categories_id and c.parent_id= '0' and cd.language_id='" . (int)$_SESSION['languages_id'] . "' and c.categories_status='1'" .

with new code:

$categories_tab_query = "select c.categories_id, cd.categories_name from " .

TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd," . TABLE_HIDE_CATEGORIES . " cde

                          where c.categories_id=cd.categories_id and c.categories_id=cde.categories_id and c.parent_id= '0' and cd.language_id='" . (int)$_SESSION['languages_id'] . "' and c.categories_status='1' and cde.visibility_status='0'" .

This adds an argument to the query to check the visibility status and hide any category that is not set to normal.

As with another post I read in this thread, this does require that all of your categories have a hide_categories value in the database. The other post noted this could be done through editing the database to add the value. Being a novice, I don't like to directly edit the database and found a different solution. For new categories, or categories that were created before installing the hide mod, edit the category to be hidden, save, then re-edit to normal. This creates the record needed in the database.

Hope this helps.

19 Feb 2009, 15:02
#196
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: hideCategories

Great addition! Thanks Bumpspt.

20 Feb 2009, 21:47
#197
limazita avatar

limazita

New Zenner

Join Date:
Feb 2009
Posts:
4
Plugin Contributions:
0

Re: hideCategories

This is the mod I have been looking for! I have installed (run the scripts and copied the files to the server) it but there is a little problem. After I edited the category to be "Hidden", in the admin panel the folder icon changes to a lighter colour, however, in the storefront the category is not hidden. I am using v1.3.8.

Appreciate your help :smile:

20 Feb 2009, 22:12
#198
limazita avatar

limazita

New Zenner

Join Date:
Feb 2009
Posts:
4
Plugin Contributions:
0

Re: hideCategories

./includes/templates/YOUR_TEMPLATE/templates/tpl_products_all_default.php

does YOUR_TEMPLATE means the name of my template? does it need to be changed for the mod to work?

Thanks

20 Feb 2009, 22:16
#199
limazita avatar

limazita

New Zenner

Join Date:
Feb 2009
Posts:
4
Plugin Contributions:
0

Re: hideCategories

yes! that was my problem!

After pulling hair for 2 days, self-resolved :D

21 Feb 2009, 22:16
#200
ron_haltermon avatar

ron_haltermon

New Zenner

Join Date:
Dec 2007
Location:
Dothan, Alabama
Posts:
16
Plugin Contributions:
0

Re: hideCategories

Nope. This is something I came up with. I didn't realize anyone else had made any inroads on the problem until I logged on to post my update. I use two freeware downloadable scripts and made them work. Don't have to do anything at all to any of the Zen Cart files.
Keep up the good work, all!
Ron