Results 1 to 7 of 7
  1. #1
    Join Date
    May 2006
    Posts
    23
    Plugin Contributions
    0

    Default [DONE v1.3.8] Filter By Category/Manufacturer Vanished

    Hi Guys

    I've been searching for an answer to this and have not been able to find anything conclusive...

    I have justed installed 1.3.7 (fresh) onto my hosting and have my site looking identical to how it used to - great!

    The only thing i am having difficulty with at the moment is that when i click on a category sub heading - it might bring back a list of 100 items, and there is no longer a filter drop down to break this list down by manufacturer. There used to be this facility in the previous version.

    Now - what's making my head ache is that when i go into admin and look under configuration>product listing, the option

    Display Category/Manufacturer Filter (0=off; 1=on)

    IS selected to 1.

    Tried turning off/on to no avail. The ONLY way i can get a work around is by ALSO selecting the Alpha sorter at the same time. This is not by any means ideal for me and don't want to overload the customer.

    Has anyone had this problem and been able to get around it? ANY help would be much appreciated.

    Thanks

    Additional info

    IH2
    GoogleFroogle Feeder

    Contribs installed and working

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,696
    Plugin Contributions
    6

    Default Re: Filter By Category/Manufacturer Vanished

    Now what dummy went and coded that so foolishly?!

    err ... umm ... well ... kinda looks like I did ...

    Let me move this over to the Bug Fix forum and see what I can do with it ... how terribly embarrassing ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    May 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Filter By Category/Manufacturer Vanished

    Thanks so much for any help you can give!

    Zen is an excellent piece of kit - it has revolutionised the way i do business online...just this one little tweak and all will be good with the world once again!!............

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,696
    Plugin Contributions
    6

    Default Re: Filter By Category/Manufacturer Vanished

    Try changing in the file:
    /includes/templates/template_default/templates/tpl_index_product_list.php

    on line 41, change from:
    PHP Code:
      if ($check_for_alpha->RecordCount() > && PRODUCT_LIST_ALPHA_SORTER == 'true') { 
    and change the line to read:
    PHP Code:
      if ($do_filter_list || ($check_for_alpha->RecordCount() > && PRODUCT_LIST_ALPHA_SORTER == 'true')) { 
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    May 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Filter By Category/Manufacturer Vanished

    Code:
      
    $check_for_alpha = $db->Execute($check_for_alpha);
    
    if ($do_filter_list || ($check_for_alpha->RecordCount() > 0 && PRODUCT_LIST_ALPHA_SORTER == 'true')) {  
    
      $form = zen_draw_form('filter', zen_href_link(FILENAME_DEFAULT), 'get') . '<label class="inputLabel">' .TEXT_SHOW . '</label>';
    ?>
    Hi Mate

    I copied the line in as you said so my tpl_product_list.php on line 41 looks like the above.

    I then copied the file into my own template override folder and hey presto!

    Take a look - www.richtonemusic.co.uk

    Works a treat.

    Thanks for your efforts on this.

    Rich

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,696
    Plugin Contributions
    6

    Default Re: Filter By Category/Manufacturer Vanished

    Thanks for the confirmation that this fixes the problem for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  7. #7
    Join Date
    Oct 2006
    Posts
    18
    Plugin Contributions
    0

    Default Re: [DONE v1.3.8] Filter By Category/Manufacturer Vanished

    Works perfect!! Thanks

 

 

Similar Threads

  1. Replies: 7
    Last Post: 26 Aug 2007, 07:08 AM
  2. Display Category/Manufacturer Filter Not Working
    By katrobb in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 22 Feb 2007, 01:56 AM
  3. Replies: 1
    Last Post: 18 Feb 2007, 05:22 AM
  4. Replies: 3
    Last Post: 14 Feb 2007, 07:02 PM
  5. [Done v1.3.8] Also Purchased Products Columns per Row
    By The Spirit in forum Bug Reports
    Replies: 4
    Last Post: 8 Jan 2007, 10:48 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
  •