How to Set Up Shopify Alternatives with WooCommerce
WooCommerce is the most popular open-source e-commerce plugin for WordPress, powering over 30% of all online stores. Unlike hosted e-commerce platforms that charge monthly fees and transaction percentages, WooCommerce gives you full control over your store on your own Breeze instance. This guide walks you through setting up a complete WooCommerce store.
Why Self-Host Your Store
- No transaction fees — you only pay your payment processor
- Full data ownership — customer data stays on your Breeze
- Unlimited customization — thousands of plugins and themes
- No monthly platform fees — just your Breeze hosting cost
Prerequisites
- A Breeze instance with Ubuntu 22.04 and at least 2 GB RAM
- WordPress installed and running
- SSL certificate configured (required for payment processing)
- PHP 8.1+ with required extensions
Step 1 — Install WordPress (If Not Already Installed)
If you do not already have WordPress running, install it first:
cd /var/www
wget https://wordpress.org/latest.tar.gz
tar -xzf latest.tar.gz
sudo chown -R www-data:www-data /var/www/wordpress
sudo chmod -R 755 /var/www/wordpress
Create a MySQL database, configure wp-config.php, and run through the WordPress installer in your browser.
Step 2 — Install WooCommerce
From the WordPress admin dashboard, navigate to Plugins > Add New and search for "WooCommerce". Click Install Now, then Activate. Alternatively, install via WP-CLI:
cd /var/www/wordpress
wp plugin install woocommerce --activate --allow-root
Step 3 — Run the Setup Wizard
WooCommerce launches a setup wizard after activation. Configure:
- Store details — address, industry, product types
- Payment methods — Stripe, PayPal, bank transfer, or cash on delivery
- Shipping zones — flat rate, free shipping, or real-time carrier rates
- Tax settings — automatic tax calculation or manual rates
Step 4 — Configure Payment Gateways
For Stripe integration (recommended), install the WooCommerce Stripe Gateway plugin:
wp plugin install woocommerce-gateway-stripe --activate --allow-root
Navigate to WooCommerce > Settings > Payments and enter your Stripe API keys. Enable test mode first to verify everything works before going live.
Step 5 — Optimize for Performance
WooCommerce can be resource-intensive. Optimize your Breeze instance:
# Install and configure object caching with Redis
sudo apt install -y redis-server
wp plugin install redis-cache --activate --allow-root
wp redis enable --allow-root
Additional optimizations:
- Install a caching plugin like WP Super Cache or W3 Total Cache
- Use a CDN for static assets to reduce server load
- Optimize images with plugins like ShortPixel or Imagify
- Increase PHP memory limit to at least 256 MB in
php.ini
Essential Plugins for Your Store
- WooCommerce Subscriptions — for recurring billing
- WooCommerce Bookings — for appointment-based services
- YITH WooCommerce Wishlist — customer wishlists
- WooCommerce PDF Invoices — automatic invoice generation