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.
Hace 13 años
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?
Hace 13 años
No, it'll require some customization
Hace 13 años
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;
Hace 13 años
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...
Hace 13 años
Yes... i skipped the billing address

I had done it...

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

thank you for your wonderful post
Hace 13 años
Any idea how to do it, in version 1.8?
Hace 13 años
Procedure is the same for 1.6 and 1.8

Just fallow the those steps for 1.8. It works...
Hace 13 años
thanks for the quick reply, i am not able to find 2) File OrderManager.cs..
Hace 13 años
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
Hace 13 años
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.