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 - osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
Each purchase supports the osCMax project with much needed funds! - xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.
- osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!
- osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
|