If this is related to specific APIs or components, please list them here
useCustomer hook in Checkout UI Extensions API.
Is your feature request related to a problem? Please describe.
Currently, the useCustomer hook in the Checkout UI Extensions API provides essential customer information such as id, image, name, and phone. However, it does not return customer tags, which limits the ability to segment and personalize the checkout experience based on customer groups. This gap in functionality is particularly frustrating when trying to tailor checkout experiences for specific customer segments, such as VIP customers or frequent buyers.
Describe the changes you are looking for
I would like to request the addition of a tags field to the useCustomer hook. This field would return an array of tags associated with the customer. For example:
This enhancement would allow developers to create more personalized and dynamic checkout experiences based on customer segmentation.
Describe alternatives you’ve considered
Currently, the lack of customer tags in the useCustomer hook forces developers to rely on external APIs or additional backend logic to retrieve customer tags. These alternatives increase complexity and latency, making the development process more cumbersome and less efficient.
Additional context
Adding customer tags to the useCustomer hook would greatly enhance the flexibility of the Checkout UI Extensions API, enabling more robust and personalized customer experiences. This feature would align with the need for greater customization capabilities within the Shopify ecosystem.
Related Package(s)
checkout-ui-extensions
If this is related to specific APIs or components, please list them here
useCustomer
hook in Checkout UI Extensions API.Is your feature request related to a problem? Please describe.
Currently, the
useCustomer
hook in the Checkout UI Extensions API provides essential customer information such asid
,image
,name
, andphone
. However, it does not return customer tags, which limits the ability to segment and personalize the checkout experience based on customer groups. This gap in functionality is particularly frustrating when trying to tailor checkout experiences for specific customer segments, such as VIP customers or frequent buyers.Describe the changes you are looking for
I would like to request the addition of a
tags
field to theuseCustomer
hook. This field would return an array of tags associated with the customer. For example:This enhancement would allow developers to create more personalized and dynamic checkout experiences based on customer segmentation.
Describe alternatives you’ve considered
Currently, the lack of customer tags in the
useCustomer
hook forces developers to rely on external APIs or additional backend logic to retrieve customer tags. These alternatives increase complexity and latency, making the development process more cumbersome and less efficient.Additional context
Adding customer tags to the
useCustomer
hook would greatly enhance the flexibility of the Checkout UI Extensions API, enabling more robust and personalized customer experiences. This feature would align with the need for greater customization capabilities within the Shopify ecosystem.