Staging Manager

Example How do I give my agency access, and only for as long as needed?

The agency needs a shop with real processes, but not your customer data and not your admin password. And when the project is done, the access should end by itself.

The situation

Others work in the shop, but not in the live shop.

A theme rework, a new shopping experience, an interface: agencies prefer to work on a copy that behaves like the real shop. If you give them an admin login to the live shop for it, they see customers, orders and figures, and every wrong click is live.

With the plugin the agency gets an address of its own, a password of its own and a user of its own, only in the copy, with made-up names instead of real customers and with an expiry date.

How to go about it

Step by step in the administration.

  1. 1Create with protection

    "Set up with the assistant", keep it anonymized in the step "Data", in the step "Protection" leave the password page and "Create a default user in the staging environment" switched on.

  2. 2Keep your own colleagues out

    Before the first build, in the tab "Setup" under "Admin users", "Disable all": then only the default user can log in.

  3. 3Set the lifetime

    In the tab "Schedule", "Limit the lifetime" and "Valid until" at the end of the project.

  4. 4Build and pass on

    Build, then "Show credentials" and pass on address and password of the password page; the button "As <user name>" then logs the agency in to the administration.

  5. 5Accept the work

    At the end, "Start comparison" shows what the agency changed, with both values per field.

More on this:Protection and accessAnonymizationSchedule and automation

What to watch

One password for both.

  • If the password page also protects the administration, the button "As <user name>" logs the agency in as the default user right after the page password. You do not have to pass on the default user's password for that.
  • Seven days and one day before the expiry the plugin triggers "Staging environment expires soon"; review and switch on the shipped flow in the Flow Builder, and a mail arrives.
  • Extending works at any time: save a later date under "Valid until", and the copy is open again at once.
  • If the work ends early, set "Valid until" to today: storefront, administration and API are locked then. Or set both passwords anew, the password page's and the default user's.
Questions

What shop owners ask about it.

Does the agency see real customer data?

Not in the database: names, addresses, mail addresses and phone numbers are replaced while copying. Documents already generated, such as invoice PDFs, come along as files with the real names. Orders, products and settings stay real, so the agency works with real processes.

Can several agencies get separate copies?

Yes. Every staging environment has its own folder, database, address, password and default user; the IP addresses allowed without a password apply to all of them. How many can exist at once depends on the plan.

What happens to the copy after the expiry date?

Storefront, administration and API are locked, the data stays. You extend the lifetime or tear the staging environment down.

More examples

  • The Shopware update

    The update in the copy first, in maintenance mode if you like, and only then in the live shop.

  • Testing a new plugin

    Set up a new plugin or theme calmly; the comparison shows what you have to repeat live.

  • The daily copy

    A schedule refreshes the data every night; in the morning you test with the state of the day before.

  • Testing an interface

    Block and log calls from apps and webhooks first, then let them through on purpose.

  • Documents with real orders

    Design invoices and delivery notes on real, anonymized orders.