Product Card Badges

Display Sale badge, Out of Stock badge and custom badges taken from product custom fields (__badge) on every product cards created by BigCommerce widgets and Klevu Search app.

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 = Store pages
  • Script type = Script

Enter the script below to Scripts contents:

    window.PapathemesProductCardBadgesSettings = {
        graphQLToken: '{{{settings.storefront_api.token}}}'
<script src="" async defer></script>

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