McKinley Wear setup kit

Everything to launch and run the McKinley Wear shop on mckinleybulldogs.com. Copy, paste, done.

Which Spirit Hero stores should the shop show?

Use this for a flash sale, or whenever Spirit Hero gives you a new store link. No coding.

  1. Get the store link from Spirit Hero (it looks like spirithero.com/collections/something).
  2. Paste it on its own line in the box below. Put the one you want shown first at the top. The shop shows the first store that has items for sale and quietly skips any that are off, missing or sold out, so you can list the flash sale above the On Demand store and the shop switches back by itself when the sale ends.
  3. Scroll to Shop page code, click Copy, and paste it into the McKinley Wear page in Membership Toolkit (same steps as before) and Save.

Store records: On Demand = Spirit Hero store ID 6056 (collection mckinley-elementary-spirit-wear-on-demand); Flash Sale = ID 6314 (collection mckinley-elementary-spirit-wear-flash-sale). The IDs and admin links are also written in a comment in mckinley-wear.js, next to COLLECTIONS_DEFAULT, in case the Spirit Hero editor is ever unavailable.

Pasting the whole link or just the last part after /collections/ both work. Blank lines are ignored. If every store here is empty, the shop shows a friendly “between sales” message with a link to Spirit Hero instead of an error.

1. See it live

A full working copy of the shop, styled like the PTA site, with real Spirit Hero items, the header banner and sample Reliance premium items.

2. Shop page code

Make a page in Membership Toolkit (Full Width layout if offered), open the Source Code (<>) view or add an HTML block, and paste one of these.

Favorites in the shop banner

Open a product in the shop, select a logo if applicable, and use Copy link. Paste up to four links below, then copy the updated shop code. Blank or unavailable products are skipped.

Changing these fields updates the code below. Paste the updated code into the shop page to apply the changes.

Option A: short (recommended to start)

The shop code is loaded from tobinworks.com, so fixes and new features show up without re-pasting. Depends on tobinworks.com staying up.

Option B: self-contained (what mckinleybulldogs.com uses)

The whole shop in one paste, including the photo viewer and logos. Nothing is loaded from tobinworks.com, so it keeps working even if this site goes away. It is a large paste (about 165 KB); use the Copy button rather than selecting by hand. Re-paste only if you want new features.

Loading…

If the shop doesn't appear after saving

Tested on the PTA site: open the page in Website > Content Pages, set Page Template to Full Width, click the source-code button (<>) in Content Body, paste, OK, set Status to Published, Save. The editor wraps the script in harmless // <![CDATA[ comments. If a future editor update strips the script, use an HTML block instead (Website > Site Structure, the same kind of block as the homepage Instagram feed), or switch to Option A.

5. Copy for posts, emails and texts

Ready to paste. The shop link uses the page address above. Edit dates if your sale changes.

6. Reliance premium items ✦ Premium

Reliance Clothing Co. (1350 Burlingame Ave) runs its online store on Shopify, the same platform as Spirit Hero. That means the McKinley shop can show Reliance items the same way, with a silver look, mixed in with the spirit wear. Reliance controls which items and what price; the PTA site shows them automatically.

Checking Reliance…

What to ask Reliance (about 15 minutes of their time)

  1. Make a collection called mckinley-bulldogs in Shopify and put the McKinley items in it: hats, tees, hoodies, crews, bags. It does not need to be in their store menu; people only reach it through our site. When it has items, they appear in the shop with a Reliance label.
  2. Pick how the school price works. Any one of these works with our page:
    • McKinley-edition products (embroidered with our logo) priced at the school price. Simplest: the price on our page is the real price.
    • A discount code (for example MCKINLEY15) limited to that collection. We add the code to our page once; every Reliance checkout link applies it automatically.
    • An automatic discount on that collection in Shopify. Nothing to set on our side, but it also applies to anyone who finds the items in their store.
  3. Optional: a fundraising share per item for the PTA, and in-store pickup so families can try things on.

How checkout works

Spirit Hero items go in the McKinley Wear bag as usual. Premium items have their own "Checkout at Reliance" button that opens Reliance's checkout with that item (and the school code, if there is one). Two stores means two checkouts; there's no way to combine them into one cart.

Right now: sample items

The Reliance section is off for now because the items are not for sale yet. When Reliance is ready, open the page code and, in the config block marked RELIANCE PREMIUM ITEMS, change premiumCollection: '' to premiumCollection: 'mckinley-bulldogs'. Save, and the items show. Set it back to '' to turn them off.

Turning on a discount code later

Option A (short code): add this line above the two lines, with Reliance's code: <script>window.MW_OPTIONS = { premiumDiscountCode: 'MCKINLEY15' };</script>
Option B (self-contained): find discountCode: OPT.premiumDiscountCode || '' and put the code between the last quotes, e.g. || 'MCKINLEY15'.

7. Hand-off notes for the next volunteer