Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to your preezie portal

  2. Navigate to Code Snippets

  3. Choose BigCommerce from the Select your CMS dropdown

  4. Hit the COPY button to copy the displayed code snippet

  5. Go to BigCommerce

  6. Navigate to Script Manager by heading to StorefrontScript Manager

  7. Select the following options

  8. Paste your copied code snippet

    • Note, please check your order API path uses %%ORDER_ID%% as the order id, in some cases this can be custom to your set up - for example you may use {{checkout.order.id}} instead:

      1. fetch('/api/storefront/order/{{checkout.order.id}}', { credentials: 'include' })

  9. Save

  10. Now you’re ready to test it!

...