osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Sort by price(if you use mod rewrite)

This is a discussion on Sort by price(if you use mod rewrite) within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; I wanted a contrib to help me sort my products by price and since i couldn't find one to work ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-29-2007, 01:30 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,761
Thanks: 139
Thanked 609 Times in 521 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Sort by price(if you use mod rewrite)

I wanted a contrib to help me sort my products by price and since i couldn't find one to work with mod rewrite i made one myself.


// Sort by price if you have mod rewrite
// Look for this code in catalog/index.php at around line 193

if ( (!isset($HTTP_GET_VARS['sort'])) || (!ereg('[1-8][ad]', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'], 0, 1) > sizeof($column_list)) ) {
for ($i=0, $n=sizeof($column_list); $i
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Sort by price? kenlyle osCMax v2 Customization/Mods 6 10-19-2009 10:55 AM
SEO friendly url - rewrite not working muyaszed osCMax v2 Features Discussion 6 09-09-2007 03:13 PM
How to sort products with options by price? mjfontec osCMax v2 Features Discussion 1 04-23-2007 07:26 PM
Sort by price question moreduff osCMax v1.7 Discussion 1 08-02-2005 07:32 AM
Sort products by price Anonymous osCMax v1.7 Discussion 3 06-02-2005 04:55 AM


All times are GMT -8. The time now is 05:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design