Callbacks
Callback functions are helpful for customizing how your store interacts with Quick Quote. They allow you to define specific actions that should take place in response to key events, such as when a quote is requested. By using callbacks, you can tailor the app's behavior to better fit your business needs and workflows.
Quote Submitted
This JavaScript function is called when a quote request has been successfully submitted. Place the script before the closing Body tag (</body>) in the theme.liquid file.
The quote number of the new quote will be added to the cart object as the property: "quote_number".
Sample Cart Object