When a client performs a Sandbox refresh, these are the steps required to re-setup the sandbox website:
- Add a new (fake) domain record to the website setup record
- If the sandbox’s domain is ‘sandbox.website.com’, it won’t let you reuse it immediately (for some reason)
- 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)
- Connect the SSP Applications to this domain
- Commerce > Hosting > SSP Applications
- Click View on the relevant SSP Applications and ‘Link to Domain’/’Deploy to Domain’ (using the correct sandbox domain)
- For reference on the correct SSP Applications: https://jobinandjismi.in/link-commerce-applications-to-domain/
- Click View on the relevant SSP Applications and ‘Link to Domain’/’Deploy to Domain’ (using the correct sandbox domain)
- Commerce > Hosting > SSP Applications
- Create a new Extension Activation Record for the site
- Commerce > Extensions > Extension Manager
- New Activation
- Select your site and domain
- Check the box of any themes/extensions that are active in Production
- Click Save
- New Activation
- Commerce > Extensions > Extension Manager
- Create a new Configuration Record for the site
- Commerce > Websites > Configuration
- Select your site and domain and click Configure
- Click Save
- Commerce > Websites > Configuration
- Duplicate the Configuration settings from Production to Sandbox
- In Production:
- Customizations > Lists, Records, & Fields > Record Types
- Scroll down to ‘SC Configuration’ and click List
- Click Edit
- Copy the contents of the manifest json field
- You don’t need to save
- Click Edit
- Scroll down to ‘SC Configuration’ and click List
- Customizations > Lists, Records, & Fields > Record Types
- In Sandbox:
- Customizations > Lists, Records, & Fields > Record Types
- Scroll down to ‘SC Configuration’ and click List
- Click Edit
- Paste the contents of the manifest json field
- Click save
- Click Edit
- Scroll down to ‘SC Configuration’ and click List
- Customizations > Lists, Records, & Fields > Record Types
- In Production:
- Perform a Cache Invalidation Refresh