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

FIX(add cart item): add item in cart by increment and decrement #70

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

Hakizimana-Clement
Copy link
Collaborator

@Hakizimana-Clement Hakizimana-Clement commented Jul 5, 2024

What does this PR do?

This PR is fix on cart endpoint where on create cart, the buyer only decrement quantity in cart without without decrement.

Description of Task to be completed?

  1. when buyer add product in cart, can increment/decrement quantity of product in cart.

How should this be manually tested?

  1. Clone repository
  2. Switch to branch fix-cart-187419072
  3. install packages and have all envs as they appear in .env-examples
  4. Try to add product in cart with productId and quantity and then change product quantity of the same product and see how it increment and decrement. according to the quantity you add.

Copy link

codeclimate bot commented Jul 10, 2024

Code Climate has analyzed commit 1de4126 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (60% is the threshold).

This pull request will bring the total coverage in the repository to 97.1% (0.0% change).

View more on Code Climate.

@Hakizimana-Clement Hakizimana-Clement removed the request for review from cyusasnave July 10, 2024 10:58
@leandreAlly leandreAlly merged commit 23ef274 into develop Jul 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increment and Decrement Quantity during creation of cart
4 participants