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

Product Finder: multiple category drop-downs

Views: 48,915

Results 121 to 140 of 225
4 Oct 2011, 4:00 PM
#121
ms402 avatar

ms402

New Zenner

Join Date:
Oct 2011
Location:
Italy
Posts:
8
Plugin Contributions:
0

Product Finder: multiple category drop-downs

Hi, I have installed this module and it works fine. I have installed ceon uri mapping and the problems started. From the home page to search, and arrival on the product page. Now if I want to repeat the search, gives me only choose the brand of the bike and not a model and year. How do I fix? I thought I'd add a reset button you can? Thank you.
PS I am sorry for my poor English.:oops:

Zencart 1.3.9H

10 Oct 2011, 1:44 PM
#122
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Product Finder: multiple category drop-downs

Ms402:

Hi, I have installed this module and it works fine. I have installed ceon uri mapping and the problems started. From the home page to search, and arrival on the product page. Now if I want to repeat the search, gives me only choose the brand of the bike and not a model and year. How do I fix? I thought I'd add a reset button you can? Thank you.
PS I am sorry for my poor English.:oops:

Zencart 1.3.9H

Remove ceon uri mapping - The two don't play nice!
I had the same problems in my test site and was unable to correct the issue. If you didn't back up b4 installing ceon uri it can be a time consuming task, if you backed up everything just roll back to that back up.

11 Oct 2011, 2:43 PM
#123
flashy275 avatar

flashy275

New Zenner

Join Date:
Sep 2009
Posts:
55
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

willie bee:

NM. I set up ONE master category and threw my other categories in it BUT when I go to the site and pick a category the second drop down doesn't do anythnig.

Is this strictly based on years, make and model?

Here is how I have mine set up

MASTER CATEGORY

FIRST CHOICE DROP DOWN - [GM, FORD, MOPAR]
SECOND CHOICE ARE ACTUALLY JUST MODELS SO SAY WE PICKED GM

THEN GM WOULD HAVE UNDERNEATH IT

NOVA, CHEVELLE, ETC.

THEN THE THIRD CHOICE, SAY WE PICKED NOVA

THE THIRD CHOICE WOULD HAVE

ENGINES, TIRES, AND WHEELS
AND WHEN YOU PICKED SAY ENGINES, THEN THE PARTS WOULD SHOW UP ON THE MIDDLE SCREEN

So if you have 50 manufacturers each with 20 models then the sub sub categories (or 3rd level categories) of "engines, tires and wheels" would be repeated 1000 times in the categories table?

The site i'm trying to create would have approx 50 1st level, 100, 2nd level, and approx 20 3rd level. That's alot of categories & looks totally ineficient. The second level (x100) would be exactly the same naming convection under each 1st level.

So for example

Top level (manufacturer) - Ferrari, Lambrougini, Maserati.
Second level - (year) - 1950, 1951, 1952, ect to present year
3rd level - (Model) - These would be likely unique, so no repatition of data (good)

I have tried this mod and it looks good, I just concered I missing something. Using my example above, if i had 50 manufactures over 60 years would I have 3000 second level categories? If so then with 10 models per manufacturer per year, I would have 30,000 categories? I know you would not have 10 models per year but it's an example.

On top of that, parts could also be generic, engine, gearbox, steering wheel ect although prices, description ect would be unique.

Any insight of help would be appreciated

11 Oct 2011, 6:37 PM
#124
ms402 avatar

ms402

New Zenner

Join Date:
Oct 2011
Location:
Italy
Posts:
8
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

mikestaps:

Remove ceon uri mapping - The two don't play nice!
I had the same problems in my test site and was unable to correct the issue. If you didn't back up b4 installing ceon uri it can be a time consuming task, if you backed up everything just roll back to that back up.

Hi, I resolved. After many attempts to empty, I put in html_header.php Line 24:

<base href = "http://www.mystore.it/". Now it works perfectly.:clap:
11 Oct 2011, 8:18 PM
#125
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Product Finder: multiple category drop-downs

Ms402:

Hi, I resolved. After many attempts to empty, I put in html_header.php Line 24:

<base href = "http://www.mystore.it/". Now it works perfectly.:clap:

NICE!!! :bigups:

flashy275:

So if you have 50 manufacturers each with 20 models then the sub sub categories (or 3rd level categories) of "engines, tires and wheels" would be repeated 1000 times in the categories table?

The site i'm trying to create would have approx 50 1st level, 100, 2nd level, and approx 20 3rd level. That's alot of categories & looks totally ineficient. The second level (x100) would be exactly the same naming convection under each 1st level.

So for example

Top level (manufacturer) - Ferrari, Lambrougini, Maserati.
Second level - (year) - 1950, 1951, 1952, ect to present year
3rd level - (Model) - These would be likely unique, so no repatition of data (good)

I have tried this mod and it looks good, I just concered I missing something. Using my example above, if i had 50 manufactures over 60 years would I have 3000 second level categories? If so then with 10 models per manufacturer per year, I would have 30,000 categories? I know you would not have 10 models per year but it's an example.

On top of that, parts could also be generic, engine, gearbox, steering wheel ect although prices, description ect would be unique.

Any insight of help would be appreciated

This is exactly why I have yet to implement this on my live store as of yet! It makes for a TON of sub-categories and sub-sub-categories, and my store doesn't even have as many manufactures/models as yours!

What would be really nice is some sort of module/hack that would show/hide products based on the make model and year, for example on the product info/setup page you would have a list of all the makes/models/years and you would check which ones that item fits. Then that item would only show for those make/model/year combinations.
By doing it in this manner you could leave any current cat/sub-cat structure in place.
I know that there must be a way to do something like this, but that coding is WAY over my head....

12 Oct 2011, 5:52 AM
#126
flashy275 avatar

flashy275

New Zenner

Join Date:
Sep 2009
Posts:
55
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

Mikestaps, thanks for confirming what I dredded.

I intend to use Excel to create these vast quantities of categories & dump using Navicat, as my subcategories are duplicated into every top level, it's a simple copy and paste. I think using MS Access to control all of this data will be useful, especially the "parent ID" & "product to category" fields.
Worth noting, I never have or intend to enter product in the traditional Zencart fassion, I always use Excel & Navicat, even Access to manipulate data.

All of this just overides the actual problem of which I'm not sure I can resolve or can actually be done.

As I see it - Tables are required in DB & code written to exract data so it works like "music" with a table like "product_music_extra" combining the new tables together. So the new tables based on my earlier post would be make, year & model, this way the years 1950 to 2011 would be listed just once in a table names "years".
I have done something similar before in Zencart, it was based on manufacturer, design_configuration, colour & material BUT each selection worked individually via drop dops. It's the JQuery I'm not sure of to auto populate the drop downs. Paying a programmer is not an option, Zencart is for learning & I love that concept.

Anyone got any knowledge thay would like to throw in the ring?

13 Oct 2011, 10:37 AM
#127
flashy275 avatar

flashy275

New Zenner

Join Date:
Sep 2009
Posts:
55
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

20025 categories total, although I have future proofed it, meaning I have left unused categories at each level which will NOT be active (category_staus=0).
By doing this all category ID's are sequenced & uniform.

For anyone trying to accomplish this, here's what I did.

Created all categories, sub categories & subsub categories using Excel & imported with Navicat.

I found using Access to control each level with combo boxes the simpliest way to drill down to sub & subsub category levels for editing, then export once complete. This way I replicate the finished website functionality BUT with the ability to edit categories & product at each level.
I should have spent the time creating this in PHP rather than Access, but now it's done, it works a treat.

13 Oct 2011, 1:14 PM
#128
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Product Finder: multiple category drop-downs

Hi,

mikestaps:

Remove ceon uri mapping - The two don't play nice!
I had the same problems in my test site and was unable to correct the issue. If you didn't back up b4 installing ceon uri it can be a time consuming task, if you backed up everything just roll back to that back up.

Ceon URI Mapping works with ALL modules that can work with static URIs.

As a following post indicates, you probably had a template which was using relative links instead of static links, or you had your base href tag in the wrong place.

So you can reinstall Ceon URI Mapping anytime, fix the problems with your template and use nice new static URIs.

The Ceon URI Mapping FAQs have instructions on how to fix clashes.. Ceon URI Mapping is never the source of the problem, the other modules are, we've taken great care to make that so. :)

Hope that helps!

All the best...

Conor
ceon

28 Feb 2012, 1:35 PM
#129
wirefram avatar

wirefram

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

Hi

I tried this module but the problem is that it lists categories even if they have no products.

Any idea what to modify so it would list only categories WITH products?

Also if the third field is empty (contain no information) the whole script doesn't work.

Any help appreciated

Thanks

L.
:unsure:

6 May 2012, 6:12 AM
#130
torvista avatar

torvista

Totally Zenned

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

Re: Product Finder: multiple category drop-downs

No changes are required for 1.5 so the 1.39 version in the downloads will not be updated (by me at least).

7 May 2012, 12:15 AM
#131
rex_1 avatar

rex_1

New Zenner

Join Date:
May 2012
Posts:
23
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

I am currently using this for 1.5. I have not had any problems since I installed it yesterday. I am still learning some of the go around for it. The things I did not do out of the tutorial using v1.5 was in the include>template>my template> common> html_header was I did not use that file supplied and I already had jquery (later verison).

I had asked before could i use this model separately from my current categories. I did answer my own question with a yes so far. I have a new category called "products" with the category disabled so it will not show on my site. Inside there is where I have all the "Makes" followed by categories inside of those for "Model" then followed by years. The years I'll still be populating. I linked a product or two to test it. It appears only the products that are linked will populate a variable for you to "Shop by Bike".

Is there a way I can edit the look of the "Shop by Bike" side box by look. i looked in the CSS provided but there was nothing really. What happen to the side box was the year, make, model along with the input forms all merged on top of each other with no spacing in between. I'm not sure how to add some spacing into it so they are not on top of each other.

7 May 2012, 1:36 AM
#132
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Product Finder: multiple category drop-downs

Try over-writting your "stylesheet_product_finder.css" with the one below.

@charset "utf-8";
/* CSS Document */
/*styles for Product Finder mod updated 2010-09-29*/
.pf_selectbox_name {/*text in front of drop-down select box*/
    width: 125px;
}
.pf_selectbox_text {/*text of select box*/
    width: 125px;
        float: right;
        
}
#product_finder form{
    margin:5px;
    padding:5px;
    width; 125px;
}
.pf_noscript {
    position: relative;
    left: 100px;
}

#productfinderContent div {
        margin-top: 10px;
        text-align: left;
        height: 100%;
        font-weight: bold;
        width: 190px;
}

Hope this helps.

7 May 2012, 6:36 AM
#133
rex_1 avatar

rex_1

New Zenner

Join Date:
May 2012
Posts:
23
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

That was actually perfect. Its all lined up correctly now.

7 May 2012, 12:46 PM
#134
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Product Finder: multiple category drop-downs

Glad to help Rex_. That was the easy part. Now you get the hard job of populating all the fields. :ohmy:

7 May 2012, 2:07 PM
#135
rex_1 avatar

rex_1

New Zenner

Join Date:
May 2012
Posts:
23
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

Damn, I was hoping you wouldn't remind me. :shocking:

8 May 2012, 4:34 AM
#136
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Product Finder: multiple category drop-downs

Rex_:

Damn, I was hoping you wouldn't remind me. :shocking:

Oops.........sorry. Me and my big mouth.:bangin:

8 May 2012, 9:55 PM
#137
rex_1 avatar

rex_1

New Zenner

Join Date:
May 2012
Posts:
23
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

One more reminder like that and i'm going to put you to work populating it :hug: :thumbsup: just kidding

9 May 2012, 1:39 AM
#138
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Product Finder: multiple category drop-downs

:smile:

10 Oct 2012, 10:56 PM
#139
kwright avatar

kwright

Zen Follower

Join Date:
Nov 2004
Posts:
355
Plugin Contributions:
0

Re: Product Finder: multiple category drop-downs

Hi All,

I installed this excellent contrib on a 1.3.8a Zen Cart. I noticed that the second dropdown "Model" will list all categories except the first when javascript is enabled. When I disable javascaript, all categories are listed in dropdown.

Anyone else noticed this? Any suggestions?

Thanks :D

11 Oct 2012, 7:28 AM
#140
torvista avatar

torvista

Totally Zenned

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

Re: Product Finder: multiple category drop-downs

"Model" will list all categories except the first when javascript is enabled
I see the same categories listed in Model, with and without Javascript.