Hi to all,
Oscommerce question but general PHP.
I have figured out what I need to do to modify some code but I dont know how to correctly write it.
The Code I need to modify is this.
$order_status = $select_order_status;
$display_order_status = $order_status;
if ($order_status == "")
{
$order_status = 1;
}
What I am trying to make it do is if no order status is selected, then display all order status's (hope that made sense), instead of just one, (the order status with a value of 1)
The ID values for order status are
1 Pending
2 Processing
3 Delivered
99999 Paypal Processing
4 Allow Download
5 On Hold
6 Cancelled
7 Awaiting CC Processing
100000 Payment Received
100001 Shipped
100002 On Backorder
100003 Refunded
100004 Ready to Collect
100005 Awaiting receipt of Cheque
100006 Awaiting funds transfer
I think I need to put the values in an array for the variable
$order_status = 1;
but everything I try comes up with fatal errors.
Any help is greatly appreciated.
Thanks