Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Finder: multiple category drop-downs (zen addon)


DaMixa

Recommended Posts

Product Finder: multiple category drop-downs

 

Has anyone got this to work with Oscommerce or does anyone know how to install it on Oscommerce? For instance in ZEN the folders are all named after theinstalled theme and thats where you install this addon. Does anyone know where you would place these files in catalog/? Or does anyone have something that will create the same triple drill down search facility for oscommerce?

 

Thanks All

 

Heres the filelist from the Zen installation:

 

 

File List

  • /modellist.php - NEW
  • /includes/functions/extra_functions/product_finder.php - NEW
  • /includes/languages/english/extra_definitions/product_finder.php - NEW
  • /includes/languages/spanish/extra_definitions/product_finder.php - NEW
  • includes/templates/YOUR_TEMPLATE_NAME/buttons/english/go.jpg - NEW
  • includes/templates/YOUR_TEMPLATE_NAME/buttons/spanish/go.png - NEW
  • includes/templates/YOUR_TEMPLATE_NAME/common/tpl_header.php - may overwrite an existing file, merge differences
  • includes/templates/YOUR_TEMPLATE_NAME/common/html_header.php - may overwrite an existing file, merge differences
  • includes/templates/YOUR_TEMPLATE_NAME/css/style_product_finder.css - NEW
  • includes/templates/YOUR_TEMPLATE_NAME/jscript/jscript_model_year.js - NEW - If you already use jquery - you don't need this, see below.
  • includes/templates/YOUR_TEMPLATE_NAME/jscript/jquery-1.3.2.min.js - NEW

Copy the files into the correct directories.

The files marked with the YOUR_TEMPLATE_NAME path need to go into your template directories, NOT into directories literally called "YOUR_TEMPLATE_NAME".

tpl_header.php - contains the code chunk to display the new section.

html_header.php - only contains one extra line to load the jquery:

<script type="text/javascript" src="<?php echo $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript')?>/jquery-1.3.2.min.js"></script>

Link to comment
Share on other sites

Replace includes/templates/YOUR_TEMPLATE_NAME/buttons/english/ with includes/languages/english/images/buttons/ and it should work. That assumes that you are using osCommerce 2.2x and not 2.3x. The buttons are completely different in the 2.3 series.

 

You will also need to make other changes to port an addon over from Zen. The database calls are different and will need to be replaced. You will need a fair understanding of PHP and SQL to accomplish this.

 

There might be an osCommerce Addon that does what this one does. Your description is not enough to say. Have you looked through the Addons section here?

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...