Get the book

Go Back   Zen Cart Support > Code Matters > Bug Reports

Bug Reports If you have a bug to report, post it here. Please clearly explain what version you are using, and the exact error message. Please ALSO explain why you believe it's a bug, and post a solution if you have one.

Reply
 
Thread Tools Display Modes
Old 13th March 2007, 04:10 AM   #1
guitarslinger
New Zenner
 
Join Date: May 2006
Posts: 17
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
guitarslinger is offline   Reply With Quote
Old 13th March 2007, 05:29 AM   #2
Ajeh
Oba-san
 
Ajeh's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 50,229
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

Are you using the latest? Perhaps you've a problem that's fixed in --> [Upgrade today: v1.3.8a]
Officially PayPal-Certified! Just click here
Ajeh is offline   Reply With Quote
Old 13th March 2007, 05:08 PM   #3
guitarslinger
New Zenner
 
Join Date: May 2006
Posts: 17
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!!............
guitarslinger is offline   Reply With Quote
Old 13th March 2007, 07:18 PM   #4
Ajeh
Oba-san
 
Ajeh's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 50,229
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

Are you using the latest? Perhaps you've a problem that's fixed in --> [Upgrade today: v1.3.8a]
Officially PayPal-Certified! Just click here
Ajeh is offline   Reply With Quote
Old 13th March 2007, 09:19 PM   #5
guitarslinger
New Zenner
 
Join Date: May 2006
Posts: 17
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
guitarslinger is offline   Reply With Quote
Old 14th March 2007, 01:53 AM   #6
Ajeh
Oba-san
 
Ajeh's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 50,229
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

Are you using the latest? Perhaps you've a problem that's fixed in --> [Upgrade today: v1.3.8a]
Officially PayPal-Certified! Just click here
Ajeh is offline   Reply With Quote
Old 2nd October 2007, 03:16 AM   #7
josh2885
New Zenner
 
Join Date: Oct 2006
Posts: 18
Default Re: [DONE v1.3.8] Filter By Category/Manufacturer Vanished

Works perfect!! Thanks
josh2885 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Done v1.3.8] 1.3.7 no more "Office Use Only:" section on email? dbrewster Bug Reports 7 26th August 2007 08:08 AM
Display Category/Manufacturer Filter Not Working katrobb Upgrading from 1.3.x to 1.3.8 1 22nd February 2007 01:56 AM
[Done v1.3.8] Bug in 1.3.7 when moving Admin folder out of catalog Riptuer Bug Reports 1 18th February 2007 05:22 AM
[Done v1.3.8] Bug? Not saving in other than default languages ellivir Bug Reports 3 14th February 2007 07:02 PM
[Done v1.3.8] Also Purchased Products Columns per Row The Spirit Bug Reports 4 8th January 2007 10:48 PM


All times are GMT +1. The time now is 01:19 AM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads