Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Drop Down Product Filter Modification

product filter configuration drop down

5 replies to this topic

#1 ReadmanHill

  • Community Member
  • 9 posts
  • Real Name:Readman Hill

Posted 09 February 2012, 17:45

Hi guys, many thanks in advance.

i am wondering if any one could help me out and modify my product filter so that each of my categories are in a seperate drop down box and then the user clicks a search button to search for products matching that criteria?

the way it is at the moment is that all categories are in one drop down box and once you click a category or sub category, those products are displayed.

i am after something like the product filter on this website http://www.jigsawpuzzlesdirect.co.uk/ (the product filter is at the top of the left column.


my code is below


		  <tr>
		    <td>
<?php
  $info_box_contents = array();
  $info_box_contents[] = array('text' => BOX_HEADING_FILTER);
  new infoBoxHeading($info_box_contents, true, false);
  $info_box_contents = array();

  $cat_choose = '';
  $categories_array = tep_get_categories($cat_choose);
  $info_box_contents[] = array('form' => '<form action="' . tep_href_link(FILENAME_DEFAULT) . '" method="get">',
							   'align' => 'center',
							   'text'  => '<br><br>' . tep_draw_pull_down_menu('cPath', $categories_array,'','onChange="this.form.submit();" style="width:115"')
							  );

  new infoBox($info_box_contents);
?>
		    </td>
		  </tr>


#2 kymation

  • Community Sponsor
  • 5,663 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 09 February 2012, 19:28

That filter box can be done using the Product Specifications Addon with no code modification at all. Or, you can continue to build a custom-coded solution to do exactly the same thing.

Regards
Jim
My Addons

Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#3 ReadmanHill

  • Community Member
  • 9 posts
  • Real Name:Readman Hill

Posted 16 February 2012, 18:51

thanks for your reply.

i have downloaded the product specification add on as you mentioned but i am unsure of how to configure it.

how do i go about only adding set of product filters to my site?

any advice would be great

#4 kymation

  • Community Sponsor
  • 5,663 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 16 February 2012, 19:35

You would first set up Specifications to apply the filters to, then add Filters to each specification. The User's Manual has all the details.

Regards
Jim
My Addons

Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support

#5 ReadmanHill

  • Community Member
  • 9 posts
  • Real Name:Readman Hill

Posted 16 February 2012, 19:43

im sorry for being an idiot but i have no user manual in the version of the product specification i downloaded.

when downloading product specifications version 1, all that was downloading was a notice.txt file.

i downloaded the original product specifiactions package from 23rd of may and it contained what seem to be the correct files etc but no manual and some of the files seem incomplete.

#6 kymation

  • Community Sponsor
  • 5,663 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 16 February 2012, 20:55

Products Specifications for osC 2.3.1 is here, and for the old osC 2.2x is here ( use version 1.0.2 from 3 Nov 2010).

Regards
Jim
My Addons

Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support