You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clearAddresses - Clears the billing and shipping addresses off the cart. clearBillingAddresses - Clears only the billing address off the cart. clearShippingAddresses - Clears only the shipping address off the cart.
Product
Commerce
Description
Added the following params to the update cart action for the next release of Craft Commerce:
https://craftcms.com/docs/commerce/4.x/dev/controller-actions.html#supported-params-3
clearAddresses
- Clears the billing and shipping addresses off the cart.clearBillingAddresses
- Clears only the billing address off the cart.clearShippingAddresses
- Clears only the shipping address off the cart.Possibly a paragraph explaining the above should be added to https://craftcms.com/docs/commerce/4.x/addresses.html
The text was updated successfully, but these errors were encountered: