Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Content]: Added the ability to clear the cart addresses #502

Open
lukeholder opened this issue May 11, 2023 · 1 comment
Open

[Content]: Added the ability to clear the cart addresses #502

lukeholder opened this issue May 11, 2023 · 1 comment

Comments

@lukeholder
Copy link
Member

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

@lukeholder
Copy link
Member Author

Will be in the next release of commerce likely to be 4.2.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant