<aside> 🚀 The following shows all of the currently available variables and functions in the UpCart public API. These are designed to be used by developers for custom integrations.
</aside>
Table of Contents
The UpCart Public API gives you full access to customize your Shopify store utilizing UpCart to improve your customers experience.
This documentation describes all currently available public API calls, properties, and examples. If your having trouble getting started, please reach out to https://www.aftersell.com/demo to get started.
window.upcartOpenOnAddToCartOverride
Summary
Override the user-specified setting of opening the cart when an item is added to the cart
true
, the cart will always open when an item is added to the cartfalse
, the cart will NOT automatically open when a product is added to the cartundefined
(default), the user-specified setting will be used.Type
boolean | undefined
window.upcartShouldOpenOnAddToCartBackgroundNetworkCall
Summary
This can be used to prevent UpCart from opening due to background network calls to the Ajax API (Read More)