We’re looking for some guidance from the community.
We’ve developed a custom app called Tax immune which was working perfectly with Legacy Customer Accounts on Shopify. The app is designed to work specifically with the customer profile that’s a core part of how it functions.
However, after switching to the new Customer Accounts (Recommended) setup, we’re no longer able to enable or integrate the app properly. It seems like the new system may not fully support the same customer profile structure, and we’re unsure how to proceed.
If anyone has encountered a similar situation or has advice on adapting apps to work with the new customer account experience, we’d really appreciate your input!
Yes the Customer Account Extensions introduces a totally new paradigm for integrating into the profile pages.
I assume in the past perhaps you registered a script tag, or potentially some theme code to include on the specific pages.
Now you can publish Customer Account Extensions, which display as app blocks that merchants can drag and drop into their themes.
There’s specific mounting points called targets that you can define for your extensions to render on. Then you can use the React hooks to retrieve data that your extension needs to display content.
I’d like to know how we can retrieve customer data on the new customer account page. Do we need to call a proxy API or our public app API endpoint to access this information?
The availability of data depends on which target you’re mounting to.
Here’s a list of hooks you can subscribe to for data in Customer Account Extensions:
But first you need to determine which target your app should mount to. From there you’ll be able to see which APIs are available to retrieve this data either directly from Shopify or from your own API or a blend of both.