Reading custom fields. #354
-
I'm having the same issue as here: https://github.com/orgs/swellstores/discussions/152 But when I tried updating the permissions for my storefront's public key it's still not letting me read it. I'm currently storing the value in the content namespace but I'd like to be able use it in the same way as I tried this changing the storefront public key permissions like so:
It succeeded but didn't seem to update them, at least not in any way I could see. What am I doing wrong here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
If you want to return the field ( Can you try and confirm if that works? |
Beta Was this translation helpful? Give feedback.
If you want to return the field (
price_per_person
) as normal asprice
field, then you need to create the field under None API namespace.Then, granting the read permission like you described in the screenshot should work.
Can you try and confirm if that works?