Why doesn't my cart drawer or cart update after the app changes it?

When the app adds, removes or swaps a gift, the cart itself changes right away. What a shopper sees on screen depends on your theme. If the cart drawer or the cart page still shows the old cart, the app could not hand the update to your theme, or a setting stops it. This article explains when the display refreshes and what to change.

Quick checks

  1. Check which theme you use. The app refreshes the cart drawer by itself only on the Dawn theme. On any other theme the cart still changes, and the shopper sees a message instead: "Gift added" or "Gift removed", with a View cart link.
  2. Check the setting. Open Settings > Storefront and look at After a gift is added. The default is Refresh the cart drawer. If your cart doesn't update, choose Reload the cart page, then select Save. The help text says it too: "Pick “Reload the cart page” if your cart doesn’t update after a gift is added."
  3. Check the app embed. The app changes the cart only on pages where the app embed is on. In Settings > Storefront, the App embed badge must show On.
  4. Open the cart page. Go to your store's cart page (/cart). The cart page always shows the real cart. If the gift is there, the app did its job and only the drawer was out of date.
  5. Reload the page. The cart count on the header icon of Dawn does not update when the app changes the cart. Reload the page to see it.

What "After a gift is added" does

The setting applies after a change that the app made itself: an automatic gift added or removed, a gift swapped for a new tier, or a gift the shopper picked in the app. It does not apply to changes the shopper made.

Choice What the shopper sees Limits
Refresh the cart drawer If the drawer is open on Dawn, it shows the new cart. If the drawer is closed or the shopper is on the cart page, the app asks Dawn to reload its own drawer and cart lines, and shows "Gift added" or "Gift removed" with View cart. Dawn only. On other themes the message appears and nothing is refreshed.
Open the cart drawer If the drawer is closed, it opens with the new cart. Dawn only. It does not open on the cart page. On other themes it works like Refresh the cart drawer.
Reload the cart page When the shopper is on the cart page, the page reloads once. Works on any theme that has a cart page. On other pages it works like Refresh the cart drawer.

The app asks the theme to refresh only once for each cart change, and it never opens a drawer by itself on the cart page.

Symptoms and fixes

Symptom Cause What to do
The gift is in the cart but the drawer shows the old cart The theme is not Dawn Choose Reload the cart page, or ask shoppers to use the cart page. Add the Gift goal block to the cart page so the goal and gift picker show there.
The drawer does not open after a gift is added The setting is Refresh the cart drawer Choose Open the cart drawer. It works on Dawn.
The drawer is closed and stale The drawer was not open when the app changed the cart Reload the page. Do not use the theme's Remove button on a drawer that looks out of date, because the lines may have changed.
The cart page does not reload The app already reloaded the page in the last 30 seconds, or it reloaded too often The app limits reloads to avoid loops. It stops reloading for the rest of the visit after 4 reloads in a minute. Reload the page by hand.
Only a message appears, with View cart The theme cannot be refreshed by the app The cart has changed. Select View cart to see it.
The goal bar or gift picker is missing in the drawer The drawer is not Dawn's Add the Gift goal block to the cart page.
A custom cart drawer from another app does not update The app only works with the cart drawer of Dawn Use the cart page, or turn the other drawer off.
The gift is not added at all Not a display problem See Why wasn't the free gift added or removed?

[!INFO] The Volume discount block has its own Add to cart button. When a shopper uses it, the cart behaves as with Refresh the cart drawer, whatever you chose in After a gift is added.

If it still doesn't work

Contact support with your store address, your theme name and version, the After a gift is added setting, and a short description of what the shopper did. See How to contact support.

Related articles

← Why isn't my offer showing on the storefront? Why wasn't my bundle product created or published? →