Jump to content

Different requirements on delivery and billing address.


Recommended Posts

Hello,

 

firstly, it's nice to meet all of you at this forum, i'm glad that i have an occasion to post with you.

 

For my last two days i've been facing a problem that i can't solve, i hope that i will find here somebody who knows the answer, namely...

 

There are two addresses, delivery and billing address. What i'm willing to do is to make different requirements in two addresses validations. By default, firstname and lastname are required in both, delivery and billing address and I need to leave it required only in delivery address. If company name is given i need to 'unrequire' firstname and lastname in billing address, that clients are let to leave it empty.

 

I've been looking in address.php, address controllers, etc. and i have to admit that i can handle it.

 

I'm using prestashop 1.5.4.1.

 

I've attached a photo to help you understand. I have to let clients delete their name "Chris Chris" from billing address (which i cant do now - there is a requirement), because they are geting frustrated when they think that their name will be shown at the invoice.

 

gnz27w3.png

 

Thanks in advance for your help!

 

Sincerely,

Chris

post-856725-0-34890400-1413402450_thumb.png

Link to comment
Share on other sites

Hello tuk66, thanks for your fast reply.

 

We make invoices using third-part software. I know there are plenty of reasons that it's better to leave firstname and lastname required for delivery address but for billing address it's usually useless because majority of our clients are companies where sales representatives are responsible for orders and we've got a lot of mails and calls that they won't have their names on invoices. They usually try to delete firstname and lastname from billing address but it stays required. Is it possible to change it?

 

Sincerely,

Chris

Link to comment
Share on other sites

×
×
  • Create New...