Using Shopify and Single, you can use NFT collections on the Solana blockchain to provide exclusive access to specific products in your store.
Before your start
In order to tokengate a Shopify product with your NFT collection, it is important to have a pre-existing NFT that has been created and published or imported in Single. To help you get started with these initial steps, see the tutorials below:
- Create a single-image NFT collection
- Create a multi-image NFT collection
- Create a generative NFT collection
- Import an existing NFT collection
Steps
- Log into your Single account.
- From the left sidebar, click on NFTs.
- Choose the NFT collection you want to use for tokengating.
- Click Perks in the top right menu.
- Click +Select Content in the Token Perks section.
- Set your content type to Product.
- Search for the Shopify Product you want to tokengate.
- Set the Claim Limit, Discounts Allowed, and Visibility toggles to your liking.
- Click Save.
- Follow this tutorial to replace Shopify's standard buy buttons with Single's custom ones for the gated products.
Things to note:
-
Visibility: If you gate a product in Single, it will be set to 'hidden' in Shopify. If you un-gate it later, you must manually change the visibility settings in Shopify.
-
Accessibility: Only customers within the designated NFT can purchase the gated product.