What is a campaign?
A campaign is a discount or an exclusive product that can apply to whatever products or collections you want. To unlock a campaign, customers need to have a certain NFT, which can be from a Distribution or can be external, for example from an xrp.cafe collection.
Create a Distribution Campaign
In the following video, we are going to create a campaign for a distribution called "Documentation Distribution", the distribution was created previously. The campaign is going to be of type discount.
How it looks in the storefront
In this particular scenario, we customized the product widget colors, if you want, you can do it following the "Customize App Block Colors" instructions here.
Connect wallet
When customers click the "Connect wallet" button, they will se a QR code (on desktop) or a deep link (on mobile) to connect their Xaman wallet (formerly known as Xumm).
Unlocking the discount
After connecting his wallet, if the customer has the NFT form the distribution called "Documentation Distribution" he will see a message that the tokengate was unlocked and that he needs to add the product to the cart to see the discount.