You can control access to pages, products, or content on Shopify, based on a customer's Discord role using the Shopify LockOn-Content Restriction and the miniOrange Discord Integration application. This is useful for offering premium content, member-only products, or early access to selected users.
When a customer logs in via Discord, their assigned roles will be synced to Shopify customer tags. You can then restrict or grant access to content based on these tags via the LockOn application.
This allows you to:
- Grant or restrict access to pages, products, collections, purchase buttons, and other content based on customer roles in Discord.
- Update access in real-time; if a customer’s Discord role changes, their Shopify permissions update automatically.
- Simplify member management, especially for subscription-based or exclusive communities.
Here's how to set it up:
- Ensure you have installed the Discord application (Premium Plan) and the LockOn Content Restriction application (Scale plan or higher depending upon the feature required) on your Shopify store.
- Fetch member roles from Discord:
- To fetch member roles from Discord and assign them as Shopify customer tag on successful login using Discord, enable the Fetch Member Roles and Assign them as Customer Tags option.
- Click on Save Changes.
- Set up restrictions based on customer tags by referring to this developer documentation.

This setup ensures that only customers with the appropriate Discord roles can access exclusive content on your Shopify store.
For further assistance in restricting Shopify store content based on customer roles assigned in Discord, please feel free to contact our team.