Extending WooCommerce Like A Pro
summary
Advanced PHP techniques for large WooCommerce projects with concrete tools and outcomes: uses Composer, PHP 7, PHPStorm and Xdebug, a Square One–style framework with service providers, namespacing and autoloading, and Git for deployments. Builds a bundle plugin that links products via post-to-post relationships, shows bundle contents in cart, and plans to reduce stock of component items at checkout. Adds a custom order status wc-quote, fixes hidden-product REST API leakage with a pre_get_posts filter, and wrestles WooCommerce reports SQL and AJAX vs shortcode hooks.
AI-written summary · about
chapters (20)
- 0:00Start
- 0:33WHO IS CHRIS?
- 3:37HAVE CLEAR END PRODUCT
- 4:39WHAT DO WE TOUCH
- 5:21WHAT DO WE CREATE
- 6:35SIMPLE PLUGIN
- 8:38THE TRIBE WAY
- 9:41KEEP THE THEME IN THEMES
- 10:09NAMESPACE AND AUTOLOAD
- 10:40USE VERSION CONTROL
- 11:23DOCUMENT EVERYTHING
- 11:52STRUCTURE
- 18:38PRIORITY
- 19:24MULTIPLE PATHS
- 22:08REPORTS
- 23:17CLOSURES FOR FILTER
- 24:10USE THE RIGHT TOOLS
- 28:41USE CORE WOO FUNCTIONS
- 29:49CHANGE LOG IS YOUR FRIEND
- 30:28FIXING BREAKS
