Use this article to configure the settings that apply to a whole Smart Cart rather than to one component. They live in your Rebuy admin under Smart Carts, your cart, then the Global Settings gear at the bottom of the Cart Editor sidebar.
Global Settings controls how the Smart Cart interacts with the rest of your storefront. It decides whether Shopify's own cart page stays in play, what happens when a shopper adds a product from a product page, and when the cart goes live and comes down.
The Advanced card on the same screen holds the settings that connect the Smart Cart to your theme and to your own code, and those are documented in Smart Cart: Advanced Settings.
Everything else in the Smart Cart belongs to a component instead. If the setting you are looking for is not on this screen, see Smart Cart settings for which component owns it.
Open Global Settings
Global Settings is a screen inside the Cart Editor, not a separate page in the Rebuy admin.
Go to Smart Carts in your Rebuy admin under Cart & Merchandising.
Click the cart you want to configure to open the Cart Editor.
At the bottom of the editor sidebar, click Global Settings (the gear icon).
Expand the card you need: Cart Page & Product Form, Schedule, or Advanced.
The screen has no Save button of its own. Changes here are saved with the editor's Save button, the same as any component change.
Note: Older Rebuy documentation describes a Settings link at the bottom of the left navigation, or a path of Smart Cart > Advanced > Ready. Those are Legacy Smart Cart paths. In the current Smart Cart, everything described in this article is behind the Global Settings gear inside the Cart Editor.
Carry a discount code through to the Shopify cart page
Override Cart Page Checkout Button keeps a discount code a shopper entered in the Smart Cart applied when they check out from Shopify's cart page instead. It is in the Cart Page & Product Form card and is off by default.
With it on, the Smart Cart takes over the checkout button on Shopify's cart page and sends the shopper to checkout through Rebuy, appending the discount code they already entered. Without it, a shopper who enters a code in the Smart Cart and then navigates to the cart page has to enter that code again at checkout.
Turn this on if you use the Smart Cart's discount code input and Shopify's cart page together. If you have turned the cart page off entirely, this setting has nothing to act on.
Turn Shopify's cart page on or off
Use Cart Page decides whether shoppers can reach Shopify's own cart page at /cart. It sits in the Cart Page & Product Form card and is on by default.
Rebuy recommends turning Use Cart Page off, so every cart interaction happens in the Smart Cart. The Smart Cart cannot render on Shopify's cart page, since Shopify owns the cart data and the cart form there. A shopper who reaches /cart gets your theme's cart instead, where the Tiered Progress Bar does not re-evaluate as quantities change, and where a gift added by a Gift With Purchase widget is not removed when the shopper removes the product that qualified them for it. Turning Use Cart Page off keeps shoppers out of that page rather than putting the Smart Cart on it.
Turning it off takes both of the following, in this order:
Turn View Cart Button off in your cart's Checkout Area component. The Use Cart Page toggle appears only once that button is off, and while that button is on the Smart Cart skips the cart page redirect no matter how Use Cart Page is set.
Turn Use Cart Page off in Global Settings under Cart Page & Product Form, then save.
A shopper who navigates to /cart after that lands on your home page with the Smart Cart opened for them.
Keep Use Cart Page on if your store needs a full cart page that shoppers work through on one screen, such as a wholesale or B2B flow. In that case leave the View Cart Button on so shoppers have a way to reach it.
Control what happens when a shopper adds a product
Product Form Submission Behavior decides whether the Smart Cart handles your product page's add-to-cart form, and where the shopper goes afterward. It is a dropdown in the Cart Page & Product Form card.
The table below lists every option, what it does, and when to pick it.
Option | What happens on add to cart | When to use it |
Stay on current page | The Smart Cart handles the form submission and the shopper stays where they are | You want Rebuy to manage the add and keep the shopper on the product page |
Redirect to Cart | The Smart Cart handles the form submission, then sends the shopper to the cart page | You want shoppers taken to the cart page after every add |
Redirect to Checkout | The Smart Cart handles the form submission, then sends the shopper straight to checkout | You want a one-click path from product page to checkout |
Disabled (Smart Cart does not manage) | The Smart Cart ignores product form submissions entirely and your theme handles them | Your theme already handles add to cart correctly, or you are seeing duplicate add-to-cart events |
The default is Disabled (Smart Cart does not manage). Most stores should leave it there, since the theme's own add-to-cart handling is what the rest of your storefront and your analytics are built around.
Schedule
The Schedule card sets a start and end date and time for the cart, so it goes live and comes down on its own.
The Schedule card is documented in full, along with fallback carts and what happens when more than one cart is set live at once, in Smart Cart Scheduler Guide.
Advanced settings on the Global Settings screen
The Advanced card is the third card on the Global Settings screen, and it holds the settings that connect the Smart Cart to your theme and to your own code. Every setting named here is documented in Smart Cart: Advanced Settings.
Theme Selectors tell the Smart Cart which elements in your theme show the cart item count and the cart subtotal, so it can update them when the cart changes.
Cart Attribution Tracking decides whether the Smart Cart writes its own attribution data onto the Shopify cart, which is what Rebuy reports Smart Cart performance from.
Custom CSS is the box that holds styling for this cart.
Event Callbacks run JavaScript you write at points in the Smart Cart's lifecycle, such as when the cart is ready, when it opens, or when a line item is removed.
Enable Custom Template replaces the markup for the entire Smart Cart with HTML you write.
To reach any of them, open Global Settings from the bottom of the Cart Editor sidebar and expand the Advanced card.
Frequently asked questions
We are seeing duplicate add-to-cart events in our analytics. How do we stop them?
Duplicate add-to-cart events usually mean your theme and the Smart Cart are each handling the same product form submission. Set Product Form Submission Behavior to Disabled (Smart Cart does not manage) in Global Settings under Cart Page & Product Form, and the Smart Cart stops handling product form submissions entirely, so every add routes through your theme alone. Save, then allow time for storefront caching to clear before you re-test. Turning off Cart Attribution Tracking in the Advanced card does not fix this and costs you your Smart Cart metrics, so leave that on.
Will the Smart Cart still open when a shopper adds a product if Product Form Submission Behavior is disabled?
Yes, on most themes the Smart Cart still opens with Product Form Submission Behavior set to Disabled (Smart Cart does not manage), because Rebuy watches the add-to-cart requests your theme sends and opens the Smart Cart whenever the cart contents change. That watching runs independently of this option. It gives Rebuy nothing to watch when your theme submits the product form as a full page load instead of in the background, since the browser leaves the product page before the Smart Cart can open. Set the option on a non-live cart, save, then add a product from a product page in an incognito window and confirm the Smart Cart opens. If it does not open, set the option back to Stay on current page and expect the double add-to-cart console warning that comes with it.
Why does the browser console show a double add-to-cart warning?
A double add-to-cart warning in the browser console means Rebuy and your theme each submitted the same add-to-cart request, and Rebuy removed the extra quantity so the shopper's cart ends up correct. It appears only when Product Form Submission Behavior is set to Stay on current page. The shopper is not charged twice and the cart needs no manual correction. To stop the warning, set Product Form Submission Behavior to Disabled (Smart Cart does not manage) in Global Settings under Cart Page & Product Form, save, then reload the storefront page. The console message refers to this option by its former name, Product Form Redirect.
Shoppers reach a product page from a Rebuy widget and the add to cart button does not add. What do we change?
When a shopper reaches a product page from a Rebuy widget and the add-to-cart button does not add the product, set Product Form Submission Behavior to Disabled (Smart Cart does not manage) in Global Settings under Cart Page & Product Form. Your theme then handles the product form on its own and the Smart Cart does not intercept the submission at all. Save, then test the same path in an incognito window. If the add still fails with the option disabled, the cause sits outside the Smart Cart's product form handling, since the Smart Cart is no longer involved in the submission.
Does choosing Disabled (Smart Cart does not manage) turn the Smart Cart off?
No, choosing Disabled (Smart Cart does not manage) for Product Form Submission Behavior does not turn the Smart Cart off. The option governs only whether the Smart Cart handles your product page's add-to-cart form. The Smart Cart still renders, still opens from your cart icon, and still runs every component you have configured.
Why does the Smart Cart not open on the cart page?
The Smart Cart does not render on Shopify's cart page at /cart, because Shopify owns the cart data and the cart interactions on that page. That is why a shopper who backs out of checkout to the cart page sees your theme's own cart there rather than the Smart Cart. To keep every cart interaction in the Smart Cart, turn Use Cart Page off in Global Settings under Cart Page & Product Form, and /cart then sends shoppers to your home page with the Smart Cart open. That toggle appears only when your Checkout Area component's View Cart Button is turned off.
Why are shoppers sent to the home page when they click to view the cart?
Shoppers are sent to your home page when they click to view the cart because Use Cart Page is off in Global Settings under Cart Page & Product Form. That is what the setting does. A shopper who navigates to /cart is redirected to your home page with the Smart Cart opened for them, rather than landing on Shopify's cart page. Turn Use Cart Page back on if you want shoppers to reach the cart page, and turn the Checkout Area component's View Cart Button on to give them a way there from inside the Smart Cart.




