Hi all,
in checkout.liquid according to the documentation I should have access to a customers information via "checkout.customer" in fact I do have access to the customers information but not all information available that you can see via "/admin/checkouts/{checkout_id}.json" which is what I would expect.
What I want access to is "checkout.customer.note" trying to access it keeps returning an empty string although I know that it isn't.. other keys in the data return their expected results.. e.g. "tags"
Anyone @ shopify know why that is? Was ist perhaps overlooked?
Cheers and thanks,
Gary
Solved! Go to the solution
This is an accepted solution.
It looks like note is just not included in the liquid customer object https://shopify.dev/docs/themes/liquid/reference/objects/customer anywhere you would try to get that via liquid.
Thanks florian,
I didnt' think to check that Reference, I am so used to using the API that I just assumed that there must be a problem if it wasn't there.. that also explains why I don't get other information that I expect to be there.. going to have to re-think how I do a few things to account for this.
I bookmarked it so I don't forget before asking another silly question.
Cheers,
Gary
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
5 |