Skip to content

Conversation

@nmalevanec
Copy link
Contributor

Description

Fix for : Admin orders account information showing guest for customer name.

Fixed Issues (if relevant)

  1. Admin orders account information showing guest for customer name #11552: Admin orders account information showing guest for customer name.

Manual testing scenarios

  1. Register customer.
  2. Create simple product.
  3. Create guest cart with POST rest/V1/guest-carts.
  4. Add simple product to cart with POST rest/V1/guest-carts/{cart_id_form_previous_step}/items.
    body ex:
{
  "cartItem": {
    "sku": "{your_simple_product_sku}",
    "qty": 1,
    "name": "{your_simple_product_name}",
    "product_type": "simple",
    "quote_id": "{cart_id_form_previous_step}"
  }
}
  1. Assign cart to registered customer with PUT rest/V1/carts/mine.
    Set only customer id field for customer information:
{
  "quote": {
    "id": "{quote_id_from_previous_step_response_body}",
    "is_active": true,
    "customer": {
      "id": "{registered_customer_id_from_first_step}",
    }
  }
}
  1. Login as customer from 1-st step(customer should have cart with 1 item. If not, try to remove all previous quotes from magento db, table "quote").
  2. Complete checkout process.
  3. Navigate to admin Sales > Orders.
  4. Check newly created order, section "Account Information". "Customer Name", "Email", "Customer Group" should be presented and has correct values(same as registered customer from step1).

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-engcom-team magento-engcom-team added 2.2.x Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Nov 8, 2017
@nmalevanec nmalevanec deleted the 11552 branch August 21, 2018 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-issue Progress: reject Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants