Add custom fields to products
In this tutorial you will learn how to create a custom field for a product and show it in your store. Together we will set up the skeleton plugin, and learn about WP naming conventions and WooCommerce hooks. In the end, you will have a functioning plugin for adding a custom field.
Using CRUD objects
CRUD is an abbreviation of the four basic operations you can do to a database or resource - Create, Read, Update, Delete.
Data storage
When developing for WordPress and WooCommerce, it's important to consider the nature and permanence of your data. This will help you decide the best way to store it. Here's a quick primer:
Manage data stores
A guide to managing WooCommerce data stores, including creating new data stores, replacing core data stores, and calling data stores from your own code.
Logging
WooCommerce has its own robust system for logging, which can be used for debugging during development, catching errors on production, or even sending notifications when specific events occur. By default, WooCommerce uses this logger to record errors, warnings, and other notices that may be useful for troubleshooting problems with a store. Many extensions for WooCommerce also make use of the logger for similar purposes.