Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Conversation

atwixfirster
Copy link
Contributor

@devops-devdocs
Copy link
Collaborator

An admin must run tests on this PR before it can be merged.

@rogyar rogyar self-assigned this Feb 12, 2020
`Current user does not have an active cart.` | `mergeCarts` mutation deactivates provided in the `source_cart_id` attribute guest's cart after merge, thus guest will be not able to make any further operations with it.
`Required parameter "destination_cart_id" is missing` | The `destination_cart_id` attribute contains an empty value.
`Required parameter "source_cart_id" is missing` | The `source_cart_id` attribute contains an empty value.
`The current customer isn't authorized.` | The current customer is not currently logged in, or the customer's token does not exist in the `oauth_token` table, or you tried to merge guests carts.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you tried to merge guests carts

Thats a very good point 👍

@rogyar rogyar added the Technical Updates to the code or processes that alter the technical content of the doc label Feb 12, 2020
Copy link
Contributor

@keharper keharper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@atwixfirster The description of the first error wasn't clear to me, so I'm just leaving suggested edits, instead of editing the PR directly.


Error | Description
--- | ---
`Current user does not have an active cart.` | `mergeCarts` mutation deactivates provided in the `source_cart_id` attribute guest's cart after merge, thus guest will be not able to make any further operations with it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`Current user does not have an active cart.` | `mergeCarts` mutation deactivates provided in the `source_cart_id` attribute guest's cart after merge, thus guest will be not able to make any further operations with it.
`Current user does not have an active cart.` | The `mergeCarts` mutation deactivates the guest cart specified in the `source_cart_id` after merging. The guest cannot make any further operations with it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implemented

`Current user does not have an active cart.` | `mergeCarts` mutation deactivates provided in the `source_cart_id` attribute guest's cart after merge, thus guest will be not able to make any further operations with it.
`Required parameter "destination_cart_id" is missing` | The `destination_cart_id` attribute contains an empty value.
`Required parameter "source_cart_id" is missing` | The `source_cart_id` attribute contains an empty value.
`The current customer isn't authorized.` | The current customer is not currently logged in, or the customer's token does not exist in the `oauth_token` table, or you tried to merge guests carts.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`The current customer isn't authorized.` | The current customer is not currently logged in, or the customer's token does not exist in the `oauth_token` table, or you tried to merge guests carts.
`The current customer isn't authorized.` | The current customer is not currently logged in, or the customer's token does not exist in the `oauth_token` table, or you tried to merge two guest carts.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

`Required parameter "destination_cart_id" is missing` | The `destination_cart_id` attribute contains an empty value.
`Required parameter "source_cart_id" is missing` | The `source_cart_id` attribute contains an empty value.
`The current customer isn't authorized.` | The current customer is not currently logged in, or the customer's token does not exist in the `oauth_token` table, or you tried to merge guests carts.
`The current user cannot perform operations on cart` | Authorized customer tries to merge a guest cart into a cart of another customer.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`The current user cannot perform operations on cart` | Authorized customer tries to merge a guest cart into a cart of another customer.
`The current user cannot perform operations on cart` | The authorized customer tried to merge a guest cart into the cart of another customer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@atwixfirster
Copy link
Contributor Author

@keharper all your suggestions have been implemented. Could you please review? Thank you!

@keharper keharper changed the base branch from master to small-changes February 14, 2020 16:02
@keharper keharper added 2.3.x Magento 2.3 related changes small changes labels Feb 14, 2020
@keharper keharper merged commit 7ddd1a7 into magento:small-changes Feb 14, 2020
@ghost
Copy link

ghost commented Feb 14, 2020

Hi @atwixfirster, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.3.x Magento 2.3 related changes Partner: Atwix partners-contribution PR created by Magento partner Technical Updates to the code or processes that alter the technical content of the doc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants