Add Back to Category button on the cart page


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.PapathemesBackToCategorySettings = {
        pageType: '{{page_type}}'
<script src="" async defer></script>

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