Corneloues Posted May 23, 2008 Share Posted May 23, 2008 (edited) Hi all, I'm using contribution 4312 - Sort By Dropdown http://www.oscommerce.com/community/contributions,4312 Hope someone can help. I'm having difficulty getting the sort price options to work. The sort by Name and Best Sellers work, but by price doesn't. I also appeared to get the SQL error I have seen here where no order fields were specified. I solved this by changing the "Product Recent Sales" value to 4, which was the last column and appears to match the "Product Listing" setting. However, I'll be damned if I can get the price sorting to work. Below are the values from my Admin/Config and the values in the $sort_list array. Any help would be appreciated. Product Recent Sales 4 Display Product Image 1 Display Product Manufaturer Name 1 Display Product Model 0 Display Product Name 1 Display Product Price 2 Display Product Quantity 0 Display Product Weight 0 Display Buy Now column 3 Display Category/Manufacturer Filter (0=disable; 1=enable) 1 Location of Prev/Next Navigation Bar (1-top, 2-bottom, 3-both) 3 $sort_list = array('4d' => 'Best Sellers', '2a' => 'Products Name A to Z', '2d' => 'Products Name Z to A', '3a' => 'Price Low to High', '3d' => 'Price High to Low'); Cheers, Roy Edited May 23, 2008 by Corneloues Quote Link to comment Share on other sites More sharing options...
msmillk22 Posted May 25, 2008 Share Posted May 25, 2008 Try this : http://addons.oscommerce.com/info/2673 Quote Link to comment Share on other sites More sharing options...
milauskas Posted July 8, 2008 Share Posted July 8, 2008 Try this : http://addons.oscommerce.com/info/2673 Hi, I just tried that myself with no change. Products still aren't sorting by price. Did you have success with this? Mike Quote Link to comment Share on other sites More sharing options...
spooks Posted July 8, 2008 Share Posted July 8, 2008 Hi, I just tried that myself with no change. Products still aren't sorting by price. Did you have success with this? Mike I`m not surprised that did`nt work, its for atributes, not what your after. I covered this in this thread http://www.oscommerce.com/forums/index.php?sho...=306310&hl= Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Recommended Posts
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.