Interacting with Storefront
Accessing merchant data
To get merchant data in your app extension, you may consider using Storefront SDK. See here for more details.
If storefront SDK couldn't fulfill your needs, feel free to contact us for help. Meanwhile, you can check if you can get the data from the storefront page directly.
We are organising more documentations in regard to the HTML structure of the storefront. You can reference to this documentations later to find the UI elements more conveniently.
Changing the UI by scripts
Sometimes you might want to change the UI in the storefront. You can achieve it by the javascript that being injected into storefront.
But first, you need to identify the followings
- the position you want to add the UI
- the existing UI that you want to modify
Once you have identify the above two things, you can select them via CSS selector and do whatever you want with the javascript!
At the moment, you might need to to inspect the storefront with Chrome Developer Tools
to find the ID
of the UI elements
If you need support, please contact us.
Updated about 1 month ago