Zen Cart Logo
Forums / All Other Contributions/Addons / Product Finder: multiple category drop-downs

Product Finder: multiple category drop-downs

Views: 48,897

Results 21 to 40 of 225
13 Sep 2010, 3:03 AM
#21
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Product Finder: multiple category drop-downs

I am using V 1.3.9e, I have no other mods at this time.

I think I understand the input structure but what I am not getting is the drop down options.

All I see is this just below the header:


Powered by Zen Cart :: The Art of E-Commerce [home link]
Sales Message Goes Here

* Make * Model  * Year

What I have for structure right now for testing is.

3 master cats: Make Model Year

At the Year level I have 3 Sub Cat: test1 test2 and test3

IN sub cat 3 or test3 , I have added 3 products; test1 test2 test3.

What I can do is go ahead and post this structure online in a non working shop to see if that will help me with advice. I will do this on Monday unless I get the answer I need before then.

Jerr Thank you in advance

13 Sep 2010, 5:50 AM
#22
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Product Finder: multiple category drop-downs

the structure is correct, have you changed the start category in the code to match the year master cat number?
(I will not be replying further for 3 days, on a trip.)

13 Sep 2010, 3:52 PM
#23
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

torvista:

the structure is correct, have you changed the start category in the code to match the year master cat number?
(I will not be replying further for 3 days, on a trip.)

Hmmm

I have changed the code for the Make cat, no others.
Make is my first or master cat.?

Thanks for the reply

14 Sep 2010, 8:13 AM
#24
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Product Finder: multiple category drop-downs

In your test arrangement you need to enter the category id for the Year top category in
/includes/functions/extra_functions/product_finder.php
at

function zen_get_category_tree($parent_id = '3', $category_tree_array = '') {

The 3 is my top category, change it to what yours is for Years.

17 Sep 2010, 7:03 AM
#25
sonik_fury avatar

sonik_fury

New Zenner

Join Date:
Aug 2010
Posts:
28
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

torvista:

Can you explain that in a different way, I don't understand.
Do you mean the product has to be enabled or it has to exist in another category?

When I originally installed this on a new site with no product, I had the drop down menu, but nothing would populate them. I had all categories set up/defined but no product added yet........without product the drop-down menu's will not populate. As soon as I added the very first product the drop-down menu's began working, for the categories with product listed. So the product has to exist/be enabled to work. If your testing this on a site with no product added yet it won't populate the drop-down menus. Kinda obvious but, I thought it worked based on category structure, while that's true there has to be product in said categories.

And thanks I'll try the CSS stuff tonight.

17 Sep 2010, 7:09 AM
#26
sonik_fury avatar

sonik_fury

New Zenner

Join Date:
Aug 2010
Posts:
28
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

Jerr:

I am using V 1.3.9e, I have no other mods at this time.

I think I understand the input structure but what I am not getting is the drop down options.

All I see is this just below the header:


Powered by Zen Cart :: The Art of E-Commerce [home link]
Sales Message Goes Here

* Make * Model  * Year

What I have for structure right now for testing is.

3 master cats: Make Model Year

At the Year level I have 3 Sub Cat: test1 test2 and test3

IN sub cat 3 or test3 , I have added 3 products; test1 test2 test3.

What I can do is go ahead and post this structure online in a non working shop to see if that will help me with advice. I will do this on Monday unless I get the answer I need before then.

Jerr Thank you in advance

Do you have modellist.php in your root folder?

No offense but you do have all the TEMPLATE files under "your own" template directory?

18 Sep 2010, 4:26 AM
#27
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

sonik_fury:

Do you have modellist.php in your root folder?

No offense but you do have all the TEMPLATE files under "your own" template directory?

This may be what has me confused, I have TEMPLATE located here:

catalog/includes/templates/TEMPLATE

Also catalog is my root directory or should be so I have modellist.php located there.

This is the current url: http://localhost/zencart/catalog/

jerr

18 Sep 2010, 7:54 AM
#28
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Product Finder: multiple category drop-downs

The elephant in the room is..
do you have the files in directories literally named "TEMPLATE" (wrong) or in directories named as per the template you have created/modified (right)?
Sorry if it seems a dumb question but I did things like that when I started on this road...

18 Sep 2010, 4:07 PM
#29
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

torvista:

The elephant in the room is..
do you have the files in directories literally named "TEMPLATE" (wrong) or in directories named as per the template you have created/modified (right)?
Sorry if it seems a dumb question but I did things like that when I started on this road...

Thanks I do not feel so bad. TEMPLATE it was. I moved them last night and now have some functionality. What I am seeing now is the drop down fields but they are displayed vertically instead of horizontally so I will work on that today.

Thanks for the help
jerr

18 Sep 2010, 4:11 PM
#30
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

Hi Torvista
I just noticed your comment in another part of this thread.

I did not have any problems with other browsers though.
Your page width may cause overflow issues.

My page is the original so I will change the width setting to see what happens.

jerr

18 Sep 2010, 10:51 PM
#31
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Product Finder: multiple category drop-downs

So, are you saying it works correctly now apart from the formatting?

18 Sep 2010, 11:59 PM
#32
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

torvista:

So, are you saying it works correctly now apart from the formatting?

Yes

I have the format working now also.

So now its just a matter of site design. I do have one question though. Will page templates work with this addon as most of the templates have there own CSS stylesheet. Thats what I like about Zen, its so easy to change page design.

jerr

19 Sep 2010, 12:33 AM
#33
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Product Finder: multiple category drop-downs

If selectors used in template css have the same name as the selectors used in the product finder code then there may be odd effects but it should not break functionality.
It is easy to see with firebug what css rules are influencing a page element and if a rule in one sheet is overriding another.

Glad you got it working, I will update the readme in the download to hopefully avoid the problems people have had implementing the mod.

21 Sep 2010, 7:22 PM
#34
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

torvista:

If selectors used in template css have the same name as the selectors used in the product finder code then there may be odd effects but it should not break functionality.
It is easy to see with firebug what css rules are influencing a page element and if a rule in one sheet is overriding another.

Glad you got it working, I will update the readme in the download to hopefully avoid the problems people have had implementing the mod.

Yes,its working great. Now I am working with EP. I have a lot of product to add and EP will speed things up.

Also, is it possible to add another drop down box to product finder.

Example........ Make: Model: Year: Option:

The option drop down would be for vehicle type, LE, GLS, SE, etc

jerr

22 Sep 2010, 3:06 AM
#35
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Product Finder: multiple category drop-downs

I don't know enough about the inner workings of this mod to say another box cannot be done, I would think it is possible.

(You should also look at Apsona as an alternative to Easy Populate.)

24 Sep 2010, 12:22 AM
#36
jerr avatar

jerr

New Zenner

Join Date:
Sep 2010
Location:
California
Posts:
22
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

torvista:

I don't know enough about the inner workings of this mod to say another box cannot be done, I would think it is possible.

(You should also look at Apsona as an alternative to Easy Populate.)

Thanks Torvista

Apsona looks interesting, I have it installed and I am trying to figure it out now.

jerr

28 Sep 2010, 11:23 PM
#37
sonik_fury avatar

sonik_fury

New Zenner

Join Date:
Aug 2010
Posts:
28
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

Is there a way to get this working on ALL pages not just the homepage??

29 Sep 2010, 4:22 AM
#38
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Product Finder: multiple category drop-downs

Is there a way to get this working on ALL pages not just the homepage??

The mod comes out of the box displaying and (should be) working on all pages. You mean it does not display or does not work?

30 Sep 2010, 3:19 AM
#39
sonik_fury avatar

sonik_fury

New Zenner

Join Date:
Aug 2010
Posts:
28
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

torvista:

The mod comes out of the box displaying and (should be) working on all pages. You mean it does not display or does not work?

It works great from the home page, but if you're at a product page, the 1st dropdown works but doesn't populate the 2nd dropdown. It's like the JS isn't selecting the item from the first drop-down.

30 Sep 2010, 4:49 AM
#40
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,874
Plugin Contributions:
7

Re: Product Finder: multiple category drop-downs

  1. check what javascript is loaded on working and non-working pages: does it find jquery ok?
  2. and if you disable javascript does it work on any pages (it should)?