Articles on: Quotify

How can I clear my regular Shopify cart when a Quote is requested?

If you use the convert cart into a quote request feature you might want to clear the regular Shopify cart once a quote request is submitted. You can add the following code snippet to Settings > Customization > Custom Javascript to achieve this:

window.addEventListener('quotify:submitted', event => {

    parent.postMessage("clear-shopify-cart", "*");

});

Updated on: 17/02/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!