Can I remove the billing address step from the wizard?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 anni tempo fa
Hi,

I am making a website to sell downloadable products and I am interested in removing the billing/shipping step from the checkout wizard is it possible from the admin section?
13 anni tempo fa
No, it'll require some customization
13 anni tempo fa
In version that i use (1.6), i did the following  (not sure it is the ideal solution):

1) File CheckoutBillingAddress.ascx.cs,
method
protected void Page_Load

add first line to the method:
  Response.Redirect("~/checkoutshippingmethod.aspx");


2) File OrderManager.cs
replace line
throw new NopException("Billing address not provided");

with line
paymentInfo.BillingAddress = paymentInfo.ShippingAddress;
13 anni tempo fa
Hotspot wrote:
In version that i use (1.6), i did the following  (not sure it is the ideal solution):

1) File CheckoutBillingAddress.ascx.cs,
method
protected void Page_Load

add first line to the method:
  Response.Redirect("~/checkoutshippingmethod.aspx");


2) File OrderManager.cs
replace line
throw new NopException("Billing address not provided");

with line
paymentInfo.BillingAddress = paymentInfo.ShippingAddress;




Hi
I had followed these steps but unable to skip the addbillingaddress step. Is there any ohter way..

thanks in advance...
13 anni tempo fa
Yes... i skipped the billing address

I had done it...

amazing ....it is working.....

thank you for your wonderful post
13 anni tempo fa
Any idea how to do it, in version 1.8?
13 anni tempo fa
Procedure is the same for 1.6 and 1.8

Just fallow the those steps for 1.8. It works...
13 anni tempo fa
thanks for the quick reply, i am not able to find 2) File OrderManager.cs..
13 anni tempo fa
kakoli wrote:
thanks for the quick reply, i am not able to find 2) File OrderManager.cs..


Hi just follow these steps..


   Go to your Solution Explorer:

1.Libraries-->Nop.BusinessLogic -->Orders -->OrderManager.cs


And let me know is your site published online?
If it is!
  Then you have to upload the  file(Nop.BusinessLogic.dll) to Bin-->Nop.BusinessLogic.dll  after you compiled your local copy
13 anni tempo fa
I managed to do the same in version 1.9. The only thing to notice is that OrderManager.cs has been renamed to OrderService.cs.
I hope this can be more configurable at some time. Currently the customer account has three types of addresses.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.