Guide, 9 min read

Creating an online store in Morocco:from idea to first order.

Platform, card and cash-on-delivery payments, shipping, legal steps, catalog, WhatsApp and visibility: everything you need to know to sell online in Morocco, in the right order.

How do you create an online store in Morocco?

To create an online store in Morocco, you need a registered business, the right platform (custom-built, Shopify or WooCommerce), the two payment methods customers expect (bank card via the CMI and cash on delivery), a reliable carrier and a polished catalog. After that, everything comes down to trust: accurate photos, fast replies on WhatsApp and an ecommerce website that Google understands. If you’re starting from scratch, our guide to website design in Morocco lays the groundwork.

What are the steps to launch an online store in Morocco?

An online store launches in eight steps, from defining your offer to delivering your first order.

  1. Define your offer: which products, for which customers, at what price, delivered where.
  2. Register your business: choose a legal status and obtain your company identifiers.
  3. Choose the platform: custom-built, Shopify or WooCommerce.
  4. Register your domain name: .ma for a Moroccan footprint, .com for international reach, always in your name.
  5. Prepare your catalog: photos, descriptions, prices, sizes, stock.
  6. Set up payment and delivery: cash on delivery from day one, card payment via the CMI as soon as your bank has approved it, and a contract with a carrier.
  7. Write the legal pages: terms of sale, returns, legal notice, privacy.
  8. Test, then launch: place real test orders on a phone before opening.

Custom-built, Shopify or WooCommerce: which platform for an ecommerce website in Morocco?

There’s no single best platform: Shopify suits a fast launch, WooCommerce suits those who want to stay on WordPress, and custom-built suits brands that want a fast, one-of-a-kind store designed around Moroccan shopping habits.

CriterionCustom-builtShopifyWooCommerce
DesignUnique, true to your brandOff-the-shelf theme, customizableOff-the-shelf theme, customizable
Cash on deliveryCheckout built around itBuilt-in, often extended with an appBuilt-in
Card payment (CMI)Direct integration, once the bank approvesNot standard: third-party solution to checkVia a plugin, to be checked
Speed and SEOFully controlled, end to endSolid basics, fixed URL structureDepends on theme and plugins
MaintenanceHandled by your providerHandled by ShopifyYour responsibility
Recurring costsHosting, maintenanceSubscription, appsHosting, plugins, maintenance
Best forBrands built to lastTesting a market, launching fastAn existing WordPress site

Themes, payment, delivery: it’s all covered in our guide to Shopify in Morocco. Still torn between a showcase website and an online store? See our comparison: showcase website, online store or app.

How does online payment work in Morocco?

In Morocco, an online store usually offers two payment methods: bank cards, processed by the CMI (Centre Monétique Interbancaire), and cash on delivery, where the customer pays the courier in cash.

Card payment via the CMI. The process normally goes through your bank, which reviews your application and offers you an online payment acceptance agreement. Your website is then connected to a secure payment page: you never store your customers’ card details. Ask about the terms and fees of your contract from the outset.

Cash on delivery. It’s the go-to choice for many Moroccan shoppers when they come across a store for the first time. The courier collects the payment, then the carrier pays the amounts back to you according to your contract.

How do you combine them? Offer both side by side: cash on delivery wins the first order, while card payment reduces refused parcels and speeds up your cash flow. Confirm every order by phone or WhatsApp before shipping, and keep a close eye on the amounts the carrier owes you.

How should you handle delivery and returns?

Delivery is most often handled by a company specializing in ecommerce, by Amana, the courier service of Barid Al-Maghrib, or by your own couriers in town. Before signing, compare:

  • coverage: major cities only, or smaller towns and rural areas too;
  • delivery times and parcel tracking;
  • cash on delivery: payout frequency and fees;
  • how returns and refused parcels are handled.

Show shipping costs and delivery times by city before checkout: a surprise at the payment stage drives customers away. For returns, a simple, visible policy is enough: time limit, required condition, who pays for the return, refund or exchange.

What legal steps do you need to sell online in Morocco?

To sell online in Morocco, you need a registered business, identifiers such as the ICE, clear terms and conditions of sale, and customer data handling that complies with Law 09-08.

  • Legal status: auto-entrepreneur to start on your own, if your activity qualifies, or a company (SARL, single-member SARL).
  • The ICE (common business identifier): it appears on your invoices and you’ll be asked for it in many procedures, notably by your bank.
  • Personal data: Law 09-08 governs the collection of names, phone numbers and addresses. It requires a privacy policy and, in principle, declaring your data processing to the CNDP.
  • Terms of sale: prices, delivery, payment, returns. Law 31-08 on consumer protection also regulates distance selling, including customer information and the right of withdrawal.
  • Regulated products: cosmetics or food products may require specific authorizations.

This information is general and depends on your situation: have it checked by an accountant or a lawyer before launch.

How do you build a strong catalog and great product photos?

A good catalog answers customers’ questions before they ask them: look, material, size, delivered price.

  • Sharp photos in natural light, then lifestyle shots: a caftan being worn sells better than a caftan on a hanger.
  • A precise title, “Emerald green velvet caftan, sfifa embroidery”, rather than “Caftan model 12”.
  • An original description, not the supplier’s: it helps customers and Google alike.
  • A size guide, composition and delivery time on every product page, plus up-to-date stock.
  • Lightweight images (WebP or AVIF) for fast loading on phones.

Should you take orders on WhatsApp?

Yes, alongside your store, not instead of it. In Morocco, many customers want to ask a question before buying: a well-placed WhatsApp button clears up any last doubts.

  • An “Order on WhatsApp” button on every product page that pre-fills the product, size and price.
  • WhatsApp confirmation of every cash-on-delivery order, with a summary and the delivery address.
  • Every WhatsApp order entered into the store, so your stock stays accurate.

How do you promote an online store in Morocco?

An online store gets known through three complementary channels: social media to spark desire, Google to capture people who are already searching, and customer reviews to build trust.

  • SEO: one page per category (“wedding caftans”, “takchita”), your customers’ words in your titles, a website that loads fast on phones. See our guide to SEO in Morocco.
  • Arabic: many customers search in Arabic or Darija; a polished Arabic version broadens your customer base.
  • Google Business Profile: with a showroom or pickup point, it puts you on Google Maps (see our Google Business Profile guide).
  • Instagram, Facebook and TikTok: products worn, used and unboxed, plus ads targeted by city.
  • AI assistants: structured data and clear answers help ChatGPT or Gemini cite your store (getting found on Google and in ChatGPT).
  • Reviews: ask for them after every successful delivery.

How much does an online store cost in Morocco?

On the Moroccan market, an online store with a catalog, CMI or cash-on-delivery payment and order management costs roughly 15,000 to 60,000 MAD, depending on the catalog, features and level of customization. These figures are indicative and vary from one provider to another. On top of that, budget for:

  • the domain name (.ma or .com), hosting and maintenance, every year;
  • on Shopify, the subscription, the theme if it’s a paid one, and apps;
  • bank fees and delivery costs, depending on your contracts;
  • marketing: photos, content, advertising.

You’ll find the full breakdown in our guide to website prices in Morocco. Insist on a written quote, and make sure the domain name, code and content are in your name.

Checklist: is your online store ready to launch?

Your store is ready if you can check off every one of these points:

  • The domain name is in your name and the site loads over HTTPS.
  • Every product has sharp photos, a price, a description and up-to-date stock.
  • Cash on delivery works, and card payment has been tested end to end.
  • Shipping costs and delivery times are shown before checkout.
  • Terms of sale, return policy, legal notice and privacy policy are live.
  • Customers receive an order confirmation by email or WhatsApp.
  • The site is fast on an entry-level phone, and Arabic displays right to left.
  • Google Search Console and an analytics tool are installed.
  • Several test orders have been shipped, and one of them returned.

How can Digilago help you create your online store?

Digilago, a Moroccan web agency, builds online stores for shops, artisans and brands across Morocco: custom-built and hand-coded, or on Shopify when that’s the smartest choice. Cash on delivery and card payment, order tracking, WhatsApp, three languages: see our services and our website ideas.

The price is confirmed in writing before we start, and you see a first version within 72 hours: if you don’t like it, you pay nothing. Describe your project in two minutes or message us on WhatsApp at +212 6 49 95 38 13.

Questions

In short,the answers.

How much does it cost to create an online store in Morocco?

On the Moroccan market, an online store with a catalog, CMI or cash-on-delivery payment and order management costs around 15,000 to 60,000 MAD (indicative figures), depending on the number of products and features. You also need to budget each year for the domain name, hosting and maintenance.

Can you sell online in Morocco without card payment?

Yes. A Moroccan online store can start with cash on delivery alone, which customers know well. Card payment via the CMI can be added later, once the contract with your bank is signed.

How do you accept card payments on an ecommerce website in Morocco?

Card payment generally goes through the CMI (Centre Monétique Interbancaire). The process starts with your bank, which offers you an online payment acceptance agreement. Your website is then connected to the secure payment page and tested before launch.

Do you need a company to open an online store in Morocco?

At the very least, you need a registered business: auto-entrepreneur status lets you start on your own if your activity qualifies, while a company suits a larger operation. A registered business notably gives you an ICE, which you need to issue invoices. Have your choice confirmed by an accountant.

Shopify or a custom-built website: which should you choose for a store in Morocco?

Shopify is a good fit to launch fast and test a market, in exchange for a monthly subscription and paid apps. Custom-built suits brands that want a unique design, a very fast store and a checkout designed for cash on delivery and the CMI.

Which carrier should you choose to deliver your orders in Morocco?

Compare ecommerce delivery companies and Amana, the courier service of Barid Al-Maghrib, on coverage, delivery times, tracking and cash-on-delivery handling. Above all, check how often the cash collected is paid back to you.

How can you reduce refused cash-on-delivery orders?

Confirm every order by phone or WhatsApp before shipping, display costs and delivery times clearly, and deliver fast. Accurate photos and a size guide also prevent disappointment when the parcel is opened.

Does Law 09-08 apply to an online store?

Yes: the names, phone numbers and addresses an online store collects are personal data within the meaning of Law 09-08. The store must publish a clear privacy policy and, in principle, declare its data processing to the CNDP. A lawyer can confirm the right steps for your situation.

How long does it take to launch an online store in Morocco?

The timeline mainly depends on preparing the catalog and activating card payment, which requires some back-and-forth with the bank; cash on delivery can work from day one. At Digilago, you see a first version within 72 hours, then the launch follows your approvals.

By sector

The same advice,sector by sector.

All guidesFAQWho writes these guides?

Further reading

Another guideto keep moving forward.

Same-day reply

Ready to take action?
First version in 72 hours.

Leave your number: someone from our team will call you back today, free of charge and with no commitment.

Year-end: your custom website for 4,999 MAD incl. VAT, all included, anywhere in Morocco, until December 31.See the offer
We’ll call you backMonday to Saturday, 9:00 to 19:00 · free
Got it, thank you!We’ll call you back today.