shashank3 Posted July 20, 2010 Posted July 20, 2010 Hello, How do i by default SORT all the products in shopping cart (shopping_cart.php) by products_model? Thank you, Sam
shashank3 Posted July 29, 2010 Author Posted July 29, 2010 i was able to figure this out. in shopping_cart.php after line $products = $cart->get_products(); insert foreach ($products as $key => $row) { $model[$key] = $row['model']; } array_multisort($model, SORT_ASC, $products);
Recommended Posts
Archived
This topic is now archived and is closed to further replies.