-
Welcome, I'm working on listing products on the basket cart using swell-node, but I need to get customer name and I didn't find in Swell documentation a way to fix this! I don't see the new attribute in the console log of the returned product! |
Beta Was this translation helpful? Give feedback.
Answered by
cheningD
Feb 6, 2024
Replies: 1 comment 2 replies
-
First I would try expanding the query to include the fields you want: https://developers.swell.is/backend-api/querying/including#expanding If that fails, the second thing i would try is list all vendors and make a vendor_id to vendor map |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
wpplumber
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First I would try expanding the query to include the fields you want: https://developers.swell.is/backend-api/querying/including#expanding
If that fails, the second thing i would try is list all vendors and make a vendor_id to vendor map