How to limit product purchases to specific classes?

Hello,

We sell our products to schools. They have students that need to purchase the items as class material. These items are limited to only that specific class, other classes or the public are not allowed to purchase these items. How can I make this work.

Thank you

You could have them create customer accounts, or use 1 single customer account and have em all login as that customer.

Once you have that, you can do things like disable the add to cart button (and add some messaging) unless the account is tagged Students123. You can use Liquid code to accomplish the disabling / messaging part.

Hey @Russ_Balushian !

This is Finley from the Social Care team at Shopify.

Another option that you can take a look at is using a third-party app from the app store such as Locksmith.

With this app, you can lock certain areas of your website and only allow access if the customer matches specific criteria.

Some examples of the criteria include:

  • If the customer has a specific tag

  • If they enter a passcode

  • If they arrive through a secret link

With other criteria options available too.

I recommend having a look to see if the app works for you!

If you need help with the app, you can contact the app’s support team through the Support section of the app listing:

Otherwise, if you add the app to your Shopify account, you’ll be able to contact them through the Get support button in the Apps Section of your Shopify admin:

I hope this helps! If you have questions for me, feel free to reach out.

Cheers,