WooCommerce has changed. Interview answers haven’t.
Most candidates answer from old-WooCommerce experience: templates in the theme’s woocommerce/ folder, woocommerce_checkout_fields, get_post_meta() for orders. A modern store works differently: orders live in their own tables (HPOS, the default since WooCommerce 8.2), cart and checkout are blocks built on the Store API (the default since 8.3), and some classic checkout hooks never fire there.
A middle developer doesn’t stand out by the number of hooks memorized, but because they:
- explain how WooCommerce works inside;
- choose an approach and explain why;
- think about consequences: performance, security, updates.
Audience: Junior+ / Middle WordPress developers preparing for an interview at an e-commerce agency or product company.
Course outcome: you explain WooCommerce architecture on a diagram, build extensions compatible with HPOS and block checkout, create custom Gutenberg blocks for the store and pass the technical interview with confidence: theory, live coding, system design, code review.
Then and now
| Task | “Classic” WooCommerce | Modern WooCommerce |
|---|---|---|
| Order data | wp_posts + get_post_meta() | HPOS tables + $order->get_meta() |
| Checkout field | woocommerce_checkout_fields | Additional Checkout Fields API (since 8.9) |
| Cart without reload | wc-ajax + cart fragments | Store API + blocks |
| Product list | shortcode | Product Collection block |
| Frontend interactivity | jQuery | Interactivity API |
| Background jobs | WP-Cron | Action Scheduler |
Course map
Lesson format
Every lesson has the same skeleton:
| Part | What you get |
|---|---|
| Diagram | architecture or data flow on one diagram |
| Code | working PHP / JS you can move into a plugin |
| Common mistakes | symptom → cause → fix |
| Weak and strong answer | one question, two answers and why they differ |
| Practice: IDE or terminal | write code with Check and Run, or run WP-CLI, Composer, curl — in the browser, nothing to install |
| Interview questions | the module’s question bank with answers |
Test the course code against your WooCommerce version: the blocks API and Store API evolve fast.