Skip to content

Conversation

@akrutsko
Copy link
Owner

Add product to cart / Remove product from cart

Description of changes 🗣️

  • the application correctly identifies whether a product is already in the user's shopping cart when viewing the product page
  • if the product is not already in the shopping cart, the "Add to Cart" button is active and can add the product to the cart
  • if the product is already in the shopping cart, the "Add to Cart" button is inactive
  • after successful removal, the user receives a confirmation message
  • the application handles API errors gracefully, showing appropriate error messages if the removal operation fails.

Related Tasks 🔗

  • ECOMM-4_07: [Product] Add Product to Cart Functionality for Non-Duplicated Products
  • ECOMM-4_08: [Product] Remove Product from Cart Functionality

Special Instructions for the Reviewers☝🏻

n/a

Additional Information 📚

n/a

@akrutsko akrutsko added the enhancement New feature or request label Sep 13, 2023
@akrutsko akrutsko self-assigned this Sep 13, 2023
@netlify
Copy link

netlify bot commented Sep 13, 2023

Deploy Preview for ecomm-cd ready!

Name Link
🔨 Latest commit d57d659
🔍 Latest deploy log https://app.netlify.com/sites/ecomm-cd/deploys/65020dfbacff650008ba99ec
😎 Deploy Preview https://deploy-preview-56--ecomm-cd.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@akrutsko akrutsko merged commit d293e0c into main-cart-about Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done (Sprint 4)

Development

Successfully merging this pull request may close these issues.

5 participants