How to re-setup a sandbox SCS/SCA site after a SB refresh

When a client performs a Sandbox refresh, these are the steps required to re-setup the sandbox website:

  1. Add a new (fake) domain record to the website setup record
    1. If the sandbox’s domain is ‘sandbox.website.com’, it won’t let you reuse it immediately (for some reason)
  2. Recreate the sandbox domain record (this could take a little bit of time, but likely no more than an hour for that domain to be available)
  3. Connect the SSP Applications to this domain
    1. Commerce > Hosting > SSP Applications
      1. Click View on the relevant SSP Applications and ‘Link to Domain’/’Deploy to Domain’ (using the correct sandbox domain)
        1. For reference on the correct SSP Applications: https://jobinandjismi.in/link-commerce-applications-to-domain/
  4. Create a new Extension Activation Record for the site
    1. Commerce > Extensions > Extension Manager
      1. New Activation
        1. Select your site and domain
        2. Check the box of any themes/extensions that are active in Production
        3. Click Save
  5. Create a new Configuration Record for the site
    1. Commerce > Websites > Configuration
      1. Select your site and domain and click Configure
      2. Click Save
  6. Duplicate the Configuration settings from Production to Sandbox
    1. In Production:
      1. Customizations > Lists, Records, & Fields > Record Types
        1. Scroll down to ‘SC Configuration’ and click List
          1. Click Edit
            1. Copy the contents of the manifest json field
            2. You don’t need to save
    2. In Sandbox:
      1. Customizations > Lists, Records, & Fields > Record Types
        1. Scroll down to ‘SC Configuration’ and click List
          1. Click Edit
            1. Paste the contents of the manifest json field
            2. Click save
  7. Perform a Cache Invalidation Refresh

Leave a comment

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