Home Blog

Intermediate

  • Lesson 1.3. HPOS

    Friday, 9:15 AM Yesterday the client enabled HPOS: WooCommerce recommends it, orders open faster. Today couriers didn't get a single address. The delivery plugin reads get_post_meta( $order_id, '_delivery_slot',…

  • Lesson 2.1. WooCommerce Hooks

    Tuesday, 11:00 AM The designer: "SKU and categories right under the product title." You try three things: All it needed was one number. WooCommerce adds the meta at…

  • Lesson 4.2. Store API

    Wednesday, 1:00 PM The frontend developer of a headless store: "The product gets added, but after a page reload the cart is empty." Every Store API request arrives…

  • Lesson 4.1. Classic vs Block Checkout

    Thursday, 5:45 PM The client's accountant: "Why is there no tax ID in the orders for the last two weeks?" The field was added through woocommerce_checkout_fields. Two weeks…

  • Lesson 3.3. Catalog Queries

    Monday, 8:30 AM The catalog has grown to 30,000 products, and a product page takes 6 seconds. Query Monitor shows why: the "Related products" block runs posts_per_page =>…

  • Lesson 3.2. Custom Fields and Product Type

    Tuesday, 3:10 PM A manager saves a product in the admin: the "Supplier code" is there. At night the ERP updates stock for the same product through the…

  • Lesson 6.3. Shipping and Emails

    Goal Write your own shipping method and your own WooCommerce email. Key concepts Diagram Code A shipping method priced by weight: Common mistakes Symptom Cause Fix The shipping…

  • Lesson 2.2. Templates vs Hooks

    Wednesday, 2:20 PM After a WooCommerce update the Add to cart button disappeared on variable products. Nobody touched the theme. But the theme holds 40 template overrides copied…

  • Lesson 6.2. Payment Gateway

    Goal Write a payment gateway that redirects to the provider, handles the webhook and supports block checkout. Key concepts Diagram Code The gateway (shortened): A webhook with a…

  • Lesson 5.2. A Custom Block for the Store

    Goal Create a dynamic block that shows product data and works inside Product Collection. Key concepts Diagram Code block.json: render.php: Registration: Common mistakes Symptom Cause Fix In Product…