~/talk

Extending WooCommerce Like A Pro

Talkat WordCamp Jacksonville 2018 · 2018-04-07..04-08· [wordpress, php]
slides:none on file

Explains how to build a maintainable WooCommerce extension: creates an estimates gateway by extending WC_Payment_Gateway where process_payment reduces stock and sets a custom order status (e.g., waiting confirmation) instead of charging, builds a wrapper product class around WC_Product to add bundle logic, and uses namespaces, Composer autoload, containers and version control. Recommends PhpStorm with Xdebug for debugging, emphasizes integration tests and careful QA around money calculations, and warns that built-in reports require complex SQL to adjust.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:15WooCommerce backend focus
  3. 2:17Handling money and accuracy
  4. 3:00User story and project planning
  5. 4:24WooCommerce structure overview
  6. 7:19WooCommerce core tables and objects
  7. 9:06Product and order objects
  8. 10:33Custom meta fields and standards
  9. 12:42Wrapper classes for product meta
  10. 13:04Custom payment gateways
  11. 14:07Custom order statuses
  12. 15:34Example: Estimates gateway
  13. 18:49WooCommerce templating system
  14. 20:14Simple plugin structure
  15. 21:01Building a plugin framework
  16. 22:02Development tools and tips
  17. 24:29PHPStorm features for WooCommerce
  18. 25:12Namespacing and autoloading
  19. 26:14Version control importance
  20. 26:56Separating logic and theme
  21. 27:50Code documentation best practices
  22. 28:52Inline documentation in PHPStorm
  23. 29:14Plugin class structure example
  24. 31:20Extending WooCommerce safely
  25. 33:09Organizing hooks and filters
  26. 34:14Checkout process hooks
  27. 35:19Filtering price and amount data
  28. 35:40Multiple checkout paths
  29. 37:05Product visibility and REST API
  30. 37:27Issues with WooCommerce reports
  31. 39:16Closures for filtering
  32. 39:38Handling translations
  33. 40:41Order status checks and translations
  34. 41:44Using core functions and deprecation
  35. 42:05Avoiding direct database access
  36. 42:30Wrapping WooCommerce objects
  37. 42:53Changelog and updates
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.