-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Incomplete Documentation for requireBillingAddressAtCheckout and requireShippingAddressAtCheckout Settings #637
Comments
Those settings are now on a per store level and not global commerce configs, so the doc links need updating. I have moved this issue to the docs repo so we can sort that. In the meantime, to explain what those settings do: setting either of those store settings to true will cause order completion on final checkout (which usually only happens when making payment) to return as invalid. The cart will get a validation error for missing addresses. Hope that helps. |
Ok, thank you. However, I still do not understand how to set other required fields for the customer address (specifically during the In this case, I want I cannot find additional options under |
@romainpoirier Sorry those settings just make the addresses required to be on the order, not specific fields. If you want to add validation to the addresses on the order, you need to add you‘re own validation within a module. You can add validation to all addresses as documented here: https://craftcms.com/docs/5.x/reference/element-types/addresses.html#validating-addresses |
What happened?
Description
In the Craft Commerce 5 documentation, the following section mentions two configuration settings:
However, when clicking on the
requireBillingAddressAtCheckout
andrequireShippingAddressAtCheckout
links, no information is provided on the destination page.Steps to reproduce
Expected behavior
Information or documentation about the
requireBillingAddressAtCheckout
andrequireShippingAddressAtCheckout
settings should be displayed.Actual behavior
No information is provided on the destination page after clicking the links.
Questions
Craft CMS version
5.2.28
Craft Commerce version
5.0.14
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: