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

[sprint_3] 🎯 Issue RSS-ECOMM-3_18: Manage Addresses 🏡 in User Profile Page with commercetools API (15 points) #160

Closed
4 tasks done
stardustmeg opened this issue May 3, 2024 · 1 comment · Fixed by #317 or #322
Assignees
Labels

Comments

@stardustmeg
Copy link
Owner

stardustmeg commented May 3, 2024

🎯 Issue RSS-ECOMM-3_18: Manage Addresses 🏡 in User Profile Page with commercetools API (15 points)

📋 Description

Users should have the capability to manage their addresses within the application. This feature increases user autonomy and ensures they can maintain their address details up-to-date using the commercetools API. Users should also be able to set default billing and shipping addresses.

🔨 Implementation Details

  1. Address Management Option: Provide a distinct option for users to access address management within their user profile.
  2. Adding New Addresses: Allow users to add new addresses by entering all required address details (e.g., name, street, city, postcode, country).
  3. Deleting Existing Addresses: Enable users to remove existing addresses.
  4. Updating Address Details: Permit users to update existing address details with valid information.
  5. Set Default Billing and Shipping Addresses: Allow users to choose their default billing and shipping addresses from the list of existing addresses.
  6. Form Validation: Ensure the provided address details meet the necessary criteria (non-empty fields, valid format).
  7. Backend Integration: Implement address management by integrating with the commercetools API for customers and addresses, following the appropriate API guidelines.

🎨 Visual Implementation Ideas

  1. Addresses List: Display a list or card view of the user's existing addresses, with information organized neatly and clearly.
  2. Add Address Button: Add a visible "Add Address" button above or below the addresses list, making it easy to create a new address.
  3. Edit and Delete Icons: Place edit 📝 and delete ❌ icons next to each address, allowing users to quickly update or remove addresses as needed.
  4. Default Billing and Shipping Selection: Include checkboxes or radio buttons next to each address, allowing users to select default billing and shipping addresses.
  5. Address Entry Modal: Use a modal or dropdown to show address entry fields, ensuring a clean interface that saves space.

✅ Acceptance Criteria

  • Users can manage their addresses within the User Profile page using commercetools API, including adding new addresses, deleting existing ones, and updating address details.
  • Users can set their default billing and shipping addresses.
  • The system validates input address details according to the necessary criteria.
  • The application properly integrates with the commercetools API for address management purposes.

🔗 Useful Links and Resources

  1. commercetools: Update customer
@stardustmeg stardustmeg self-assigned this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant