Skip to main content
Add tokengating to your Shopify store
Updated over a week ago

🚨 Tokengates can only work with Shopify Online Shop 2.0 themes

Please note, if you are using a legacy theme it will not be possible to use this feature.

What are tokengates?

Tokengating adds value to an NFT by giving holders exclusive access to additional physical or digital products, communities, content, and more. It allows you to offer rewards, build loyalty, and increase engagement. Tokengates restrict access to your store, with products available for free or at a set price.

With Verisart tokengates, you can customize gating rules such as:

  • Who has access

  • When the gated product is available

  • Adding discounts

  • Redemption limits

  • Filtering by traits


Create tokengate

Go to the 'Tokengates' tab, hit the 'Create' button to set up a new tokengate

Set up your tokengate

  • Give your tokengate a name

  • Add a contract address

    • This determines which NFTs your customers need to hold to access your gated products

    • The contract address of the NFT collection can be found by viewing it on any marketplace, such as OpenSea

  • Choose your blockchain

    • The blockchain must match the chain the smart contract was created on

    • Check which blockchain your contract was created on by searching for it on Etherscan or Polygonscan

Configure access

Control who has access to the gated product

  • Current owners means the NFT can only be used to access the gated product once

  • Current and future owners means any wallet address that owns the NFT in the future will be able to access the product. This means the gate will work for ERC-1155 NFTs. The limitation here is that customers can exploit the gate to claim the product more than once by transferring the NFT to other wallets.

  • Snapshot of owner list means the NFT can only be used to access the gated product once at a specific moment in time

  • Redeemable items per wallet means the amount of times a wallet is able to claim and purchase the redeemable item.

Add discounts

You can allow tokenholders to purchase items at a discounted rate.

To enable discounts:

  • Tick the box next to 'Enable discounts.'

  • Set your desired discount percentage.

  • Use the pricing calculator to view the final price after applying the discount.

Set timing

With scheduled tokengates you can set a start and end time.

  • By default, the start date is immediate, but you can update it if you wish. Before the start date, the product will not be available for purchase

  • If you select an end date, the tokengate will be replaced with the "Add to Cart" button at the desired time/date, meaning products become available to buy for all

Filter by trait

  • You can choose to tokengate based on specific traits included in the NFTs

Select product

  • Add the product you want to tokengate

  • Hit save!

Configure theme

Configuring your Shopify theme is a necessary step - if it is not configured, the "Connect wallet" button will not display on the product page and your product will not be gated.

After setting up your tokengate, you must update the product template theme to add the connect wallet button.

Go to the Shopify Theme Editor

  • In the Admin panel on the left, click "Online Store" > "Theme". Under the Current theme, click “Customize”.

Product tokengates

  • In the theme editor search function, select "Products" and choose "Create Template".

You can also choose to modify the existing product template. This is more convenient if all products in your store are tokengated.

Create template

  • We recommend choosing the Default Product template but if you are using a custom product template just choose that.

Add the tokengating button

  • In the "Product information" section choose “Add block” and add the Verisart Tokengate button (you can find it under apps).

Re-order the tokengate button in the section as you require.

  • Just drag the component to place it in the desired position.

Customize "Connect Wallet" button

  • You can edit the color of the button and tokengate pop up. Click on the panel and choose your desired colors.

  • Hit save!

Set the correct theme template on the tokengated product

  • After choosing from product from the product list. Scroll down until you see the "Online store" panel on the right and select the template for tokengated products.

  • Hit save! - your tokengate is now ready!


Featured product tokengates

Add the tokengating button

From the menu on the left, click “Add block” and choose the Tokengate button (you can find it under apps).

Hit save - your tokengate is ready!


Add Token ID look up

Enable your customers to verify if a product linked to an NFT has been claimed. This tool is great when NFTs are sold on the secondary market, where those with unclaimed products often command a higher value.

Benefits:

  • Help customers quickly determine whether the product associated with an NFT has been claimed.

  • Allow customers to easily check if they've claimed their NFT's linked product, improving their ability to manage and track their assets.

1. Access Theme Settings:

  • Navigate to the Shopify Admin panel.

  • Click Online Store and select Themes.

  • Find your current theme and click Customize.

2. Add to your existing tokengating template:

  • In the Theme Editor, use the search function and select Products.

  • Click your existing tokengating template that you already created.


3. Add Token ID Look up:

  • Click Add block within your newly created template.

  • Go to the Apps section and choose token ID look up

  • Drag the token ID lookup block to your desired position within the template.

4. Save Changes:

  • After positioning the block, hit Save to apply the changes.

5. Assign the Template to Products:

  • Return to your product listing in Shopify.

  • Select a product linked with tokengate. Scroll down to the online store panel on the right.

  • Assign your newly created token ID lookup template from the dropdown menu.

  • Hit save on the top right corner.


Secure tokengates using Shopify checkout rules

The Verisart tokengate modifies your online store to hide the Buy button until a user can confirm ownership of the required token. We offer a Checkout rule that ensures no one can check out without a valid token by running a check in Shopify's server at checkout time.

To enable

  • Go to Store settings

  • Navigate to the 'Checkout' tab and scroll to the bottom of the page

  • Once at the bottom of the page, click 'Add rule'

  • Select Verisart secure tokengate

  • Click Activate to turn on secure tokengates


If an order is cancelled

Merchants may choose to cancel failed tokengated orders. If an order is cancelled, we will release the tokengate usage allocated for that order.


Reporting

You can track how many items have been redeemed from a tokengate in the Verisart App.

Go to the "Tokengates" tab in the Verisart App. A CSV file with the redemptions can be downloaded by clicking on the link in the expanded panel.

Did this answer your question?