WooCommerce would benefit from a staging mode switch - this could be intelligent and check for 'staging' or 'development' in the URL - and a manual setting to toggle.
Some example advantages would be:
Allow plugins to detect staging mode and disable certain functionality - for example:
-- disable Google Analytics conversion tracking when placing test orders on the staging environment.
-- disable forefillment integrations
-- disable accounting integrations
Block robots when staging is enabled - to prevent search engine indexing.
Automatically enable debug logging when staging is enabled.