2

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 object that is passed to the function is the Shopify cart object which also includes a list of the custom form fields and the values entered by the customer.


The quote number of the new quote will be added to the cart object as the property:  "quote_number".



Sample Cart Object

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us