Setting the Sort Order is important in that it allows you to control the order that the products will appear to your customers in the Storefront. By default products in OpenCart are displayed is ascending order, all the products sort order is set to 0.
admin panel > Catalog > Products > Edit the product.
catalog/controller/produc
t directory. if (isset($this->request->get['sort'])) {
$sort = $this->request->get['sort'];
} else {
$sort = 'p.price';
Save changes in the file. Refresh category page to preview changes. If you face any problems or need our professional services, please email us at [email protected]
Never miss the latest offers, voucher codes and useful articles delivered weekly in your inbox.