Anatoliy Dovgun
-
Lesson 3.1. Product Types and Variations
Saturday, 10:30 AM The "Hoodies" category page takes 8 seconds to load. It shows 24 products. Under each card the theme draws color swatches, and to do that…
-
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 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.3. Interactivity API
Goal Add interactivity to store blocks without jQuery and without your own React bundle on the frontend. Key concepts Diagram Code render.php — a "Quick add" button: view.js:…
-
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…
-
Lesson 4.3. Checkout Fields and Logic
Friday, 6:20 PM The client: "The minimum order is 300 UAH. Why is the courier delivering an order for 45?" The amount check sits in woocommerce_checkout_process. Block checkout…
-
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 1.2. CRUD and Data Stores
Thursday, 4:30 PM You updated prices for 300 products with a script: update_post_meta( $id, '_price', $new ). The admin shows new prices. The storefront shows old ones. The…