Creating a Staging Site
Magento Commerce allows you to create as many staging websites as required. You can also create Staging Websites based on other Staging Websites. This allows more people to work on different parts of the new content. The content can be merged to the beta Website, fully tested and reviewed, and finally merged to the production (live) Website.
From the Admin, a staging website is accessed in the same way as a normal website. You can create, edit, and delete content and products in exactly the same way. However, because it uses the same database as the live store, any products deleted from a staging site are deleted from the live store, as well. Set the configuration scope as you work to determine whether you’re working on the staging site or the live site.
When your changes are approved, you can merge the staging website with the live website and do not have to re-enter data or configuration changes. During the merge, all the content assigned to the staging website is assigned to the live website, and all attributes on the staging website/store view level are copied to the matching live website/store view. All mapping and content selection details can be controlled by the administrator, so only the content and content types you want will be merged. Additionally, during merging, a rollback (backup) can be created.
To create a new content staging website:
|1.||On the Admin menu, select System > Content Staging > Staging Websites.|
This page lists all existing Staging Websites.
|2.||In the upper-right corner, click the Add Staging Website button. Then, do the following:|
|a.||Set Source Website to one of existing websites. Then, click the Continue button.|
|b.||Complete the Staging Website section, using these field descriptions for reference.|
|3.||In the Select Original Website Content to be Copied to the Staging Website section, select the checkbox of each type of content to be copied to the staging website.|
|4.||In the Select Original Website Store Views to be Copied to the Staging Website, select the checkbox of each store view that is to be copied to the staging website.|
|5.||When complete, click the Create button to save your settings. You will be redirected to the Staging Websites list.|
After the staging site is set up, you can edit content, and assign it to the Staging site, or change attributes at the Website or Store View level. You can also change the Label and Frontend Restriction options. A record of all changes to the site, such as creation, merge, or rollback, can be viewed on the Event History tab.
Important! Never delete a product from a content staging website, because it will be deleted from the live site, as well. To remove a product from a content staging website, simply disable it.