Configure Configuration record after Sandbox refresh in SCA.

Refreshing the Sandbox account is required to get the latest values of the Production account. As the domain is not carried over in the Sandbox account after the refresh, all the SC configuration that is dependent on the domain will not be carried over.


These are the recommendations to avoid additional work in copying the content of the Configuration one by one from Production to Sandbox.
A. Create a reference for the Production Extension Activation:

Login to the Production account

Navigate to Commerce > Extensions > Extension Manager

Take a note of the Theme and Extensions active on your Production Website and Domain

B. Activate the Theme and Extensions on your Sandbox Account:
Log in to the Sandbox account

Navigate to Commerce > Extensions > Extension Manager

Click New Activation

Select your Website and Domain on the SELECT A WEB SITE and SELECT A DOMAIN fields respectively

Click Next

Go to the Themes subtab, Tick the checkbox beside the same theme used in your Production Extension Activation under the ACTIVE column. Use the information gathered in Step A as a reference.

Go to the Extensions subtab, Tick the checkbox beside the same extensions used in your Production Extension Activation under the ACTIVE column. Use the information gathered on Step A as a reference.

Click Activate

Wait for the Activation to complete

C. Create an initial SC Configuration record in Sandbox:
On your Sandbox account, navigate to Commerce > Websites > Configuration

Select your Website and Sandbox Domain on the SELECT WEBSITE and SELECT DOMAIN fields respectively

Click Configure

Click Save

D. Copy SC Configuration in the Production Account:

Login to the Production account

Navigate to Customization > List, Records, & Fields > Record Types

Look for SC Configuration

Click the List link on the List column of SC Configuration

Edit the SC Configuration of the website you want to copy

Copy the content of the CONFIGURATION JSON field

E. Paste the SC Configuration to the Sandbox account:

Log in to the Sandbox Account

Navigate to Customization > List, Records, & Fields > Record Types

Look for SC Configuration

Click the List link on the List column of SC Configuration

Paste the copied CONFIGURATION JSON (from Production) to the CONFIGURATION JSON field of the Sandbox website

Click Save

Leave a comment

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