Interview

9

questions

How do you answer a WooCommerce system design question?

Clarify the requirements and the numbers, then data, flows, risks, verification. Name the choice "ready plugin / own code / external service" explicitly and say why.

What do you ask before designing?

Volumes (products, orders, peaks), the source of truth for the data, integrations, payment and tax requirements, who will maintain the solution, budget and deadlines.

What do you do if you don't know the answer?

Say so honestly and show your reasoning: what related things you know, where you would look, how you would check. The interviewer evaluates thinking, not memory.

What do you do in live coding if you get stuck?

Say what exactly doesn't work and what your hypotheses are. Asking for a hint is better than 5 minutes of silence. The interviewer evaluates the process.

What do you say about the block cart in the progress bar task?

That the woocommerce_before_cart hook works only in the classic cart. For the block cart — extend the Store API with your data and show it through a block or a cart slot.

What separates a middle answer from a junior one?

A junior describes what to do. A middle developer explains why, what the alternatives are, what can go wrong and how they will check it.

When do you write your own code and when do you take a ready plugin?

A ready plugin when the feature is standard and critical for money (subscriptions, payments, taxes) and the plugin is maintained. Your own code when the business is specific and ready solutions need more workarounds than your own code would.

Which questions should you ask the company?

How code review and deploys work, which WooCommerce versions and themes the projects use, who talks to the clients, how tasks are estimated, whether there are tests and staging.

Why isn't woocommerce_product_get_price enough for variations?

Variations need a separate woocommerce_product_variation_get_price filter, and the price range of a variable product is cached. Without changing the cache hash the catalog will show the old range.