Controlling the Order processing options

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
robgrigg
Lieutenant (LT)
Lieutenant (LT)
Posts: 76
Joined: Fri Jun 12, 2009 2:22 am

Controlling the Order processing options

Post by robgrigg » Mon Oct 05, 2009 2:35 pm

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Controlling the Order processing options

Post by mazhar » Tue Oct 06, 2009 3:39 am

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.

Post Reply