I'm using the Managed Wordpress staging site feature. I pushed my product site to staging site and began making changes/updates to the staging site. I updated the theme and plugins without any problems so I was about to push all changes/updates from the staging site to production site. But before I did, I noticed that the orders page (WooCommerce) is showing old orders from the last time I did all of this (updates on the staging site).
In other words, pushing my production site to the staging site apparently didn't push over all the orders I've received since the last round of updates I did. Does this make sense? Am I good to push all changes from staging site to production site? Or will doing that delete all the orders I've received since the last round of updates I did? Why is it that orders didn't sync to the staging site?
Solved! Go to Solution.
The staging site and live site are 2 different sites - So when you first created it, the GoDaddy system copied all of the content from your live site. When you "Push" Staging to Production it will overwrite the database / content etc.
So YES it will delete any orders that aren't on the staging site. I suggest looking into export / import of WooCommerce orders and copy them over to staging so when you copy it back over you won't loose the orders
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
The staging site and live site are 2 different sites - So when you first created it, the GoDaddy system copied all of the content from your live site. When you "Push" Staging to Production it will overwrite the database / content etc.
So YES it will delete any orders that aren't on the staging site. I suggest looking into export / import of WooCommerce orders and copy them over to staging so when you copy it back over you won't loose the orders
Once your issue is resolved,
please be sure to come back and click accept for the solution
Get Better Support on the Community Boards!
Etiquette When Asking for Help from the Community
Gotcha, thanks!
Figured out what my problem was and why orders weren't transferred over from production to staging.
When I pulled Production to Staging, I didn't click "Overwrite content", so the database (including customers/orders) wasn't copied over as, by default, syncing only copies over files.
https://www.godaddy.com/help/push-your-staging-site-to-the-production-site-16467
"Warning: The sync process will only overwrite files by default. If you push with Overwrite content selected, the database will also be overwritten. Make sure that the content you have in the staging site is what you want on the live site before you push the changes to production."
So what I need to do is pull Production to Staging with "Overwrite content" checked, make my changes, then push Staging to Production.
Copyright © 1999 - 2021 GoDaddy Operating Company, LLC. All Rights Reserved.
Use of this Site is subject to express terms of use. By using this site, you signify that you agree to be bound by these Universal Terms of Service.