Page 1 of 1

Controlling the Order processing options

Posted: Mon Oct 05, 2009 2:35 pm
by robgrigg
Hi,

I am looking at the options for order processing which are great IMHO and one of the reasons I chose AC over other platfoems.

One question does sprng to mind however. We run our site by taking a £1 authorisation and then when processing the order we do a capture seperatly. I'd ideally like to set up the admin so that one is unable to go through the shipment process unliss they have managed to capture a full payment.

Is this, and other such modification possible?

Rob.

Re: Controlling the Order processing options

Posted: Tue Oct 06, 2009 3:39 am
by mazhar
Yep that would be easy I think, all you need is to edit Website/Admin/Orders/OrderMenu.ascx.cs file and locate following code statement at very end of the file just before last two closing braces

Code: Select all

}
else OrderMenuPanel.Visible = false;
and make it look like

Code: Select all

        Shipments.Visible = (_Order.PaymentStatus == OrderPaymentStatus.Paid);
}
else OrderMenuPanel.Visible = false;
The modification will hide shipments link available in left menu when ever order is not fully paid.