Jump to content

Admin order without address


sini

Recommended Posts

Dear,

 

 I would like to place new order in BO but, I don't know address of customers. So I would like to create order only with name and email. Is it possible to set or change something in code, or some module?

 

 

Thx for answer

 

 

Link to comment
Share on other sites

In order to create an order for a customer at back office, you must have the customer account created first.

Since PresatShop required at least one address for shipping and billing address, so it might difficult to skip.

 

But as work around,

1. you may consider to modify the address page to pre-populate with an sample address (assume you will not use it) so you just need to click it to popup and then click save to create the address.

 

 

2. create an sample address directly when create a new customer account in code.

You can do that inside override method add() in following file

 

/classes/Customer.php 

 

 

Or (recommended)

/override/classes/Customer.php 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...