Still fighting Salutation :(

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
thepurpleblob
Posts: 20
Joined: 22 Oct 2020, 15:39

Still fighting Salutation :(

Post by thepurpleblob » 13 Nov 2020, 17:09

I don't seem to be getting anywhere. As I mentioned, my idea would be to have a text field. However...

I found that it is possible to add additional salutations in the config at client.html.checkout.standard.address.salutations. These appear on the address form but it now does not work at all. I fall foul of a check in

https://github.com/aimeos/aimeos-core/b ... e.php#L708

It was mentioned that it could be removed, but I can't see how to do that. Simply hiding the field produces an error ("At least one billing address part is missing or invalid"). Even if I make it optional in the settings (client.html.checkout.standard.address.billing.optional => ['order.base.address.salutation'...) it's still mandatory. I seem to be getting something wrong

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Still fighting Salutation :(

Post by aimeos » 16 Nov 2020, 09:41

Passing an empty value should work because then the saluation will be set to SALUTATION_UNKNOWN
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply