How to add script to cornerstone theme

To add a script to the Cornerstone theme in BigCommerce, you can follow these steps:

  1. Log in to your 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 your script, such as “Custom Script.”
  5. Under “Location on page,” choose where you 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 you 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. You can also specify the pages where the script should be added under the “Pages” section. Select “All pages” if you want the script to be added to every page.
  10. Once you have entered the necessary information, click the “Save” button.

After following these steps, the script will be added to your Cornerstone theme in BigCommerce. Make sure to test the script to ensure it functions as expected on your storefront.

Leave a comment

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