To give students and teachers a discount on Shopify, tag them student or teacher once you have checked their ID, then create one discount code in OneCode: Stackable Discounts with the Global Condition Customer Tag Is one of student, teacher. Inside that one code, students can get 15% off, teachers 10% off, and both get free shipping on orders of $50 or more. Only logged-in customers with one of the tags can use it.

Example with the code SCHOOL and $8 shipping:

  • A logged-in student buys a $40 backpack and a $20 notebook set. With 15% off, they are $34 and $17, so the items come to $51. The cart was $60 before the discount, which is over $50, so shipping is free. They pay $51.
  • A logged-in teacher with the same cart gets 10% off: $36 and $18, $54 for the items, and free shipping. They pay $54.
  • A student who buys only the backpack pays $34. The cart is under $50, so they pay $8 shipping, $42 in total.
  • A customer without either tag gets nothing from SCHOOL, and pays $60 plus $8 shipping.

SCHOOL at checkout for a signed-in customer tagged student. The $40 Canvas backpack is $34, the $20 Notebook set is $17, Economy shipping is free instead of $8, and the total is USD $51.00.

Who checks eligibility

You do. Shopify and OneCode don’t verify anyone. You decide who qualifies, check their student or staff ID, and add the tag to their customer account in Shopify admin, by hand or with a verification service that adds the tag for you. OneCode only reads the tag.

Set it up

  1. In Shopify admin, open each customer you have checked and add the tag student or teacher.
  2. In OneCode, click Create discount. Keep Discount code and enter SCHOOL.
  3. Under Global Conditions, click Add Condition. Set Field to Customer Tag and keep Is one of. In Select or enter customer tags, pick or type student, then teacher.
  4. Click Add Discount Type. Keep Discount Type on Product Discount and Value Type on Percentage, enter 15 in Percentage, and keep Target as All Products. Under Per-Discount Conditions, click Add Condition, set Field to Customer Tag, keep Is one of, and pick student.
  5. Click Add Discount Type again. Enter 10 in Percentage and keep Target as All Products. Under Per-Discount Conditions, add Customer Tag Is one of teacher.
  6. Click Add Discount Type, set Discount Type to Shipping Discount, and keep Free Shipping. Under Per-Discount Conditions, add Cart Subtotal Greater than or equal to 50.
  7. Click Save discount.

The OneCode editor for the code SCHOOL: Customer Tag is one of student, teacher under Global Conditions, a 15% Product Discount for the student tag, a 10% one for teacher, and free shipping when the cart subtotal is at least $50

The Global Condition keeps everyone else out of the whole code, free shipping included. The Per-Discount Conditions decide which percent each group gets. A Shopify discount code holds one kind of discount, so with Shopify’s own codes the two percents and the free shipping would be three separate codes.

Things to check before you launch

  • A customer with both tags gets 15%, not 25%. When two product discounts in one code cover the same item, the item gets the one that saves more.
  • The $50 is checked before this code’s discounts. Cart Subtotal uses normal prices, so a student with a $52 cart gets free shipping even though the items come to $44.20 after 15% off.
  • Customers must be logged in. Tags are only known for logged-in customers, and guests have no tags. Tell customers to sign in before checkout when you tag them. Customer Segment is only a Global Condition, so it can’t give students and teachers different percents inside one code. If many of them check out as guests, make a separate discount for each group with a Customer Segment Global Condition, as described in the VIP discount guide.
  • Type tags exactly as they are spelled on your customers. student and Student are different tags.
  • A shared code is safe. If SCHOOL ends up on a coupon site, it still only works for logged-in customers with one of the tags. To skip the code altogether, choose Automatic discount in step 2 and give it a Title.

A one-off offer instead of a standing perk

For a back-to-school offer that each student or teacher can use once, keep Discount code and, in Maximum discount uses, tick Limit to one use per customer. You can also cap the total, for example 500 orders. Usage limits only work on discount codes, not automatic discounts. See one use per customer.

Maximum discount uses with Limit number of times this discount can be used in total ticked and set to 500, and Limit to one use per customer ticked

OneCode costs $9.90 USD every 30 days after a 7-day free trial, billed by Shopify. Install it from the Shopify App Store.