Re: 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
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.)
Re: Product Finder: multiple category drop-downs
Quote:
Originally Posted by
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
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
PHP Code:
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.
Re: Product Finder: multiple category drop-downs
Quote:
Originally Posted by
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.
Re: Product Finder: multiple category drop-downs
Quote:
Originally Posted by
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?
Re: Product Finder: multiple category drop-downs
Quote:
Originally Posted by
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
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...
Re: Product Finder: multiple category drop-downs
Quote:
Originally Posted by
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
Re: Product Finder: multiple category drop-downs
Hi Torvista
I just noticed your comment in another part of this thread.
Quote:
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