By default, when you access the Orders page, the orders shown have a Status of Process and Payment status of Pending or Received. This can be change but it must be done in a source PHP file. If you have a source code access, you can follow the steps below to change the default order search status.

Applies to Version(s): 3.9.x  Series

Complexity Level: Advanced

Estimated Time for Completion: 10 minutes

Requirements: Source code access

How to Change the Default Search Status for Orders

The first thing you will need to do is open your source code package or navigate to the files of your cart on the server. Go to Settings> Advanced settings> File manager

Navigate to content/classes/Admin/Controller and edit the file Order.php.

editing order.php

Note: In the screenshot image above, you can see that the order status is already changed to 'any'. 

Find the following code:


You will be changing ORDER::STATUS_PROCESS. If you wanted the Status to be Any by default, you would need to change the code to:

'status' => 'any',

If you wanted to see only Completed orders on that page, it would be:

'status' => 'Completed',

Once you've made your changes, save the file and make sure it's uploaded to the same path on your web server.

Links to Related Articles

None at this time.

If you didn't get your question answered, please contact the Pinnacle Cart Support Team. To submit a ticket, go to the My Account drop-down menu at the top right of the admin area and select Support.