Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi again all. I was wondering if there was a "Sort by Price" contribution out there, as I would really like ot either sort my catalog by price, or give the customer the option to sort by price.

 

 

Thnx to all.

Posted

Change

 

catalog/includes/boxes/catagoires.php at line 27 as follows:

 

From

 

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';

 

To

 

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '&sort=3a">';

 

Also the contrib

 

http://www.oscommerce.com/community/contributions,2109

 

has the above fix and a more complete sort by feature

 

HTH

Tom

Posted

I think that stock osC allows you to sort by price within a certain category anyway. Just click on "Price" and then it will give you a little + and - for sorting. There is a contrib called "triangles" that will let you replace the + and - with up and down triangles.

 

-jared

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...