How to add script to a theme in bigcommerce

To customize features in Bigcommerce , most of the times we may need to add or customize javascript in the theme files.

Do follow the steps to add Javascript.

  1. Log in to BigCommerce admin panel.
  2. From the sidebar, navigate to “Storefront” and select “Script Manager.”
  3. In the Script Manager, click on the “Create Script” button.
  4. Provide a name for script, such as “Custom Script.”
  5. Under “Location on page,” choose where want the script to be inserted. Options include “Head,” “Footer,” or “Anywhere.” Select the appropriate location based on your requirements.
  6. In the “Script Type” section, select “Script.”
  7. In the “Script URL” field, enter the URL of the script want to add. If the script is hosted externally, make sure it is accessible from the internet.
  8. If you have the script code instead of a URL, select “Inline” from the “Script Type” dropdown and enter the code directly in the “Script Content” field.
  9. Also specify the pages where the script should be added under the “Pages” section. Select “All pages” if want the script to be added to every page.
  10. Once, entered the necessary information, click the “Save” button.

Leave a comment

Your email address will not be published. Required fields are marked *