Sandbox creation:
To create a sandbox store, complete the following steps:
- Navigate to the BigCommerce Partner Portal and log in to the account using your credentials.
- After signing in, hover over Create New in the top navigation, then select one of the following two options:
- Select Partner Use Sandbox and consult the following instructions to create a Partner Sandbox.
- Enter the Sandbox Name and Store Region
- Click Submit.
- After you click Submit, you will receive an email that contains sign in credentials for the new sandbox.
Installing Stencil Cli:
Installing stencil cli on Windows to locally edit and preview themes without any impact to live storefront.
- Required Dependencies:
- Git – required to run npm install
- Python 2.7.x – required to build some dependencies
- Node.js 14 and npm – later versions not currently supported on Windows
- Visual C++ Build Tools 2015 – required to compile some dependencies
- Open the Git Bash and perform the following command:
- npm install -g @bigcommerce/stencil-cli
- Then navigate to a folder using cd themes
- Then download the cornerstone base theme using command
git clone https://github.com/bigcommerce/cornerstone.git
- Navigate to the new directory created cd cornerstone
- Perform npm install
- Create the new API in the store, Login to the store
- Navigate to the Settings in the side menu bar of store
- Select the API Account in API submenu
- Create a new API by clicking “+” icon in the top right corner
- Select the token type as V2/V3 API token
- Enter a name for the API
- Change Information & settings to modify
- Change Themes to modify
- Change Sites & routes
- Then click Save Button
- You will get the Client id and secret press OK to create the API
- Open the Git Bash again and perform stencil init
- Enter the URL of store , OAuth Token and port number to open store locally
- Then perform stencil start
- This will help to open the store locally in the mentioned port number