A Practical WooCommerce Example
A WooCommerce example is worth more than a dozen feature lists when you are deciding whether the platform fits your project. The following walkthrough shows a realistic store setup: product types, tax and shipping rules, payment gateways, and the customizations most merchants reach for within the first few months. It is based on the default WooCommerce installation and common extensions, not a bespoke build.
More from this site
Keep reading the latest coverage
Typical Store Structure
A standard WooCommerce store organizes products into categories and attributes, then uses variations to handle size, color, or material. The example below covers the most common configuration choices a merchant makes after the initial plugin install.
Product Types in Practice
- Simple products — a single SKU, fixed price, no variations. Example: a 500 ml glass bottle sold as one item.
- Variable products — a parent product with multiple variations driven by attributes like size and color. Each variation can have its own price, SKU, and stock level.
- Grouped products — a collection of simple products sold together, often used for bundles or accessory kits.
- External and affiliate products — the store links to a product on another site and earns a commission per sale.
- Virtual and downloadable products — no shipping required; examples include e-books, software keys, or access passes.
Tax and Shipping Configuration
The WooCommerce example below assumes a US-based store selling to multiple states. Tax classes are assigned per product, and shipping zones are defined by country and state. Flat-rate and free-shipping methods are enabled alongside a weight-based table rate for heavier items.
| Setting | Example Value | Notes |
|---|---|---|
| Tax based on | Shipping address | Common for US stores; billing address is an alternative |
| Shipping origin | Warehouse ZIP 60601 | Determines zone matching |
| Free shipping threshold | Orders over $75 | Encourages larger carts |
| Flat rate | $5.99 per order | Simple fallback for lightweight items |
| Weight-based rate | $2.50 per 500 g over 1 kg | Useful for bulky or dense products |
Payment Gateways and Checkout
The default WooCommerce checkout supports Stripe and PayPal, which cover the majority of online transactions. For the example store, Stripe is configured for credit cards and Apple Pay, while PayPal Express is enabled as a secondary option. WooCommerce also supports offline payment methods such as bank transfers and checks, which are common for B2B setups.
Extensions That Extend the Example
Most WooCommerce stores start with the core plugin and add extensions as needs grow. The following extensions appear in the example workflow because they address common gaps:
- WooCommerce Subscriptions — turns repeatable products into recurring revenue.
- WooCommerce Product Bundles — lets merchants create curated kits without custom coding.
- WooCommerce Mailchimp — syncs customer data for abandoned-cart and post-purchase emails.
- WooCommerce Multi-Currency — shows prices in the customer's local currency.
- WP All Import — bulk-imports product catalogs from CSV or XML feeds.
Customization With Code
Developers working with this WooCommerce example typically add small snippets to the theme's functions.php file or a custom plugin. Common tasks include modifying the cart URL, adding custom checkout fields, and adjusting the order confirmation email. The WooCommerce REST API also allows external applications to read and write orders, products, and customers, which is useful when the store is part of a larger system.
When the Example Is Not Enough
A standard WooCommerce example covers the majority of retail use cases, but complex workflows — such as multi-warehouse inventory, custom quote systems, or wholesale pricing tiers — often require a custom extension or a specialized plugin. In those situations, the core WooCommerce setup remains the foundation, but the logic layer moves outside the default configuration.