Browse articles

GovX ID verification in the cart

Add the GovX ID verification button to the EliteCart drawer so military, first responders and other groups can unlock their discount.

Last updated

GovX ID lets verified groups such as military members and first responders unlock an exclusive discount. This article shows how to add the GovX verification button to the EliteCart drawer with Custom HTML.

What you need

  • The GovX ID app installed and set up with GovX (discount amount and eligible groups are configured on the GovX side)
  • EliteCart Professional or Enterprise (Custom HTML is part of these plans)

Add the button

  1. Open Custom HTML

    In EliteCart, go to Cart designerOtherCustom HTML.

  2. Choose the position

    In Below checkout button, tick Enable and Widget mode. Widget mode is required: GovX's script looks for its button on the page when the page loads, and Widget mode makes it findable.

  3. Paste the code

    Paste the code below into the HTML editor.

  4. Save and test

    Click Save, add a product to the cart on your store and check that the GovX button appears below the checkout button. Test the verification with eligible credentials if you have them.

<i data-govx-id="s"></i>
Custom HTML position Below checkout button with Enable and Widget mode ticked

How it works for customers

The button shows for every customer. Eligible customers verify their status with GovX, and GovX then gives them their discount. How the discount is issued and applied is handled by GovX; contact GovX support for questions about eligibility or codes.

Still stuck?

Chat with us and we'll help you get your cart live. Or email contact@elitecart.app.