⌂ Avda. Blas Infante 2, Algeciras (Spain)☎ +34 856 224 222✉ info@duyal.es
Home›Blog›What is ecommerce
Online shops · Practical guide

What is ecommerce: types, benefits, examples and how to start selling online (2026 guide)

What ecommerce is, how it works, its types (B2C, B2B, C2C, D2C), benefits, real examples, the latest UK figures and how to start selling online.

More and more people shop online, and more and more businesses are asking whether they should be selling online too. Before opening an online shop, it's worth understanding what ecommerce is, the different types, its benefits and drawbacks, and what you need to get started. In this guide we explain it all with real examples of shops we've worked with, the latest official figures for the UK and Spain, and the steps to start selling online without guesswork.

Cover of the guide on what ecommerce is: a catalogue, a basket, payment and delivery connect an online shop with a customer buying from their phone

1. What is ecommerce?

Ecommerce (also written e-commerce, short for electronic commerce) is buying and selling products or services over the internet. Eurostat, the European Union's statistics office, defines it as the sale or purchase of goods or services through electronic transactions conducted over the internet or other computer networks, whether between businesses, households, individuals or organisations. It adds an important detail: what counts is that the order is placed online; payment and delivery can happen online or offline. An order typed out by hand in an email, on the other hand, isn't counted as ecommerce.

Put simply: if your customer chooses a product, orders it and pays for it on a website, an app or a marketplace, that's ecommerce. It doesn't matter whether you sell trainers, office supplies, a day trip or a software subscription.

Ecommerce, online shop, online retail: is it all the same?

More or less, but not exactly. Ecommerce, e-commerce and online selling all describe the activity of selling over the internet. An online shop is one of the tools for doing it, and the most common one when a business wants to sell under its own brand. Online retail usually refers to shops selling goods to consumers, while ecommerce also covers business-to-business sales, services and bookings.

2. How ecommerce works: the journey of an order

Behind every online order there's a chain of steps. If one of them fails, the sale is lost or the customer doesn't come back. This is the typical journey in an online shop:

  1. The customer finds you: on Google, through an ad, on social media, in an email or because they already know you.
  2. They browse and compare your catalogue: categories, filters, search and product pages with photos, price, delivery times and reviews.
  3. They add to basket and go to checkout, where they choose delivery, enter their details and pay.
  4. They pay: by card, Apple Pay or Google Pay, PayPal, bank transfer or other methods, through a payment provider.
  5. They get a confirmation: an email with the order summary and the information the law requires.
  6. You prepare and ship the order: from your own stock, from a supplier's warehouse or through a logistics partner.
  7. After-sales: tracking, customer service, returns and, if all goes well, a repeat order.

For that chain to work you need several pieces at once: a shop platform, fast hosting, a payment provider, a way to manage stock and delivery, and tools to measure where your sales come from.

3. Types of ecommerce by who sells and who buys

The most common way to classify ecommerce is to look at who is on each side of the sale. These are the types of ecommerce you'll hear about most:

Types of ecommerce by who sells and who buys: B2C business to consumer, B2B business to business, C2C consumer to consumer, D2C direct to consumer and B2G business to government
The five types of ecommerce by who sells and who buys.
TypeWho sells and who buysExample
B2C (business to consumer)A business sells to individualsA jeweller or a sports shop with an online shop
B2B (business to business)A business sells to other businessesAn office supplies distributor with trade prices for business customers
C2C (consumer to consumer)Individuals sell to individuals, usually through a platformSecond-hand selling apps
D2C (direct to consumer)The manufacturer or brand sells directly, without distributors or shops in betweenA cosmetics brand selling on its own website
B2G or B2A (business to government)A business sells to the public sectorPublic tenders and contracts handled electronically

One business can combine several of them: many shops sell to consumers (B2C) and, with different prices and terms, to trade customers (B2B). Being clear about this from the start changes the shop you need: B2B usually calls for customer-specific prices, minimum orders, invoices with company details or a login-only area.

4. Types of ecommerce by business model

The other way to look at it is how and where you sell. These are the most common models:

  • Your own online shop: your website, your brand, your prices and your customer data. It gives you the most control and it's the basis of most of the online shops we build.
  • Marketplace: you sell inside a third-party platform that already has the traffic, such as Amazon or the big fashion platforms. In return you pay fees and compete alongside other sellers under the platform's rules.
  • Dropshipping: you sell products you don't hold in stock; when an order comes in, the supplier ships it straight to the customer. It needs little upfront investment, but your margin and control over delivery are smaller. We explain it in detail in what is dropshipping.
  • Subscription: the customer pays monthly or yearly to receive a product or use a service.
  • Digital products: courses, templates, software or ebooks that are downloaded or used online, with nothing to ship.
  • Bookings and services: trips, appointments, tickets or rentals that are booked and paid for on the website.
  • Social selling: catalogues and shops connected to Instagram, Facebook or WhatsApp, which usually send the customer to the online shop to complete the purchase.
  • Multichannel selling: a physical shop and an online shop at the same time, with shared stock, click and collect or in-store returns.

For an established business, the usual route is to start with your own online shop and add other channels, such as a marketplace or social media, once the shop is working.

5. The benefits of ecommerce

  • You sell 24 hours a day, every day, even when the shop is closed.
  • You reach further than your local area: across Gibraltar and the Campo de Gibraltar, the rest of Spain or the UK, and other countries if you prepare for it.
  • You can start with less investment than opening premises, especially with a small catalogue or with dropshipping.
  • Everything can be measured: how many visitors arrive, where from, which products they look at, how many buy and what each sale costs you.
  • You get to know your customers better and can talk to them again through emails or campaigns, always with their consent.
  • It scales: a well-built shop can go from ten orders to a hundred without needing ten times the sales staff.
  • It supports your physical shop: many customers browse online and buy in store, or the other way round.

6. The drawbacks and challenges of ecommerce

Selling online has real advantages, but it isn't easy money. These are the challenges we see most often:

  • Lots of competition: you're competing with shops across the country and with big platforms, one click away.
  • Getting visitors costs: a new shop doesn't get traffic on its own. You need SEO, advertising or social media, and that takes time or budget.
  • Delivery and returns: packing, shipping, handling issues and accepting returns all have a cost that needs to be built into the price.
  • Margins: payment fees, delivery and advertising eat into your profit if you don't work them out from the start.
  • Trust: the customer can't touch the product. Photos, descriptions, genuine reviews, visible contact details and clear terms make the difference.
  • Day-to-day work: updating the catalogue, stock and prices, answering questions and keeping the platform up to date.
  • Legal obligations: consumer information, cancellation rights, data protection and cookies.

7. Ecommerce examples: real cases

The examples that best explain what ecommerce is aren't the giants, but businesses like yours. These are some of the projects we've worked on at Duyal, with the figures we publish in each case study:

  • Algetoner (B2C and B2B, own PrestaShop shop): an office supplies and furniture business in Algeciras with more than 25,000 products from different suppliers synchronised in its online shop, through a custom-built daily sync of the catalogue and stock. See the Algetoner case study.
  • Motomóvil Náutica (B2C, own shop): a marine products shop in Algeciras that had an online shop but no orders. With Google Ads campaigns focused on sales, it got 72 purchases and a ROAS of 36.5 between June and October 2026. See the Motomóvil Náutica case study.
  • Betsi Platería (multichannel): a jeweller in La Línea that used to sell through WhatsApp and opened its online shop. With Meta Ads it got 43 purchases in 2024, worth €1,956.53, with a ROAS of 2.57. See the Betsi Platería case study.
  • Viajes Travelsur (bookings and services): sells day trips to Tangier from Tarifa on its website. In August, a search campaign with a budget of around €10 a day brought in 52 purchases, according to its case study.

All four are ecommerce, even though they sell very different things: what they have in common is that the customer chooses and pays on the website.

8. Ecommerce in figures: the UK and Spain

The latest official figures show how much shopping already happens online on both sides of the border:

  • Great Britain: according to the Office for National Statistics (ONS), online sales were 29.2% of all retail sales in October 2026 (seasonally adjusted), and online spending was 9.7% higher than in October 2025. Source: ONS, Retail sales, Great Britain: October 2026 (released 20 November 2026).
  • Spain, turnover: according to the CNMC, Spain's competition and markets authority, ecommerce turnover in Spain was €29,643 million in the first quarter of 2026, up 15.1% year on year, with more than 549 million transactions (CNMC press release, 2 October 2026).
  • Spain, shoppers: according to Spain's National Statistics Institute (INE), 65.7% of people aged 16 to 74 bought something online in the previous three months, 6.1 points more than in 2025 (ICT Household Survey 2026, published 11 November 2026).

These figures need reading carefully. The ONS figure covers retailers in Great Britain, not Gibraltar, and leaves out services such as travel. The CNMC figure, by contrast, includes services such as travel, transport and payments to public bodies, not just online shops selling goods. Even so, the message is clear: online is now a large part of how people shop, and there's room for local shops that do it well.

9. How to start selling online step by step

If you're thinking of launching your online shop, this is the order we recommend. Skipping steps is the quickest way to end up with a nice-looking shop that doesn't sell.

The 8 steps to start selling online: product and customer, sales model, the numbers, platform, catalogue and product pages, payments and delivery, legal pages, and attracting visitors with tracking
The eight steps to start selling online, in the order it makes sense to take them.
  1. Define your product and your customer. What you'll sell, to whom, why they'd buy from you and whether people are searching for it. Keyword tools and the questions customers already ask you are a good starting point.
  2. Choose your sales model: your own shop, a marketplace, dropshipping, subscriptions or a mix, and whether you'll sell to consumers, to businesses or both.
  3. Do the numbers. From the selling price, take off the cost of the product, delivery, packaging, payment fees, expected returns and what it will cost you to win each sale. If it doesn't add up on paper, it won't add up in the shop.
  4. Choose the platform to suit your catalogue and integrations (see the next section) and hosting that can keep up.
  5. Prepare your catalogue and product pages: your own photos, descriptions that answer real questions, sizes, materials, delivery times and prices including tax.
  6. Set up payments and delivery: a payment provider with the methods your customers use, clear delivery charges and areas, and a returns policy. If you sell between Gibraltar, the UK and Spain, plan currency, delivery and customs from the start.
  7. Add the legal information: who you are, terms of sale, privacy and cookie policies, and information on cancellation rights (see below).
  8. Attract visitors and measure. Work on ecommerce SEO from day one, use Google Ads or Meta Ads campaigns for your first sales, and set up conversion tracking so you know what works.

Once you're up and running, the job is to improve conversion: fewer steps at checkout, more complete product pages and more trust. We explain how in how to create an online store that converts.

10. Platforms for building your online shop

The platform is the software used to build and run the shop. These are the most common options:

PlatformHow it worksA good fit if…
WooCommerceOpen-source ecommerce plugin for WordPress, on your own hostingYou already have a WordPress website or want your shop and content in one place
PrestaShopOpen-source online shop software, on your own hostingYou have a large catalogue, several shops or languages, or need advanced selling features
ShopifyPaid platform with a monthly fee, hosting includedYou'd rather not deal with the server and accept its rules, apps and fees
Custom developmentA shop built specifically for your businessYour processes don't fit any platform or you need very specific integrations

No platform is best for everything. Before deciding, ask yourself how many products you'll have, whether you'll sync them with suppliers or your management software, how many languages you'll sell in and who will look after maintenance. In cases like Algetoner, with thousands of supplier products, the key wasn't just the platform but the integration that keeps the catalogue up to date.

Selling online to consumers means following several sets of rules. The main ones depend on where you're based and who you sell to:

If you sell from Gibraltar

  • Information about who you are. The Electronic Commerce Act 2001 (section 3) requires your name, address and email, among other details, to be easy to find.
  • Information before the order and cancellation rights. The Consumer Rights on Contracts Regulations 2013 (amended with effect from 15 July 2026) require you to give the information in Schedule 2 before the consumer is bound (regulation 9), and let consumers cancel most distance contracts within 14 days without giving a reason (regulations 16 and 17); for goods, the period runs from the day they receive them.
  • Data protection and cookies: a privacy policy under the Gibraltar GDPR and the Data Protection Act 2004, and consent before setting non-essential cookies, as explained in the Gibraltar Regulatory Authority's guidance.

If you sell to customers in the UK or Spain

  • UK: the Consumer Contracts (Information, Cancellation and Additional Charges) Regulations 2013 set out the information to give before the order (regulation 13) and a 14-day cancellation period (regulation 30); the UK GDPR and PECR cover data and cookies.
  • Spain: Spain's consumer law gives a 14-calendar-day right of withdrawal and requires clear information before purchase, including the total price with taxes and delivery costs.
  • Goods crossing the border: on 15 July 2026 the EU–UK Agreement in respect of Gibraltar entered into provisional application, according to the European Commission, and it changes how goods move between Gibraltar and the EU. Confirm customs and tax for your products with your adviser before setting up delivery.

This guide is for general information only. For your own case, especially if you sell abroad or sell products with their own regulations, check with an adviser.

12. Common mistakes when starting an online shop

  • Opening the shop without doing the numbers and finding out later that delivery and advertising eat the margin.
  • Assuming visitors will turn up just because the shop is live.
  • Thin product pages: one photo, two lines copied from the manufacturer and no delivery information.
  • A long checkout full of obstacles, with compulsory registration or costs that only appear at the end.
  • Only checking the shop on a computer, when many customers will browse, search and pay on their phones.
  • Not tracking conversions and not knowing which campaign or page brings in sales.
  • Forgetting the legal pages or copying them from another shop.
  • Choosing a platform because it's fashionable rather than for the catalogue and integrations you need.
  • Leaving the shop without maintenance: plugins not updated, backups never tested and faults nobody notices.

Related services for your online shop

If you're going to open an online shop or want the one you have to sell more, these services may suit you.

Online shops

WooCommerce and PrestaShop shops built to sell, easy to manage and ready to grow. Learn more →

Google Ads

Sales-focused campaigns with conversion and return tracking. Learn more →

Maintenance and support

Updates, backups and monitoring to keep your shop selling. Learn more →

Conclusion

Ecommerce is, at heart, selling online: the customer chooses, orders and pays online, whether in your own shop, on a marketplace or through a booking website. There are several types depending on who sells and who buys, and several models depending on how you sell, but what separates a shop that sells from one that doesn't is almost always the same: a product people want, numbers that add up, the right platform, product pages that convince, clear terms and a plan to attract visitors and measure results. At Duyal, from Algeciras, we build online shops for businesses in Gibraltar and the Campo de Gibraltar, in English and Spanish: see our ecommerce websites in Gibraltar page or tell us about your project.

Tell us about your online shop

Frequently asked questions

What is ecommerce in simple terms?

Ecommerce, or electronic commerce, is buying and selling products or services over the internet. What defines it is that the order is placed online, in an online shop, a marketplace or an app; payment and delivery can happen online or offline.

What are the main types of ecommerce?

By who sells and who buys, the main types are B2C (business to consumer), B2B (business to business), C2C (consumer to consumer), D2C (the brand sells directly to the consumer) and B2G (business to government). By business model, you'll hear about your own online shop, marketplaces, dropshipping, subscriptions, digital products and online bookings.

Is ecommerce the same as an online shop?

Not quite. Ecommerce is the activity of selling online; an online shop is one of the tools for doing it, and the most common one when a business wants to sell under its own brand. You can also do ecommerce on marketplaces, on social media or through a booking system.

What do I need to start an ecommerce business?

A product or service people want, a sales model, numbers that still work after delivery, fees and advertising, a platform (such as WooCommerce, PrestaShop or Shopify), complete product pages, a payment provider, a delivery set-up, the legal information the law requires and a plan to attract visitors and measure sales.

Which platform is best for an online shop?

It depends on your catalogue and what you want to do. WooCommerce suits you if you already have a WordPress website or want your shop and content in one place; PrestaShop, if you have a large catalogue or need advanced selling features; Shopify, if you'd rather pay a monthly fee and not deal with the server. Before choosing, think about how many products you'll have, the integrations you need and who will maintain it.

How long do customers have to cancel an online order in Gibraltar and the UK?

As a general rule, 14 days. In Gibraltar, the Consumer Rights on Contracts Regulations 2013 let consumers cancel most distance contracts within 14 days without giving a reason; for goods, the period runs from the day they receive them. In the UK, the Consumer Contracts (Information, Cancellation and Additional Charges) Regulations 2013 set the same 14-day period. In Spain it's 14 calendar days. There are exceptions, such as personalised goods. This guide is for general information: check your own case with an adviser.

◉