HomeGeneratorsWooCommerce

WooCommerce Generators

WooCommerce generators extend the store beyond what settings screens expose — a payment gateway class, a shipping method, checkout fields, cart fees, custom order statuses, account endpoints and transactional emails. Each one is checked against real WooCommerce core APIs — HPOS-safe order queries, correct process_payment() return contracts — not guessed.

woocommerce_process_product_metaProduct FieldsCustom fields in the Product Data metabox, saved with a nonce and exposed to REST on request.woocommerce_register_additional_checkout_field()Checkout FieldsExtra checkout fields for classic checkout or the Blocks Checkout API.WC_Cart::add_fee()Cart Fee & DiscountConditional cart fees and negative-fee discounts on woocommerce_cart_calculate_fees, with a live cart totals preview.register_post_status()Custom Order StatusA new wc- order status wired into the admin dropdown, bulk actions and status list.WC_Shipping_MethodShipping MethodA shipping method class with settings fields and rate calculation, registered safely.WC_Payment_GatewayPayment GatewayAn offline or redirect-style payment gateway class with settings and process_payment().add_rewrite_endpoint()My Account EndpointA new My Account tab with its menu entry, content callback and query var.wc_get_orders()Order QueryThe HPOS-safe way to query orders by status, customer, date and meta.woocommerce_product_tabsProduct TabAdd or remove tabs on the single product page, with priority control.WC_EmailWooCommerce EmailA transactional email class plus its HTML template, registered into the email settings.