EasyGift

EG Auto Add to Cart

HomeAll our Shopify appsContact support
EG Auto Add to Cart Free Gift

EG Auto Add to Cart Free Gift

Read reviewsStart 5-day free trial

🧪

Getting Started

Using Test Mode

Test mode lets you preview a rule on your live storefront — including its trigger threshold, reverse behaviour, popups, notifications, banners and reminder banners — before you activate it for real shoppers. While test mode is on, the rule is hidden from normal traffic; only people who open your store via the test link will see it run.

Last updated on 27 Apr, 2026

Getting started

  1. Create and fully configure a rule in EG.

  2. In the side panel, find the Test mode section (marked Merchant only).

  3. Tick Enable test mode.

  4. Save the rule. Saving a rule with test mode enabled automatically sets it to paused — the two states are mutually exclusive.

  5. Click Generate test link and copy the URL.

  6. Open your storefront via that link. Test mode stays active for the rest of that browser session, or until the link expires.

  7. Run through whatever you want to verify, for example:

    • the rule fires at the correct threshold,

    • its reverse behaviour (if configured),

    • popups, notifications, banners and reminder banners look and behave as intended.

Going live

When you're happy:

  1. Untick Enable test mode.

  2. Save the rule.

  3. Activate the rule. You can't activate a rule while test mode is still enabled. EG will reject the change with a message asking you to uncheck test mode, save, and then activate.

About the test link

  • It expires after 24 hours.

  • It's encrypted and intended for admin use only. Don't share it with customers. Anyone who opens it within the 24-hour window will see the rule run in their own browser session.

  • Generating a new link invalidates the previous one. Only the most recently generated link for a given rule is valid at any time.

  • The link points to your myshopify.com domain. If you normally browse your store on a custom domain, use the link as-is rather than swapping the domain — the egtest token must reach the storefront on the URL EG generated.

Caveats

  • Shopify discounts aren't supported. Test mode is unavailable for rules whose action uses a Shopify automatic discount or a Shopify discount code, because Shopify applies those discounts to every qualifying item in the cart regardless of whether EG added the gift or the customer did — so a "test only" preview isn't possible.

  • Magic-link targeting isn't supported. Rules targeted via a magic link already have their own per-visitor access model; the test-mode checkbox is disabled for these rules, and switching targeting to magic link will turn test mode off automatically.

  • Scheduled rules must be tested inside their schedule window. When a rule is on a schedule, EG pins the underlying Shopify discount's start and end dates to schedule.starts / schedule.ends. The storefront UI (popups, notifications, banners, gifts being added to the cart) will still appear via the test link outside that window — but the discount itself is inactive at Shopify, so the gift won't actually be discounted at checkout. Either move the schedule to cover the time you're testing in, or disable the schedule for the duration of the test.

Was this page helpful?
Previous

EG Troubleshooting

Next

Please contact us through the EG app for further support