What do I need to be mindful of for my headless Shopify store?
The PERCS Shopify plugin will work on headless storefronts. However you will need to be mindful of some things for your implementation to work.
- nft-connect.js refreshing . This means that one would need to import the updated version of the script from themes folders and export it to the product page.
- loading product IDs into our components
- make sure you load the nft-connect.js script before our perc components.
- Mindful when dismissing the perc modals and other components that should close etc.
Each headless store is unique, and what is required can vary. Feel free to reach out to builders@getpercs.com if you have any questions about setting up tokengating on a headless store.
- nft-connect.js refreshing . This means that one would need to import the updated version of the script from themes folders and export it to the product page.
- loading product IDs into our components
- make sure you load the nft-connect.js script before our perc components.
- Mindful when dismissing the perc modals and other components that should close etc.
Each headless store is unique, and what is required can vary. Feel free to reach out to builders@getpercs.com if you have any questions about setting up tokengating on a headless store.
Updated on: 22/12/2023
Thank you!