Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Sort Order in order_detail.php


Recommended Posts

hello all,


wondering if someone might have an easy fix for assigning a sort order to the shopping cart that is the sort order as call from order_details.php


I wish items to be sorted by item No (products_model) fairly simply to do this in the account history in both admin and catalog but need some advise assistance for the actually shopping basket.


And yes I looked through some 300+ posts on the forum for a past post or fix. :)




many thanks



Link to comment
Share on other sites

You could try adding


before the reset($this->contents); around line 271 of includes/classes/shopping_cart.php (in function get_products).




Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...