Forums / Managing Customers and Orders / Adding a Next Order Button in orders.php to see the next order

Adding a Next Order Button in orders.php to see the next order

Views: 843

Results 1 to 4 of 4
17 Jun 2016, 2:06 AM
#1
riolas avatar

riolas

New Zenner

Join Date:
Oct 2009
Posts:
66
Plugin Contributions:
0

Adding a Next Order Button in orders.php to see the next order

Hi,

I am trying to add a next order button that is visible on the order details page of a customer order so we can easily view the next order in our system.

We did use super orders before we upgraded to 1.5.4 but that is not updated. We only need the next button instead of us going back to the main orders page each time (which wastes time).

Can anyone provide the code I can add to orders.php so we can just click the next order button to view the next order?

Many thanks. :)

17 Jun 2016, 3:10 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Adding a Next Order Button in orders.php to see the next order

riolas:

Hi,

I am trying to add a next order button that is visible on the order details page of a customer order so we can easily view the next order in our system.

We did use super orders before we upgraded to 1.5.4 but that is not updated. We only need the next button instead of us going back to the main orders page each time (which wastes time).

Can anyone provide the code I can add to orders.php so we can just click the next order button to view the next order?

Many thanks. :)

Check the code in ZC 1.5.5 as it has this feature included. Also I thought Super Orders was updated possibly on github.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

17 Jun 2016, 4:19 AM
#3
riolas avatar

riolas

New Zenner

Join Date:
Oct 2009
Posts:
66
Plugin Contributions:
0

Re: Adding a Next Order Button in orders.php to see the next order

mc12345678:

Check the code in ZC 1.5.5 as it has this feature included. Also I thought Super Orders was updated possibly on github.

Great! Thanks.

Pulled the code I needed from the orders.php of 1.5.5.

17 Jun 2016, 2:07 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Adding a Next Order Button in orders.php to see the next order

riolas:

Great! Thanks.

Pulled the code I needed from the orders.php of 1.5.5.
Probably wise to continue with the rest of the upgrade too ;)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.