Skip to content
Advertisement 728 × 90
ADELINASOCIALGOODS.COM

How to Set Up WooCommerce the Right Way: A Developer’s Walkthrough

Web developer demonstrating how to set up WooCommerce using the WordPress dashboard and configuration tools.
Learn how to set up WooCommerce correctly, configure essential store settings, and establish a reliable foundation for your online business.

I have built WooCommerce stores for bakeries, industrial parts suppliers, a dental supply distributor, and a guy who sells handmade fishing lures out of his garage. The products differ, but the mistakes I get hired to fix are nearly always the same, and most of them come from not knowing how to set up WooCommerce properly in the first hour. Somebody clicks through the wizard, adds a few products, and calls it a store.

This is the walkthrough I wish every client had read before calling me. It is not the five minute version. If you want to know how to set up WooCommerce so it still holds together when your order volume triples, this is the order I work in on every build, the settings I change right away, and the reasons behind each one.

Before You Set Up WooCommerce, Start With the Server

Most people searching for how to set up WooCommerce expect step one to be installing the plugin. I don’t start there. Before I touch WooCommerce, I open the hosting control panel and check what the store will be running on, because a bad environment causes problems that look like plugin bugs for months.

Check Your PHP Version First

This matters right now more than usual. Stores on PHP 7.4 or 8.0 can keep updating WooCommerce through the rest of the year, up to version 11.5, while they prepare their hosting environment for the new requirement. After that, version 11.6 needs PHP 8.1 or newer, as WooCommerce confirmed in its PHP 8.1 requirement announcement. You don’t get an error and you don’t get locked out. WordPress normally prevents an update to a plugin version if your server does not meet the declared PHP requirement. So your store just stops getting updates, and nobody notices until a payment extension needs a newer core version.

Server Specs I Use When I Set Up WooCommerce

  • PHP 8.3 or newer. WordPress currently runs on PHP 7.4 or newer and recommends PHP 8.3 or newer for a modern hosting environment. I don’t start a new store on 8.2 either, since PHP 8.2 reaches end of life on December 31, 2026.
  • MySQL 8.0 or MariaDB 10.6. Those are the recommended versions, even though older ones will still run.
  • WordPress memory limit of 256 MB or greater. Shared hosts often default to 128, which is fine for a blog but tight for a store running a page builder, a payment gateway, and an email marketing plugin all at once.
  • HTTPS on every page, not just checkout. Get the SSL certificate issued and forced site wide before you build anything.

Choosing the Right Hosting Tier

Cheap shared hosting is fine for a store doing a handful of orders a week. Once you have a few hundred products and steady traffic, move to managed WordPress hosting or a properly sized VPS. The reason is not raw speed. Checkout, cart, and account pages can’t be served from a full page cache, so every one of those requests hits PHP and the database directly. Your server has to actually do the work.

Set Up WooCommerce on Staging, Always

The safest answer to how to set up WooCommerce is to do it somewhere customers can’t see. I never build directly on a live domain if I can avoid it. Most decent hosts include a staging environment with one click cloning. If yours doesn’t, a local install using a tool like LocalWP works fine.

Staging gives you room to break things. You can test payment gateways in sandbox mode, try three themes, import and delete products, and run test orders without real customers ever seeing a half finished shop. When it’s ready, you push it live, and the launch is a nonevent, which is exactly how a launch should feel.

How to Set Up WooCommerce Through the Setup Wizard

Install the plugin from Plugins, Add New, search for WooCommerce, then install and activate. Nothing special there.

The setup wizard appears right after activation. It’s WooCommerce’s own quick answer to how to set up WooCommerce, but quick isn’t the same as right. It asks about your store address, industry, product types, and business size, and it offers to install a bunch of recommended extensions. Here is how I handle it:

  • Store address: Fill this in accurately. WooCommerce uses it as the base location for tax and shipping calculations, so it actually matters.
  • Industry and product types: Answer honestly. These mostly shape the onboarding suggestions you see later.
  • Recommended extensions: I uncheck almost everything. Each free extension it offers is reasonable on its own, but installing six plugins before you know whether you need them is how stores end up slow and fragile. Add things deliberately, one at a time, when you have a reason.
  • Theme suggestions: Skip it for now. Pick your theme on purpose after you know your catalog.

When the wizard finishes, WooCommerce creates its core pages: Shop, Cart, Checkout, and My Account. Leave those alone for the moment. We’ll come back to cart and checkout.

The Settings I Change Every Time I Set Up WooCommerce

The defaults are built for a generic store. Nobody runs a generic store. This is the part of learning how to set up WooCommerce that most tutorials rush. Go to WooCommerce, Settings, and work through these tabs before you add a single product.

General

Set your selling locations and shipping locations. If you only ship domestically, say so here, because it keeps foreign addresses out of checkout entirely. Set your currency, decimal places, and thousand separator. Changing currency after you have orders and reports is messy, so get it right now.

Products

Under the Products tab, set your weight and dimension units to match whatever your carrier uses for rate calculation. A surprising number of stores enter weights in pounds while the shipping plugin expects kilograms, then wonder why rates look absurd.

Decide on reviews now, too. If you turn on reviews, I strongly suggest limiting them to verified owners. It cuts spam dramatically.

Inventory

If you track stock, turn on stock management and set a low stock threshold that gives you real lead time to reorder. Also decide how long unpaid orders should hold stock. The default hold time works for most stores, but if you sell limited quantity items, a shorter hold stops abandoned checkouts from locking up your inventory.

Accounts and Privacy

This tab affects conversion more than people realize. I almost always enable guest checkout. Forcing account creation before purchase is one of the fastest ways to lose a first time buyer. You can still let customers create an account during checkout, and you can generate the password automatically so it’s one less field to fill.

Set your privacy policy page and your data retention rules here as well. Retaining inactive account data forever isn’t doing you any favors.

Emails

Change the “from” name and address to something on your own domain, then set up proper email authentication with your host or a transactional mail service. Order confirmation emails that land in spam generate support tickets and chargebacks. I route WooCommerce mail through an SMTP service on every build, no exceptions. PHP mail on shared hosting is simply not reliable enough for receipts.

Order Storage: Confirm You’re on HPOS

This is the part most guides on how to set up WooCommerce skip, and it’s the one I care about most as a developer.

For years, WooCommerce stored orders the same way WordPress stores blog posts, in the general posts and post meta tables. That worked, but it scaled badly. With High Performance Order Storage, you get dedicated tables for data such as orders, order addresses, and dedicated indexes, which means less strain on the database. WooCommerce’s own announcement claimed that finding an order will now be up to 40x faster.

Checking HPOS When You Set Up WooCommerce on a New Store

For new stores this is already handled. From WooCommerce 8.2, released on October 2023, HPOS is enabled by default for new installations. Still, check it. Go to WooCommerce, Settings, Advanced, Features, and confirm that the WooCommerce orders tables are selected as your order data storage.

Migrating an Older Store

If you’re migrating an older store, do not just flip the switch on production. Existing stores will first need to get both the posts and orders table in sync, which can be done by turning on the setting “Enable compatibility mode (synchronizes orders to the posts table)”. Let the sync finish, test on staging with every plugin active, then switch. Before you do, make sure that any extension on your site that use custom post types (eg, Woo Subscriptions, WooCommerce Bookings, etc), are active.

Here’s my rule for any new plugin from now on: if its listing doesn’t mention HPOS compatibility, I don’t install it. WooCommerce flags incompatible plugins on the Features screen, so it’s easy to check.

Cart and Checkout: Blocks or Shortcodes?

Starting with WooCommerce version 8.3, the Cart and Checkout Blocks are the default for new installations. If you’re on a fresh install, your Cart and Checkout pages are already built with blocks.

For most new stores, I keep them. The block checkout is cleaner, easier to edit visually, and WooCommerce has been putting most of its checkout work there. Fields can be reordered and edited right in the page editor instead of through custom code.

When to Switch Back to Shortcodes

The catch is extensions. Some older plugins that add checkout fields, upsells, or custom payment flows still only hook into the classic checkout. Before you commit, check every plugin that touches the cart or checkout. Compatibility with the Cart and Checkout blocks for extensions on WooCommerce.com is marked on the product page.

If something critical doesn’t support blocks, you can go back to the classic shortcodes, [woocommerce_cart] and [woocommerce_checkout]. One warning from experience: since the cart and checkout blocks work together, if you’re reverting to the classic version of the cart and checkout experience, you’ll want to revert both the cart and checkout to the classic shortcode version. Mixing them produces strange behavior that’s annoying to debug.

Payments: How to Set Up WooCommerce Gateways Properly

When clients ask me how to set up WooCommerce payments, my answer is always the same: fewer gateways, configured properly. Go to WooCommerce, Settings, Payments. You’ll see a list of gateways, and the temptation is to turn on all of them. Resist that.

For most stores I set up two: a card processor (Stripe, WooPayments, or Square, depending on the client’s region and existing accounts) and PayPal. Those two cover the vast majority of buyers. Each extra gateway is another plugin to update, another webhook that can fail, and another place where a refund can go wrong.

How I Configure Each Gateway

  1. Install the gateway plugin and connect it in test mode first.
  2. Confirm that webhooks are registered and reaching the site. Most failed payment problems I’ve traced came down to a webhook that never fired, so the store never learned the payment succeeded.
  3. Turn on express payment buttons like Apple Pay and Google Pay if the gateway supports them. They reduce checkout friction on mobile, and mobile is where most of your traffic will be.
  4. Run test transactions for a success, a decline, and a refund. All three. Refunds especially, because that’s the flow nobody tests until an angry customer is waiting.

Only switch to live mode once those three tests pass on staging.

How to Set Up WooCommerce Shipping Zones That Make Sense

Shipping is where most attempts at learning how to set up WooCommerce get sloppy. WooCommerce uses shipping zones, which are geographic regions, and each zone gets its own shipping methods. Go to WooCommerce, Settings, Shipping.

Build your zones from the most specific to the broadest, because WooCommerce matches a customer to the first zone that fits. A typical setup for a domestic seller looks like:

  • A local zone for your city or postcode range, with local pickup and maybe local delivery.
  • A domestic zone for the rest of the country, with flat rate or carrier calculated rates.
  • A catch all for everywhere else, either with international rates or with no methods at all so those addresses can’t check out.

Shipping Classes and Live Rates

If your products vary a lot in size, use shipping classes. Assign a “bulky” class to oversized items and charge a different flat rate for that class within each zone. It’s much simpler than trying to make one flat rate work for both a phone case and a floor lamp.

For anything beyond simple flat rates, a live rate plugin connected to your carrier account will save you from undercharging. I’ve watched clients lose real money for months because they guessed at flat rates and never checked them against actual label costs.

How to Set Up WooCommerce Taxes Deliberately

Taxes are off by default. Go to WooCommerce, Settings, General, and enable tax rates and calculations. A new Tax tab appears.

Every guide on how to set up WooCommerce mentions taxes, but few say this plainly: I’m a developer, not an accountant. I’ll configure WooCommerce to collect what you need to collect, but you need someone qualified to tell you what that is. Tax rules depend on where you sell, what you sell, and how much you sell in each region.

Technically, the key decisions are:

  • Whether prices are entered inclusive or exclusive of tax.
  • Whether tax is calculated from the customer’s shipping address, billing address, or your store address.
  • Whether to use manual rate tables or an automated tax service.

Manual tables are fine for a store that sells in one region with one rate. For anything more involved, an automated tax service is worth the cost. Rates change, and keeping manual tables accurate across dozens of jurisdictions is a job nobody wants.

Products: Plan the Structure Before You Enter Data

If there’s one lesson in how to set up WooCommerce that pays off for years, it’s this one. Before typing in a single product, plan your catalog structure. This step separates stores that stay organized from stores that become a mess at 400 products.

Categories, Attributes, and SKUs

  • Categories: Keep them shallow. Two levels deep is usually enough. Categories are for navigation, so think about how a shopper browses, not how your warehouse is arranged.
  • Attributes: Create global attributes like Size, Color, and Material under Products, Attributes, instead of typing custom attributes on each product. Global attributes can drive filtering in your shop, and they keep spelling consistent across the catalog.
  • SKUs: Set a SKU convention and stick to it. Future you, or whoever manages your inventory sync, will be grateful.
  • Product types: Use simple products where you can. Variable products are powerful, but a product with 80 variations loads slowly in the admin and on the front end. Sometimes splitting it into a few separate products is the better call.

Importing Products in Bulk

For more than about 30 products, use the built in CSV importer instead of entering them by hand. Build your spreadsheet carefully, import ten products as a test, check them on the front end, delete them, fix the sheet, and only then import the full catalog. That habit has saved me from cleaning up a thousand broken listings more than once.

Product Images

Upload images at consistent proportions, compress them before upload, and confirm your theme’s product image settings match. Inconsistent image ratios make a shop grid look broken even when everything is technically working.

Background Jobs: Give WooCommerce a Real Cron

This developer detail rarely comes up when people talk about how to set up WooCommerce, and it causes a lot of mystery problems.

WooCommerce depends on a background queue to process things like scheduled sales, webhook deliveries, subscription renewals, and data cleanup. That queue is called Action Scheduler. By default, it relies on WordPress cron, which means it is also dependent on site traffic. In plain terms, WordPress only checks for scheduled tasks when someone visits the site. A low traffic store can have overdue tasks piling up overnight. A high traffic store can have those checks firing far too often and slowing page loads.

The fix is to trigger WordPress cron from the server on a fixed schedule instead. You can also set up custom server cron jobs that run WordPress cron independently and bypass traffic dependency, making it more reliable. Most hosts let you add a cron job in the control panel that calls your site’s cron file every five minutes. Once that’s running, add define(‘DISABLE_WP_CRON’, true); to your WordPress config file so page visits stop triggering it.

You can watch the queue under WooCommerce, Status, Scheduled Actions. If you ever see a pile of past due or failed actions there, start your troubleshooting with this.

Performance Without Breaking the Cart

Caching a WooCommerce store is different from caching a blog. Shop pages, category pages, and product pages can be cached. Cart, checkout, and My Account pages must never be cached, or customers will see each other’s carts. Most good caching plugins and managed hosts exclude these automatically, but confirm it. Add items to the cart in one browser, open the cart in a private window, and make sure it’s empty.

Other performance habits I follow on every build:

  • Use a lightweight theme. A theme designed for WooCommerce that loads only what it needs will outperform a heavy multipurpose theme with every feature switched on.
  • Use a CDN for images and static files.
  • Turn off cart fragments on pages that don’t need them, if your theme allows it. That background request runs on every page by default and adds load.
  • Audit your plugins every few months. If you can’t explain what a plugin does for revenue or operations, remove it.

Security and Maintenance From Day One

Stores handle money and customer data, so security belongs in how to set up WooCommerce from the very start, not as something to add later.

  • Use strong, unique admin passwords and turn on two factor authentication for every account with admin or shop manager access.
  • Give staff the lowest role that lets them do their job. Shop Manager exists for a reason. Not everyone needs to be an Administrator.
  • Set up automated daily backups that include the database and are stored off the server. Test a restore once, so you know it works.
  • Keep WordPress, WooCommerce, your theme, and your plugins updated, but update on staging first for anything major. A WooCommerce major release plus an outdated payment extension is the classic way to break checkout on a Friday afternoon.
  • Check WooCommerce, Status regularly. The System Status report shows your PHP version, database version, memory limit, and any outdated template overrides in your theme. Those template warnings are easy to miss and they’re a common source of layout bugs after updates.

My Checklist After I Set Up WooCommerce

This is the final step in how to set up WooCommerce for launch. Before any store goes live, I run through this list on staging, then again on production right after launch:

  1. Place a test order with each payment method, then refund one.
  2. Check that the customer and admin order emails arrive, look right, and don’t land in spam.
  3. Test checkout as a guest and as a logged in customer.
  4. Test shipping with addresses in each zone, including one that should be blocked.
  5. Check tax calculation on a few sample addresses.
  6. Test the full purchase flow on an actual phone, not just a resized desktop browser.
  7. Confirm the cart and checkout aren’t cached.
  8. Verify HPOS is active and no incompatible plugins are flagged.
  9. Confirm the server cron is running and Scheduled Actions shows no backlog.
  10. Make sure backups ran successfully at least once.

Once all ten pass, switch payment gateways to live mode, remove any “coming soon” mode, and submit your sitemap to search engines.

Final Thoughts on How to Set Up WooCommerce

Learning how to set up WooCommerce properly isn’t about memorizing every setting. It’s about making decisions in the right order. Server first, then staging, then core settings, then the plumbing nobody sees (order storage, cron, email delivery), and only then products and design. Do it in that order and you’ll have a store that handles growth instead of fighting it.

Most store owners skip straight to the theme because it’s the fun part. I understand that. But the stores that last are the ones where someone spent an extra afternoon on the boring parts.

Frequently Asked Questions

How long does it take to set up WooCommerce?

A basic store with a few products can be running in an afternoon. A properly configured store with real payment testing, shipping zones, taxes, and a full product import usually takes a few days of focused work. If you’re still planning how to set up WooCommerce, the WooCommerce Server Recommendations are a good place to start.

Is WooCommerce free?

The core plugin is free and open source. You still pay for hosting, a domain, an SSL certificate if your host doesn’t include one, and any premium extensions you choose, so it helps to budget for the full ecommerce website cost. The WPBeginner WooCommerce tutorial gives a good breakdown of typical costs.

What PHP version does WooCommerce need?

WooCommerce 11.6 and later need PHP 8.1 or newer, and PHP 8.3 or newer is the better choice for a new build. See the official PHP 8.1 requirement announcement for the full timeline.

Should I use the block checkout or the classic checkout?

Use the block checkout unless a plugin you depend on doesn’t support it yet. WooCommerce explains how to check compatibility and switch in its guide to customizing the Cart and Checkout pages.

What is HPOS and do I need to turn it on?

HPOS stores orders in dedicated database tables instead of the general WordPress posts tables, which makes order handling faster. It’s on by default for new stores. Existing stores can follow the official guide on how to enable High Performance Order Storage.

Why are my scheduled sales or emails running late?

Usually because WordPress cron only runs when someone visits the site. Setting up a real server cron fixes it. WooCommerce documents this under Scheduled Actions.

References

Article topics

Leave a comment

Leave a Reply