~/talk

Build a “not at home” shipping extension in the WooCommerce checkout block

Talkat WordCamp Europe 2023 · 2023-06-08..06-10· [wordpress, react]
links:none on file
links:none on file
slides:none on file

Builds a real WooCommerce Blocks extension that adds an “I’m not at home” dropdown and optional free-text instruction to the Checkout block, wiring the front-end React block to the WordPress data store via setExtensionData, registering fields with the Store API using extend checkout schema, validating with the WC store validation actions and selectors (get_validation_error), and saving the values to order meta so they appear in WP‑Admin. Workshop code runs end‑to‑end in the demo; final repository is available on GitHub.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:11Workshop agenda and presenters
  3. 3:21Motivation for the extension
  4. 4:25What are WooCommerce blocks
  5. 5:08Extending WooCommerce blocks
  6. 10:26Starting the workshop
  7. 11:53Adding shipping options
  8. 21:47Free text input for instructions
  9. 24:14Storing data with Store API
  10. 31:59Setting extension data
  11. 44:11Validation for required fields
  12. 1:01:27Displaying validation errors
  13. 1:19:14Frontend validation and error display
  14. 1:28:45Frontend implementation summary
  15. 1:29:08Backend integration overview
  16. 1:33:29Extending Store API for checkout
  17. 1:37:08Saving data to order metadata
  18. 1:41:43Displaying in admin order page
  19. 1:44:11Q&A and resources
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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.