Running a WooCommerce store on Barbrick

woocommerce, store, cache, checkout, cron, staging, payments · 0 found this helpful

WooCommerce runs well on LiteSpeed hosting if you cache the right pages and keep an eye on resources. Stores do more database work than blogs, so they need a little tuning.

Choose a plan

A small store with a few hundred products and modest traffic fits Business. A busy store, or one with large catalogues, memberships, or heavy plugins, fits Pro, which has more processing power. You can upgrade later, and plan changes are pro-rated.

Caching

Use LiteSpeed Cache with its WooCommerce support on. See Speed up WordPress with LiteSpeed Cache.

Never cache these pages:

  • /cart/
  • /checkout/
  • /my-account/

LiteSpeed Cache excludes them by default. Check LiteSpeed Cache → Cache → Excludes to confirm. Enable Cache Logged-in Users: Off.

PHP and memory

Scheduled actions

WooCommerce uses Action Scheduler for emails, subscriptions, and stock jobs. It runs on page loads, which is unreliable at low traffic. Use a real cron job:

*/5 * * * * cd /home/yourusername/public_html && /usr/local/bin/wp cron event run --due-now >/dev/null 2>&1

Then set define( 'DISABLE_WP_CRON', true ); in wp-config.php. See Use WP-CLI and Schedule tasks with cron jobs.

Test safely

  1. Clone to staging. See Stage or clone a WordPress site.
  2. Switch the payment gateway to test mode on staging.
  3. Turn off customer emails on staging.
  4. Never sync the database from staging to live. You'd overwrite real orders. Sync files only.

Updates and backups

  • Update WooCommerce and its extensions with Smart Updates so a screenshot check runs on your shop pages.
  • Orders are in the database. Daily backups keep 30 days. Take an extra backup before a big sale. See Back up and restore WordPress.
  • A restore rolls back orders placed since the backup. Export recent orders first.

Tax

WooCommerce can set tax rates by province. HST is 13% in Ontario, 14% in Nova Scotia, and 15% in New Brunswick, Newfoundland and Labrador, and Prince Edward Island. Other provinces combine GST with PST or QST. Confirm rates with your accountant.

Slow checkout or admin

  • Turn off plugins you don't use.
  • Disable cart fragments on pages that don't need them.
  • Check resource limits. Hitting CPU or entry-process limits slows checkout.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.