Still fighting Salutation :(
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 20
- Joined: 22 Oct 2020, 15:39
Still fighting Salutation :(
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
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
Re: Still fighting Salutation :(
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, give us a star
If you like Aimeos, give us a star