For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello,
I would like you to help me on how I can obtain the metadata of a client in a component created using checkout ui extension. The metafields that I want to obtain have the same namespace but a different key and are of type json, e.g.
namespace:gpsLocation
key: 838291919
nampe:gpsLocation
key: 878282828
In the documentation it tells me to place each metafield individually, and that is a problem since if I create a new address a new metafiled will be added and I would have to re-edit my created component to add the new metafield.
These are my metafields.
https://shopify.dev/docs/apps/checkout/display-custom-data?extension=react
Any help would be very useful, thanks in advance