- Mastering WooCommerce 4
- Patrick Rauland
- 255字
- 2021-06-24 16:46:13
Importance of test sites
If you've been a WordPress developer for a while, you're probably familiar with test sites. And while they're important in regular WordPress development, they're critical in WooCommerce development. The following screenshot shows what a website development process looks like:
With a typical WordPress development project, you'll build custom functionality on your local machine. Then, you'll upload it to a test site where the client usually approves it. Then, you move the test site to the live site, replacing data and files.
And this works great for most WordPress projects. But when it comes to e-commerce, there are two problems:
- You can never replace the live database: Since an e-commerce site is always on and always accepting new orders, payments, and marking items as shipped, you can't replace the live database with the test database.
- E-commerce functionality often needs a publicly accessible URL to work properly: A lot of e-commerce functionality (shipping, payment, and taxes) interacts with third parties, some of which need a publicly accessible URL to return data. So, it's much harder to test your site on a local machine.
Since the e-commerce site has more demands, we're going to cover some of the things you need to do with a test site:
- Migrate files but not the database
- Test with a publicly accessible URL
With these two extra criteria met, both of which can be done by a good website host, you can easily test and launch your own WooCommerce site. Let's look into migrating files first.
- Modular Programming with Python
- Learning Apex Programming
- 深入淺出WPF
- DevOps Automation Cookbook
- Groovy for Domain:specific Languages(Second Edition)
- Learning Python Design Patterns(Second Edition)
- Big Data Analytics
- Mastering JavaScript Design Patterns(Second Edition)
- The Professional ScrumMaster’s Handbook
- Visual C#.NET Web應用程序設計
- C++20高級編程
- QGIS 2 Cookbook
- Modular Programming with JavaScript
- Data Manipulation with R(Second Edition)
- React and React Native