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

[Bug]: Order history does not display order content #126

Closed
1 task done
michaelbromley opened this issue Nov 3, 2021 · 2 comments · Fixed by #137
Closed
1 task done

[Bug]: Order history does not display order content #126

michaelbromley opened this issue Nov 3, 2021 · 2 comments · Fixed by #137
Assignees
Labels
bug Something isn't working
Projects
Milestone

Comments

@michaelbromley
Copy link
Collaborator

Expected Behavior

The order history detail view at the /my-account/order-history route should display the contents of the order.

Actual Behavior

An empty table:
image

Possible Solution

No response

Steps to reproduce

  1. Log in
  2. Place an order
  3. Go to "my account", "order history", "view details"
  4. See screen as in screenshot above

What version of vendure integration are you using?

1.0.0-beta.3

What version of Node.js are you using?

16.x

What browser (and version) are you using?

Brave (Chromium 95)

What operating system (and version) are you using?

Windows 10

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@michaelbromley michaelbromley added the bug Something isn't working label Nov 3, 2021
@Baroshem
Copy link
Collaborator

Baroshem commented Nov 3, 2021

@michaelbromley

I tried to find the field in the order query that will contain the data about bought products but was not able to find it. Could you provide some guidance here? :)

@Baroshem Baroshem added this to To do in 1.0.0 via automation Nov 3, 2021
@Baroshem Baroshem added this to the 1.0.0 milestone Nov 3, 2021
@michaelbromley
Copy link
Collaborator Author

Sure, like this:

query {
  order(id: 1) {
    lines {
      id
      unitPriceWithTax
      quantity
      featuredAsset {
        preview
      }
      productVariant {
        id
        name
        sku
      }
    }
  }
}

@justyna-13 justyna-13 self-assigned this Nov 18, 2021
@justyna-13 justyna-13 moved this from To do to In progress in 1.0.0 Nov 18, 2021
@justyna-13 justyna-13 linked a pull request Nov 18, 2021 that will close this issue
9 tasks
1.0.0 automation moved this from In progress to Done Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
1.0.0
Done
Development

Successfully merging a pull request may close this issue.

3 participants