Start here
Every co-brand product is locked by its tags. Locksmith reads the tags and hides the product from everyone except the school it belongs to.
Not sure? Open Locksmith and search the school's name. If you see a lock called Products tagged with "School Name", the school already has a lock. Follow part A.
A. The school already has a lock
Example from today, the Jedi 66 No-Gi. Jedi already had a lock, so the new product only needed its tags.
1. Tag the product
- Open the product in Shopify (Products, then click it).
- On the right, in Tags, add
Co-Brand. - Add the school's tag, for example
Jedi BJJ. Pick it from the list as you type. Don't type it fresh. It must match the school's other products exactly, capitals included. - Click Save.
The Jedi 66 No-Gi with its two tags, Jedi BJJ and Co-Brand.
2. Check the school's lock
- In the left menu, click Locksmith.
- In Existing locks, click the magnifying glass and type the school name.
- You should see Products tagged with "Jedi BJJ" with a key that says Permit if the customer is tagged with "Jedi BJJ".
Searching "Jedi" shows the school's own lock, plus the Co-Brand page lock, which has Jedi on its list.
That's all. The lock covers every product with that tag, so the new one is protected the moment you save the tags. You don't need to touch the lock.
3. Check it worked
- Open the product's store page in a private or incognito window (logged out). It should say "This content is protected - please log in with your customer account to continue." No Add to cart button.
- The school owner logs in and the product opens for them.
B. The school is brand new
Do this once per school. After that, every new product for them is part A.
1. Check the owner's customer tag
Open the owner's customer record in Shopify. They need the school tag, for example Jedi BJJ. This is the tag the lock checks. Write it down exactly.
2. Tag the product
Same as part A, step 1. Add Co-Brand and the school's tag.
3. Make the lock
- Open Locksmith. In Add new lock, type the school's product tag.
- Pick the result that says Product tag. That makes a lock for every product with that tag, now and later.
- Under Keys, click Add key. Choose is tagged with and pick the owner's tag from the list.
- On the right, tick Hide from navigation menus and Hide from lists.
- Leave Enable manual locking unticked.
- Click Save. Then reload the page and check the key is still there.
Start in the Add new lock box at the top of Locksmith.
A finished lock. One key, both hide boxes ticked, manual locking off.
Never tick "Enable manual locking". It sounds safe, but it turns the lock off and anyone with the link can buy the product.
4. Add the school to the Co-Brand page
The Co-Brand page has its own list of schools allowed in. A new school has to be added, or the owner can't open the page.
- In Locksmith, open the lock called Co-Brand.
- Under Keys, click the pencil on the second key (Liquid condition cb_ok), then the pencil on its condition.
- In Liquid prelude, find the list of school tags between the quote marks. They're separated by a straight line
|. - Add the owner's tag with a
|before it, inside the quotes. For example change...|X2 BJJ"to...|X2 BJJ|New School BJJ". - Change nothing else. Click Save, reload, and check both keys are still there.
The school list on the Co-Brand lock. Jedi BJJ is in it.
5. Check it worked
Same as part A, step 3.
Easier option
Text or email us the product name and the school. We'll tag it, lock it and test it, and let you know when the owner can order.