Forums / Bug Reports / [DONE v1.3.8] Filter By Category/Manufacturer Vanished

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

Locked

Started by guitarslinger on 13 Mar 2007, 2:10 AM · Views: 3,901

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 Mar 2007, 2:10 AM
#1
guitarslinger avatar

guitarslinger

New Zenner

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

[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

13 Mar 2007, 3:29 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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

Now what dummy went and coded that so foolishly?! :eek:

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

Let me move this over to the Bug Fix forum and see what I can do with it ... how terribly embarrassing ... :cry:

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Mar 2007, 3:08 PM
#3
guitarslinger avatar

guitarslinger

New Zenner

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

Re: [DONE v1.3.8] 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!!............:lookaroun

13 Mar 2007, 5:18 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [DONE v1.3.8] 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:

  if ($check_for_alpha->RecordCount() > 0 && PRODUCT_LIST_ALPHA_SORTER == 'true') {

and change the line to read:

  if ($do_filter_list || ($check_for_alpha->RecordCount() > 0 && 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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Mar 2007, 7:19 PM
#5
guitarslinger avatar

guitarslinger

New Zenner

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

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

  
$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 - https://www.richtonemusic.co.uk

Works a treat.

Thanks for your efforts on this.

Rich

13 Mar 2007, 11:53 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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

Thanks for the confirmation that this fixes the problem for you ... :smile:

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!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Oct 2007, 1:16 AM
#7
josh2885 avatar

josh2885

New Zenner

Join Date:
Oct 2006
Posts:
17
Plugin Contributions:
0

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

Works perfect!! Thanks