On this page
What this issue is
A gift card field is the box at checkout where a customer types a code to pay part or all of an order with stored credit. It is often separate from the discount code box. It is broken when it does not appear, when the Apply button does nothing, when a valid code is rejected, or when the balance is accepted but the order total does not change.
Why it costs you leads or sales
People who pay with a gift card have already decided to buy. If the code will not apply, many leave, and some write to support or ask for a refund. The impact is usually lower than a broken main checkout because only a share of orders use gift cards. It rises sharply around holidays, when gift card redemption peaks.
Example: illustrative share of gift card holders who finish checkout when the field works versus when it is broken.
- Add to cartCustomer adds items
- CheckoutCustomer reaches payment page
- Enter gift card codeCode rejected or field does nothing
- Balance appliedTotal never reduced
- Order confirmedPurchase abandoned
The customer cannot get past the gift card step, so payment and confirmation never happen.
How to check if your site has it
You need a real gift card with a small balance. Create one in your store, or ask your gift card app for a test code. Then go through checkout the way a customer would.
- Add a product to the cart on desktop and on a phone.
- Open checkout and confirm the gift card box is visible.
- Enter a valid code and press Apply (or Enter).
- Check the order total drops by the card balance, or to zero.
- Try a code with a typo and confirm a clear error appears.
- Try a partly used card and a card larger than the order.
- Test as a guest and as a logged-in customer.
- Open the browser console (F12, Console tab) and look for red errors when you press Apply.
- Complete the order and check the card balance was reduced afterwards.
How to fix it
Start by finding which symptom you have, then follow the matching platform steps.
| Symptom | Likely cause | First thing to try |
|---|---|---|
| Box not shown | Gift cards disabled, or theme or checkout customisation hides it | Check gift card settings and switch to the default theme or checkout to compare |
| Apply does nothing | JavaScript error or plugin conflict | Check the console and disable add-ons one at a time |
| Valid code rejected | Wrong currency, expired or disabled card, product exclusions | Check the card in your admin |
| Accepted but total unchanged | Custom checkout code or app not updating totals | Test with the default checkout |
Check gift cards are enabled
In Shopify admin, open Products > Gift cards and confirm the card exists, is enabled and has a balance. Gift card selling and redemption depend on your plan.
Compare with the default theme
Preview a default theme such as Dawn and run the test again. If it works there, your live theme or an app is the cause.
Review checkout customisations
If you use checkout extensibility or custom checkout code, check that nothing removes the discount and gift card section. Disable recent apps that change checkout.
Check the code in Admin
Search the card by the last four characters in Products > Gift cards and check expiry, balance and whether it is disabled.
Identify the gift card plugin
WooCommerce has no built-in gift card feature, so a plugin provides it. Open Plugins and check it is active and updated, and read its settings page.
Test for conflicts
Install a staging copy, switch to a default theme such as Twenty Twenty-Four, and disable other plugins one by one until the field works.
Check cart and checkout pages
If you use a block-based checkout, confirm your gift card plugin supports it. Some plugins only work with the classic shortcode checkout.
Clear caches
Exclude the cart and checkout pages from page caching and minified script combining, then purge all caches.
Check Wix gift cards
In your dashboard, open the gift card settings under Marketing & SEO or Sales, depending on your dashboard version, and confirm the feature is active.
Check the card
Confirm the card is active, unexpired and has a balance.
Test in a clean browser
Use a private window with extensions disabled to rule out browser-side blockers.
Check gift card settings
Open Commerce and look for gift cards. Make sure the feature is available on your plan and enabled.
Remove custom code
Temporarily remove code injection and custom CSS that could hide the checkout field, then retest.
Find the failing request
Open DevTools > Network, press Apply, and inspect the request to your gift card endpoint. A 4xx or 5xx response shows whether the problem is the code, the session or the server.
Check for hidden elements
Search your CSS for rules such as display:none on the gift card container, and check the button is not covered by another element.
Fix totals recalculation
After a successful response, make sure the cart total is re-fetched and rendered. A good response with an unchanged total points to a front-end bug.
How to confirm it's fixed
Repeat the full test
Run the gift card test routine again on desktop and mobile, as guest and logged in.
Check the balance
After a completed test order, confirm the card balance dropped in your admin.
Check the error path
Enter an invalid code and confirm the message is clear.
Check the console
Confirm there are no new red errors on the checkout page.
How to prevent it happening again
- Keep a test gift card with a small balance and re-test after every theme, plugin, app or checkout change.
- Test before busy gift-giving periods and sales.
- Update gift card plugins and apps on a staging copy first.
- Write down the test steps so anyone on the team can repeat them.
- Add a calendar reminder to run the test monthly.
- Monitor support emails for phrases like gift card not working.
How FunnelGuard handles this
FunnelGuard does not check gift card fields yet. It would need a test gift card with a balance, which makes it a possible future check rather than a current feature.
What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys on a schedule, such as checkouts and lead forms, from the EU or the US. It checks each step and the tracking hits sent to ad and analytics platforms. If checkout itself stops loading or a step fails, it re-checks from a second region and sends one alert with a screenshot and a likely cause. It stops before payment unless your store's test mode is set up, and it never enters real card details.
Questions people ask
Why is my gift card code not working at checkout?
The usual causes are an expired, disabled or fully used card, a currency or product restriction, or a typo. If valid codes fail for everyone, check the gift card settings, recent plugin or theme changes, and the browser console for JavaScript errors.
Why is there no gift card box at checkout?
Gift cards may be switched off, your plan may not support them, or a theme or checkout customisation may be hiding the field. Compare against your platform's default theme or checkout to see whether your customisations are the cause.
Why does the gift card apply but the total doesn't change?
This usually points to a front-end or app problem: the server accepts the code but the page does not refresh the totals. Test with the default checkout, disable checkout apps and check the console for errors.
How do I test a gift card field without losing money?
Create a gift card with a small balance and use it on a low-value test order. Afterwards, cancel or refund the order if your platform restores the balance, or issue a replacement card.
Why does my WooCommerce gift card plugin not apply codes?
WooCommerce needs a plugin for gift cards, and conflicts with other plugins, caching or the block checkout are common causes. Test on staging with a default theme, disable other plugins one at a time and confirm the plugin supports your checkout type.
Does FunnelGuard check gift card fields?
No. FunnelGuard does not check gift card fields yet, and it is only a possible future check. It does monitor your main checkout journey and alerts you if that journey breaks, so use a manual gift card test as well.
How often should I test gift card redemption?
Test after any change to your theme, checkout, plugins or apps, and at least monthly. Add an extra test before holidays and promotions, when more customers redeem gift cards.