← Back to all articles E-commerce & CMS 4 min

WordPress vs Shopify vs custom stack: which e-commerce platform in Morocco?

Objective comparison of e-commerce platforms in Morocco: evaluate WooCommerce, Shopify, and custom stacks across payment gateways, total cost, and technical ownership.

Launching or upgrading an online store in Morocco raises an immediate architectural choice: should you select open-source WordPress with WooCommerce, hosted Shopify, or a bespoke stack (React, Next.js, and dedicated APIs)? Looking at recurring subscription costs, Moroccan CMI card gateways, Cash on Delivery (COD) workflows, and source-code ownership, here is a factual comparison.

1. Executive comparison matrix of the three stacks

This matrix contrasts core technical and financial criteria for a merchant operating in Morocco or internationally.

FeatureWordPress / WooCommerceShopifyCustom stack (React / API)
Monthly platform license0 MAD (standard hosting required)Monthly plan fee + recurring third-party app fees0 MAD CMS license (cloud / server hosting only)
Platform transaction fee0% WooCommerce platform fee (only gateway bank fees apply)Extra transaction surcharge when Shopify Payments is unavailable0% platform fee
Moroccan CMI gatewayModular official CMI extensions and custom hooksRequires external connectors or third-party redirect checkoutDirect server-to-server integration and IPN webhook
Cash on Delivery (COD)Fully customizable checkout fields and rulesCheckout customization restricted on standard plansBespoke checkout with SMS or email confirmation
Code & data ownership100% owned (files, SQL database, domain)Hosted SaaS rental subject to platform terms100% full IP ownership with private Git repository
Technical maintenanceScheduled WP/plugin updates and backups requiredCore managed by Shopify; paid apps still require oversightScheduled codebase and dependency maintenance

2. WooCommerce in Morocco: ownership, CMI gateways, and local flexibility

WooCommerce powers a major share of independent online stores thanks to its straightforward fit with Moroccan banking and courier workflows:

  • No recurring software rent: you pay only for hosting and your domain name, with zero platform surcharges per order.
  • Tailored for Moroccan logistics: native Moroccan Dirham (MAD) currency support via CMI gateways, localized checkout fields (city selector, optional postal code), and direct hooks for local couriers or WhatsApp confirmation.
  • Technical SEO control: pairing a lean theme with clean Schema.org Product markup gives full control over indexation across product categories and pages.

3. Shopify: fast initial setup vs recurring fees and local constraints

Shopify remains practical when launching a straightforward catalog quickly without managing server administration. Still, several realities must be factored in from Morocco:

  • Shopify Payments is unavailable for standard Moroccan bank accounts: relying on external gateways triggers extra platform transaction fees.
  • App subscription stacking: essential tools for 1-step COD forms, advanced multilingual URLs, or upsells add recurring monthly charges in USD/EUR.
  • Third-party script weight: installed marketplace apps frequently inject unbundled JavaScript into storefront pages, which can degrade mobile INP if left unchecked.

4. Which platform fits your current business stage?

The right platform choice depends on your delivery model, target payment methods, and 24-month operating budget rather than launch cost alone.

  • ✓ Custom WooCommerce: suited to merchants selling primarily in Morocco (CMI + Cash on Delivery) seeking 0% platform commission and full data ownership.
  • ✓ Shopify: suited to international brands billing via Stripe or PayPal under a jurisdiction supported by Shopify Payments and preferring managed SaaS.
  • ✓ Custom architecture (React / Next.js / Laravel): warranted when business logic requires tiered B2B pricing, live inventory APIs, or bespoke dealer portals.

Key takeaway

For Moroccan merchants, a lean custom WooCommerce store paired with a certified CMI gateway typically delivers the best balance between predictable long-term costs, functional flexibility, and data ownership.

Frequently asked questions

How do you connect the CMI gateway to WooCommerce in Morocco?

Once you sign a remote merchant agreement (VAD) with your Moroccan bank, CMI issues your merchant credentials (clientid, storeKey). The WooCommerce gateway is configured and certified in sandbox testing before going live.

Can you migrate from Shopify to WooCommerce while preserving SEO signals?

Yes, provided you export all products and collections accurately and deploy a strict 1-to-1 301 redirect map connecting legacy /products/... and /collections/... paths to their new canonical URLs.

Ali Ouarzazi

E-commerce specialist across Morocco and Europe, Ali Ouarzazi builds online stores with local (CMI, Payzone) and international (Stripe) payment integrations.

✨ Professional services

Services & technical solutions related to this guide

Discover tailored engineering services by Ali Ouarzazi to implement these strategies:

Ready to discuss your web project?

Direct exchange with Ali Ouarzazi. Clear itemized quote.