Page 1 of 4 123 ... LastLast
Results 1 to 10 of 224

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default Product Finder: multiple category drop-downs

    This mod provides three drop-down select boxes which are used to select products from subcat01 - subcat02 - subcat03 such as Make-Model-Year.

    The second and third drop-down are populated dynamically (using jquery) as a result of the choice made in the previous box.

    As supplied in this package, the drop drown is integrated into the header.

    Why use this mod?

    To replace a long static list in a sidebox.This mod was written for my site by a commercial developer as no equivalent was available as a community contribution.

    This version 0.9 is offered to help those who wish to implement something similar. Since it is working for me I have not had to bugfix it and so I have no idea how it works and so cannot offer any support other than moral.

    It is offered to the community "as is" in the hope that others pick it up and iron-out any non-Zen-standard-practices that may lurk within.

    As it is, it works when dropped into a classic-copy vanilla 139e site.

    Download at: http://www.zen-cart.com/downloads.php?do=file&id=1141

    regards
    Steve

  2. #2
    Join Date
    Aug 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: Product Finder: multiple category drop-downs

    AWESOME!!

  3. #3
    Join Date
    Dec 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Product Finder: multiple category drop-downs

    This add-on looks great, but is it possible to have this in a sidebox?

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default Re: Product Finder: multiple category drop-downs

    from another thread (http://www.zen-cart.com/forum/showth...60761&page=2):
    I'm having issues getting it to work in the way I need and I think it is because I'm looking for it to utilize the current category location instead of defining the category #, but it's a step in the right direction.

    Just to confirm in your setup, do you have Make options setup as you top level categories, Models setup as subcategories of Make, and Year setup as a subcategory of Models? Is there a chance you can post a link the the site it is used on?
    My Top-level categories are:
    1 - Manufacturers
    2 - Products
    3 - Your Bike

    All products are defined (master cats) in Manufacturers as per the manufacturers product families and then linked to the Products and Your Bike categories.

    Your Bike subcats are Bike Manufacturers (Aprilia, Benelli etc) then in each one specific models (RSV Mille, Pegaso etc..) then in each model a subcat for a specific year or range of years.

    So to answer the question, the makes are the second level category.

  5. #5
    Join Date
    Apr 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: Product Finder: multiple category drop-downs

    torvista, thanks again for a great contribution. melirlbr, this can be added to just about anyplace you want, just add the modified line in the tpl_header.php, between <!--BOF Product Finder--> and <!--EOF Product Finder--> to the relevant php file you want it added to, then adjust the CSS file to your needs.

    I'm having issues with this add on personally though, and I've yet to figure out the cause. I'm adding the code to tpl_index_categories, as I prefer it be on the category page above the category description. Because the first pulldown is a second level category I wanted it to use $parent_id = $current_category_id instead of defining the category ID.

    In any case, I've tried it in both the header and in the category page, both with and without defining the category ID, have my categories and test product added, yet the 2nd pulldown will not pull data.

    I've verified all files are uploaded, but I am stumped. With regards to the readme, there is a reference to a problem and a fix with the .htaccess file, do you know how the add-on interacts when this issue happens? I'm using multi-site module so that may have something to do with it, though the page I'm testing on is the primary domain with all redirected to www.

    Page testing, www.printdealz.com
    Test product under postcards, cardstock, 14pt
    Brian - Connecticut, US --- Using Zen 1.3.9g - Modified Classic Template
    Currently developing: http://www.printdealz.com
    Other Zen Pages: http://www.wholesale4realtors.com 1.3.8a

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default Re: Product Finder: multiple category drop-downs

    torvista, thanks again for a great contribution.
    well its not so great if it doesn't work!!

    Have you tried it on a fresh 139 test site?

  7. #7
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    282
    Plugin Contributions
    3

    Default Re: Product Finder: multiple category drop-downs

    Quote Originally Posted by melirlbr View Post
    This add-on looks great, but is it possible to have this in a sidebox?
    Has anyone tackled this challenge? I would like to have this as a sidebox as well...

  8. #8
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    282
    Plugin Contributions
    3

    Default Re: Product Finder: multiple category drop-downs

    Quote Originally Posted by mikestaps View Post
    Has anyone tackled this challenge? I would like to have this as a sidebox as well...
    Well I decided to give it a try... not really working

    any insight would be greatly appreciated, I'm fried for today

    test store where implemented - http://.../test_store/

  9. #9
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default enhanced Multiple Categories Link Manager

    For those using this Product Finder mod as it comes out of the box, a new mod which enhances the Multiple Categories Link Manager should prove extremely useful to manage your product->vehicle sub-category links.

    http://www.zen-cart.com/forum/showthread.php?t=172698

  10. #10
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,566
    Plugin Contributions
    30

    Default correction to jscript_model_year.js

    Version 0.9 in the downloads section requires a minor correction in the jscript_model_year.js file to display the breadcrumb elements correctly on the results page.

    find around line 13
    var cPath1=$("#select_model").val();
    var cPath2=$("#cPath").val();
    change to
    var cPath1=$("#cPath").val();
    var cPath2=$("#select_model").val();

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Product Quantities as Drop Downs?
    By ehdesign in forum General Questions
    Replies: 3
    Last Post: 25 Jun 2011, 06:21 PM
  2. 2 questions on tab category drop downs
    By deemurphy in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Apr 2010, 02:29 PM
  3. I'm new ~ Trying to enter product with several drop downs
    By skirch in forum General Questions
    Replies: 2
    Last Post: 25 Mar 2009, 01:24 AM
  4. Category Heading - can't remove w/drop downs
    By Terry111 in forum Basic Configuration
    Replies: 3
    Last Post: 20 Sep 2008, 09:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR