Nadir Seghir

WooCommerce, Front-end, but mostly whatever.

  • Last week I attempted to rebuild my WooCommerce website again, as a headless store, I’m bullish on Store API and headless, and I wanted to explore Tanstack further, so it was a good opportunity. One major challenge we had in the store (and being an Algerian store) is that we wanted to run a multilingual…

  • Note: the plugin, and this tutorial, were written by Claude code and edited by me. Blame the singularity.You can download the plugin at the end of the post. WooCommerce 10.3 came out with built-in address autocomplete; you might have noticed it doesn’t ship with any providers out of the box. This is intentional , it…

  • 12 Dec, 2024 Update: WooCommerce 9.6 changed how phone/company/address 2 value is persisted, you don’t need to mess with attributes anymore. I’ve updated the article. If you’re trying to extend the new Checkout block, you might notice the previous checkout_fields isn’t working. This is intentional, we’re taking back control of how to render and handle…

  • A common feature in the old shortcode Checkout was reacting (and adding fees) to selected payment method. This happened because shortcode Checkout would trigger an AJAX request when selecting a payment method, we don’t do that in block Checkout, for some valid reasons. This is likely to change, but until then, you might need to…

  • This post talks about the process I went through to setup my multi-plugin dev env, I need to be able to write code in Gutenberg, WooCommerce Gutenberg Products Blocks, WooCommerce Admin and WooCommerce Core. Note: using @wordpress/env is infinitely better once it’s out and fully stable and documented, Enrique has done some great work on…

  • This post won’t talk about the technical side of contributing to Gutenberg, you can find many resources online about Gutenberg or Open source in general, it will talk about my personal experience contributing to Gutenberg. As a start, you can also read about Chris Van Patten experience here, which is a bit similar to mine,…