[Content]: Added the ability to clear the cart addresses
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 42
- Forks
- 160
- Avg merge
- 3h 9m
- Merged PRs (30d)
- 4
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the linked Craft Commerce supported-params documentation and the 4.x addresses page. Add a concise explanation of clearAddresses, clearBillingAddresses, and clearShippingAddresses to the addresses documentation, then verify the page renders correctly and clearly describes each option.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100