by Enitha | Dec 3, 2025 | Plugin Development, Web App Development
Chapter 4: Add Discount Type – Flat or Percentage What We’ll Do in This Chapter Add a “Discount Type” setting in the admin (flat / percentage) Update the discount value field to work for both types Update our checkout discount logic to handle both cases We’ll reuse...
by Enitha | Dec 1, 2025 | Plugin Development, Web App Development
Add an Admin Settings Page for the Checkout Message In Chapter 1, our plugin printed a fixed “Hello from Simple Discount Rules” message on the checkout page. That’s not practical for real-world use. Now we’ll: Add a submenu under WooCommerce Create a settings page...
by Enitha | Nov 28, 2025 | Plugin Development, Web App Development
Create the Plugin Skeleton – “Hello Woo Checkout” In this chapter, we’ll create a real WordPress plugin that WooCommerce can use. By the end, you’ll have: A proper plugin folder and main file A clean naming convention to follow A working “Hello from our plugin”...