Prevent Purchase Low Stock Products

Install on your BigCommerce Store

Go to Storefront > Script Manager, click Create a Script, choose:

  • Location on page = Footer
  • Select pages where script will be added = Checkout Page
  • Script type = Script

Enter the script below to Scripts contents:

    window.jQueryTheme = window.jQueryTheme || window.jQuerySupermarket || window.chiarajQuery || window.jQuery;
    window.PapaThemesPreventPurchaseLowStockSettings = {
        debug: false,
        graphQLToken: '{{{settings.storefront_api.token}}}',
        deletedMsg: '{items} are no longer available and was removed from your cart!'
<script src="" async defer></script>

Replace YOURDOMAIN by your store's domain name, for example The complete URL should look like