Type something to search...
How to Set Up WooCommerce for Your Online Store?

How to Set Up WooCommerce for Your Online Store?

WooCommerce turns a WordPress site into a fully functional online store, and getting the setup right the first time saves hours of backtracking later. It's free, open-source, and by a wide margin the most widely used eCommerce plugin for WordPress, which means it also has the deepest ecosystem of extensions, themes, and developer documentation to lean on when you need something it doesn't do out of the box.

This guide walks through installing WooCommerce, running its setup wizard correctly, adding your first product, and configuring the settings that actually matter for a store that's about to take real orders. It also covers a real code snippet for customizing store behavior through WooCommerce's hook system, since sooner or later every store needs at least one small customization the settings screen doesn't expose.

Before You Install

  • A clean WordPress install with an up-to-date PHP version (WooCommerce recommends PHP 7.4+, and current versions perform best on 8.1 or newer).
  • A theme that plays well with WooCommerce, ideally one built for it (Storefront, Astra, or any theme explicitly listing WooCommerce support). A theme with no WooCommerce styling can render your shop, cart, and checkout pages with broken layouts until you add compatibility CSS yourself.
  • A payment method decided in advance. Stripe and PayPal cover most stores, but if you have specific regional or industry requirements, check WooCommerce's official payment extensions list before you start, since switching gateways mid-setup means redoing the checkout configuration.

Step 1: Install the WooCommerce Plugin

From your WordPress dashboard, go to Plugins → Add New, search for "WooCommerce," and click Install Now, then Activate. Activating it automatically launches the WooCommerce Setup Wizard, a guided flow covering the essentials: store address, industry, products you plan to sell, and business details. Run through it rather than skipping it. It also creates the core pages your store needs (Shop, Cart, Checkout, My Account) automatically, saving you from building them by hand.

If you dismissed the wizard already, you can relaunch the setup checklist from WooCommerce → Home in the dashboard sidebar.

Step 2: Configure Store Settings

Head to WooCommerce → Settings and work through each tab:

  • General — confirm your store address (used for tax and shipping calculations), selling locations, and default currency and its display format (symbol position, thousand/decimal separators).
  • Products — set your default weight and dimension units, decide whether to enable product reviews and star ratings, and configure inventory settings like low-stock thresholds under the Inventory sub-tab.
  • Shipping — this is where you'll build shipping zones once you know your rates; the shipping zones guide covers this in full.
  • Payments — enable and configure the gateways you decided on earlier. WooCommerce ships with Stripe and PayPal integrations available directly from this screen, plus a manual "Direct bank transfer" and "Cash on delivery" option for offline workflows.
  • Accounts & Privacy — decide whether checkout requires an account, allows guest checkout, or both. Guest checkout meaningfully reduces cart abandonment for first-time buyers who don't want to create a password just to buy one item.
  • Emails — customize the sender name and address for order confirmation, processing, and shipping emails; the defaults are functional but generic, and mismatched sender details here are a common reason order emails land in spam.

Step 3: Add Your First Product

Go to Products → Add New. Give it a title and description, then work through the Product data panel below the editor:

  • Product type — Simple, Variable (for products with options like size or color), Grouped, or External/Affiliate.
  • General tab — regular price and, if it's on sale, a sale price with an optional schedule.
  • Inventory tab — a SKU, and whether to manage stock quantity for this specific product.
  • Shipping tab — weight, dimensions, and an optional shipping class if this product needs different shipping rules than the rest of your catalog.

Set a Product image and Product gallery in the right sidebar, assign it to a Product category, and publish. WooCommerce automatically adds it to your Shop page and any category archive pages that match.

Step 4: Customize Store Behavior with a Code Snippet

Most day-to-day store adjustments (prices, shipping, taxes) belong in the WooCommerce settings screens, not in code. But some behavior only WooCommerce's hook system exposes. A common example: changing how many products display per page on shop and category archives, since the default settings screen only lets you control this indirectly through a hidden option. Add this to your theme's functions.php or a site-specific plugin:

add_filter( 'loop_shop_per_page', function ( $per_page ) {
    return 24;
}, 20 );

And to control how many columns that grid uses (useful if your theme's default of three or four columns doesn't match your product photography or layout):

add_filter( 'woocommerce_loop_shop_columns', function ( $columns ) {
    return 4;
} );

A couple of things worth understanding:

  • loop_shop_per_page overrides WooCommerce's default of 12 products per archive page. Setting the priority argument (20 here) to run late ensures your value wins over anything a theme might also be filtering.
  • These filters run on every shop and category archive, not a single page, so test the change across a few different category pages, not just the main Shop page, to confirm the layout still looks right at the new count.

If you eventually need conditional logic (a different per-page count on sale pages, for instance), is_shop() and is_product_category() are the standard WooCommerce conditional tags to branch on inside the same filter.

Step 5: Test a Full Checkout Before Going Live

Before announcing your store, place a real test order end to end:

  • Add a product to the cart, apply a coupon if you plan to use them (covered in the coupons and discounts guide), and confirm the total, shipping cost, and tax all calculate correctly.
  • Complete checkout using your payment gateway's test/sandbox mode, and confirm the order lands correctly under WooCommerce → Orders.
  • Check that the customer confirmation email actually arrives, and that it doesn't land in spam.
  • If you sell physical goods, walk through marking that test order as "Processing" then "Completed," and confirm the customer-facing order status emails match what you'd want a real customer to see.

Frequently Asked Questions (FAQ) About Setting Up WooCommerce

The core plugin is completely free and open-source. Costs come from optional extensions (advanced shipping methods, subscriptions, memberships), premium themes, and services like hosting and payment processing fees, which apply to any eCommerce platform, not just WooCommerce.

No, WooCommerce works with any properly coded WordPress theme, but a theme without explicit WooCommerce support often renders shop, cart, and checkout pages with unstyled or misaligned elements until you add your own CSS. Storefront, WooCommerce's own free theme, is a reliable starting point if you'd rather not troubleshoot theme compatibility.

These pages are normally created automatically by the WooCommerce Setup Wizard the first time you activate the plugin. If you skipped the wizard or deleted these pages afterward, go to WooCommerce → Status → Tools and use the "Create default WooCommerce pages" tool to regenerate them.

WooCommerce can handle catalogs from a handful of products up to hundreds of thousands, though very large catalogs benefit from performance-focused hosting, object caching, and sometimes a dedicated search plugin, since the default WordPress database structure wasn't originally optimized for massive product counts.

For most stores, yes. Requiring an account before checkout adds friction that measurably increases cart abandonment, particularly for first-time or one-off buyers. You can still offer account creation as an option during or after checkout without forcing it as a requirement.

Yes, WooCommerce supports both in the same catalog. Mark a product as "Virtual" to skip shipping calculations for it, and as "Downloadable" to attach files customers receive after purchase; the digital downloads guide covers this in more depth.

Settings screens cover anything WooCommerce's developers anticipated store owners would need to configure without code: currency, shipping zones, tax classes, payment gateways. Hooks and filters like the ones in this guide cover the long tail of behavior that varies from store to store, such as exactly how many products display per page, which isn't exposed as a dedicated setting.

Conclusion

A correctly configured WooCommerce store comes down to a short list of things done in the right order: install the plugin and let the setup wizard create your core pages, configure general, shipping, and payment settings before adding products, add your first product with accurate inventory and shipping data, and test a full checkout before sending it live. Skipping the test-order step is the single most common way stores discover a broken tax rate or missing payment gateway only after a real customer already hit it.

Once the basics are running, most of what makes a WooCommerce store better over time (coupons, shipping zones, tax accuracy, and cutting cart abandonment) builds directly on this foundation, and each of those areas has its own dedicated settings screen and, where needed, its own filter hooks to extend beyond what the UI exposes.

If you're building this store on top of a marketing or campaign page rather than starting from the Shop page directly, pair this setup with a dedicated Elementor landing page that funnels visitors straight to a specific product or category.

Tags :
Share :

Related Posts

Effortlessly Crafting Compelling WordPress Pages

Effortlessly Crafting Compelling WordPress Pages

As a website owner or content creator, having the ability to seamlessly add new pages to your WordPress site is crucial. Whether you're introducing a

Continue Reading
High Traffic Tips for WordPress Mastery 🚥

High Traffic Tips for WordPress Mastery 🚥

In our digital age, where online visibility is paramount, ensuring your WordPress site can handle surging traffic is crucial. Just like a finely-tune

Continue Reading
How Do I Change the WordPress Login URL?

How Do I Change the WordPress Login URL?

By default, every WordPress site's login page lives at the same predictable address: yoursite.com/wp-login.php (which also happens to redirect from

Continue Reading