Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Docs: Fixed `address_requires_phone` wrong default value

Damian Legawiecc1e0a4cf81ce
diff --git a/docs/developer/customization/configuration.mdx b/docs/developer/customization/configuration.mdx
index 1abf8881bb..c650191cee 100644
--- a/docs/developer/customization/configuration.mdx
+++ b/docs/developer/customization/configuration.mdx
@@ -8,7 +8,7 @@ Here is a list of all the configuration options that are available in Spree.
| Configuration Key | Description | Default Value |
|------------------------------------|-------------------------------------------------------------------------------------------------------|---------------------|
| `allow_checkout_on_gateway_error` | Continues the checkout process even if the payment gateway error failed. | `false` |
- | `address_requires_phone` | Determines whether a phone number is required for Addresses. | `true` |
+ | `address_requires_phone` | Determines whether a phone number is required for Addresses. | `false` |
| `alternative_shipping_phone` | Determines if an alternative phone number should be present for the shipping address on the checkout page. | `false` |
| `always_include_confirm_step` | Determines if the confirmation step is always included in the checkout process, regardless of the payment method. | `false` |
| `auto_capture` | Depending on whether or not Spree is configured to "auto capture" the credit card, either a purchase or an authorize operation will be performed on the card (via the current credit card gateway). | `true` |
@@ -55,4 +55,4 @@ This will return the current value of the `expedited_exchanges` preference. You
Spree::Config.expedited_exchanges = true
```
-This will set the `expedited_exchanges` preference to `true` for the current process. After restarting the Rails server, the preference will return to the default value or the one set in the initializer.
\ No newline at end of file
+This will set the `expedited_exchanges` preference to `true` for the current process. After restarting the Rails server, the preference will return to the default value or the one set in the initializer.