Customer verifies military status
The customer uses the Military Verification block on your cart page or another location you choose. Logged-in customers are prompted to sign in first. Guests can verify without an account.
Shopify Plugin
Verify military status, tag approved customers, and configure the discount that applies automatically at checkout. Logged-in customer discounts work on all Shopify plans. Guest discounts require Shopify Plus.
If automatic activation did not complete, activate Military Connect for this store manually.
The plugin handles both logged-in and guest customers with different but complementary approaches — each designed to be secure, automatic, and compatible with your existing discount platform.
The customer uses the Military Verification block on your cart page or another location you choose. Logged-in customers are prompted to sign in first. Guests can verify without an account.
Military Connect validates the customer's status via its OAuth API. Only customers with confirmed military affiliation pass this check — your server never trusts the browser alone.
Logged-in customers receive the mc_verified tag on their Shopify account. Your automatic discount rules handle the rest — this works on all Shopify plans. Guest customers on Shopify Plus stores receive a percentage discount applied automatically at checkout by the Military Connect Shopify Function. Guest discounts require Shopify Plus.
Once tagged as mc_verified, logged-in customers do not need to verify again. The discount applies on every future qualifying order automatically.
Military Connect tags verified logged-in customers with mc_verified in Shopify. Your discount platform uses this tag to apply the discount automatically. No code is involved in the logged-in flow.
This app does not create discount rules or set pricing for logged-in customers. You must configure those rules in your discount platform separately, targeting the mc_verified tag.
The Military Connect Embed automatically injects the verification button into your cart drawer or cart page without requiring manual placement. It works with all themes including those that use JavaScript-rendered cart drawers.
The embed is installed but inactive by default — Shopify requires merchants to activate app embeds manually. Open the theme editor, click App embeds in the left sidebar, find Military Connect Embed, and toggle it on. Save.
The Military Connect Embed has an optional Hide verification UI on cart setting (in the theme editor, under the embed's settings). When you enable it, the verification button and messages no longer appear on the cart, but discounts keep working in the background.
If you hide the cart UI, you must install the separate MilitaryConnect Verify app and place its verification button somewhere on your store (for example a home page, landing page, or account page). That button becomes the only way shoppers can verify. Without it, guests have no way to verify their military status and will not receive the discount at checkout. Leave the setting unchecked to keep the verification UI on the cart.
Some cart-drawer apps render their drawer and checkout button inside a shadow DOM — an isolated part of the page the embed's in-cart button cannot enter. UpCart is the most common example. On these stores the visible “Verify Military Status” button cannot appear inside the cart, whether or not Hide verification UI on cart is checked.
Discounts still work. The embed automatically detects this and falls back to a background-only mode that writes the discount token when a shopper verifies. You just need to give shoppers a visible way to verify — so, exactly as above, install the separate MilitaryConnect Verify app and place its button where shoppers can see it (a cart-page section, home page, or landing page). On these stores we recommend simply enabling Hide verification UI on cart so there is no empty slot in the cart drawer.
If your theme has a dedicated cart page (accessible at /cart) rather than a cart drawer, you can also place the Military Verification app block directly on that page for more precise positioning. This is optional — the embed from Step 1 handles cart drawers and pages automatically.
Military Connect works with Shopify native discounts, Discount Ninja, Bold Discounts, and any other platform that supports customer tag targeting. Select your platform below for specific setup instructions and notes on how the guest discount interacts with its features.
Once tagged, logged-in customers never need to verify again. The discount applies automatically on every qualifying order.
The verification token is written to the cart server-side and read by the Shopify Function at checkout. The percentage discount is applied directly — there is nothing to copy, paste, or remember. The order shows Military Discount - Military Connect Guest as the discount source. This automatic checkout discount requires Shopify Plus.
Enable debug mode above to see detailed browser logs while testing.
The Military Connect guest discount is an order-level percentage applied by the Shopify Function. If it is not combining with active Discount Ninja or Bold promotions as expected, check the stacking configuration on those promotions. See the Discount Ninja section in the platform guide above for detailed stacking guidance.
The most common fix is to ensure your Discount Ninja product-level promotions have Combine with order discounts enabled in their stacking settings.