Content
How to add eCommerce to your Website
Time to read: 11 minutes
You can add ecommerce to an existing website in five ways: install an ecommerce plugin on your CMS, run a separate shop in the same design, build cart and payment features into the site, embed buy buttons or a cart from a hosted service, or sell through social networks. The right way depends on three questions: how many products you sell and which systems the shop must connect to, what your site is built on, and whether you can add code to its pages. If you sell many products or need integrations with ERP, stock or customer-specific prices, a full ecommerce platform such as Shopware or Magento is usually the better choice.
Retail is a profitable business, and many of our clients ask: "How do I add ecommerce to my website?" We usually offer two options: add ecommerce features to the existing website, or develop a dedicated online shop with Magento, Shopware or another platform.
In this article, you will learn five simple ways to add ecommerce to your company's website. Every business is different, and you may find that you need features available only on specialised ecommerce platforms, so we also briefly cover those. Finally, we review five services that help you receive orders and sell from your current website.
Which way fits your website
| Way | Fits when | Watch out for | Examples |
|---|---|---|---|
| 1. Plugin on your CMS | Your site runs on a CMS such as WordPress, and you sell a modest catalogue | Plugin and CMS updates must stay compatible; performance under load | WooCommerce, Ecwid plugin for WordPress |
| 2. Separate shop in the same design | Your site cannot run a plugin or take code snippets | Two systems to maintain; navigation between them must feel seamless | Hosted shop on a subdomain |
| 3. Cart and payment features built into the site | Your site is custom-built and you have developers | You own the code, the security and the payment integration | Payment provider such as PayPal or Stripe plus a custom cart |
| 4. Buy buttons or an embedded cart | You sell a few products and can paste code into pages | Fees per plan or per transaction; limited catalogue and checkout control | Shopify Buy Button, Snipcart, Shoprocket, Ecwid, Foxy, RomanCart |
| 5. Social selling | Your customers find you on Facebook or Instagram | Checkout still happens on your website | Shops on Facebook and Instagram |
| Full ecommerce platform | Large catalogue, integrations (ERP, stock, customer-specific prices), custom features | Higher set-up cost; needs a development team | Shopware, Magento |
Before you choose, write down five things: how many products you will sell, which countries and currencies you sell in, which payment methods your customers expect, which systems the shop must exchange data with (stock, accounting, ERP, delivery), and who will maintain the shop after launch. These answers usually decide the route for you.
Top five ways to add eCommerce to any website
Retailers that want to keep their existing website are usually looking for solutions that save money and time. A custom ecommerce build can be expensive, especially with custom features and design. Below is how to add ecommerce to your website with each of the five ways.
1. Integrate eCommerce into your existing site using plug-ins
If your business website runs on a CMS such as WordPress or Joomla, you can add an ecommerce plugin to it, configure it and sell from your main website. For WordPress, WooCommerce is the best-known option: WooCommerce describes itself as open source, it is free to download, and it is "powered by WordPress". Ecwid offers an official WordPress plugin as well.
To use this approach, keep your website software up to date, and check that the ecommerce plugin supports your CMS version before every update. Our guide on how to build an ecommerce website using WordPress covers this route in detail.
2. Tag on separate solutions to your business website for online sales
This is the best option if your business website software has no suitable ecommerce extension or cannot be updated. You develop a separate online shop with the same design as your main website, often on a subdomain. With the same design, header and navigation, users feel that they are still on the same website, even though the two sites run on different platforms.
The same principle, a shop on a separate platform connected to your main system, scales up. For SanMar, we built a website builder on WordPress and WooCommerce for its distribution partners: orders placed on a partner's microsite are routed automatically to SanMar's central B2B panel, and an event-driven integration with SanMar's existing Magento B2B system keeps product updates, inventory and pricing in sync. Read the B2B2C website builder case.
3. Add eCommerce features to your existing website
If your site is custom-built and you have developers, you can add ecommerce features such as a shopping cart and a payment gateway directly to it. Choose a payment provider that supports your countries, currencies and the payment methods your customers expect, for example PayPal or Stripe. With this approach, you control the whole buying journey, but you are also responsible for the code, its security and keeping the payment integration up to date. Our article on how to build a successful retail website explains what such a site needs.
4. Use the Shopify Buy Button
With this method, you can add basic ecommerce features to almost any website where you can paste code, such as a:
- WordPress website
- Squarespace website
- Self-hosted website
- Blog
Shopify says that "Buy Buttons help you add your products to your external website and blog posts", and that "The Buy Button sales channel is included in all Shopify subscription plans" (Shopify Help Center, checked on 18 November 2026). You also need a supported payment gateway. Plan prices differ by country, so check Shopify's pricing page for yours.
How does it work? In short:
- Install the Buy Button sales channel from the Shopify App Store.
- Add the products you want to sell, and create a Buy Button for a product or a collection.
- Customise the button's layout and colours to match your website.
- Copy the generated embed code and paste it into the HTML of the page or post where the button should appear.
The button works on smartphones, tablets and computers. If you plan to sell more than one item, let the button add products to a cart rather than opening checkout straight away, so customers can buy several products in one order.
5. Set up Facebook eCommerce
If your customers find you on social networks, you can show your products there too. Facebook and Instagram let businesses set up Shops through Meta's Commerce Manager.
Plan this as an extra sales channel, not as a replacement for a shop: Meta's developer documentation for Shops states that "the checkout process takes place on your own website" (checked on 18 November 2026). You give Meta a checkout URL that can receive the products and quantities from a shopper's cart, validate it in Commerce Manager, and Meta periodically reviews your website's checkout experience. In practice, this means you first need one of the other four ways, or a full shop, to take the payment.
How to Add Ecommerce to Your Website with Magento
If you have only a few products and the online shop is an additional option for your customers, adding ecommerce to the existing website is often enough. However, this option can lack flexibility and functionality, and you mostly work with ready-made solutions instead of adapting them to your needs. When the shop becomes a main sales channel, consider a full ecommerce platform such as Shopware or Magento, whose features will not limit your business.
A full platform also makes sense when the existing site cannot carry the load. Kontakt Home, a European online distributor of consumer electronics and household appliances, had a previous site on WordPress that could not handle a peak load of 7,500+ requests per second. We built a new Magento 2 store integrated with the client's existing system, with a custom CMS frontend built with React and Magento as the API. See the Kontakt Home case.
Shopware
Like Magento, Shopware is available as open-source software and in commercial editions. Shopware's pricing page lists a free Community Edition ("Community Edition's open-source core has no license fee") and the paid plans Rise, Evolve and Beyond. Hosting, implementation and maintenance are paid separately, and above a certain sales volume Shopware's fair usage policy requires a paid plan.
Shopware's pricing page lists Shopping Experiences together with a visual page builder, so you can design your shop's pages with images, banners and other content as individually as you like.
We recommend Shopware to small and medium-sized businesses that need a flexible and robust ecommerce solution. You can read about our Shopware partnership and our Shopware development work.
Magento
Magento is also open-source software with a commercial version: Magento Open Source is the code base, and Adobe Commerce is Adobe's commercial platform built on it. You can count on Dinarys Magento experts for installation, questions and requests.
Magento offers many templates and extensions. Like Shopware, Magento 2 has its own API, so both systems can connect to the other systems your business uses, such as ERP, PIM or delivery services.
Magento has a clean front end and back end, but some settings are not immediately obvious, so working with it requires training. You can manage product, customer and transaction data as well as content in it. For more elaborate or complex changes to your shop, you will need developers.
Read also:
Top five solutions to add eCommerce to any website
Now let's look at services that help you add ecommerce to your existing website without moving it to a new platform. Compare them on four points: how they embed in your site, how they charge, which payment providers they support and how many products they allow. Prices below are as shown on each vendor's pricing page on 18 November 2026; check them again before you decide.
| Service | How it embeds | How it charges |
|---|---|---|
| Snipcart | Code added to your site's HTML | 2% per transaction plus payment gateway fees; under $1,000 USD monthly sales, a $20 USD monthly fee instead |
| Shoprocket | Embed snippet; integrations for WordPress, Squarespace, Webflow and other builders | Free plan; paid plans from $29 per month billed monthly; 0% transaction fees |
| Ecwid | Official WordPress plugin, or a code snippet for other site builders | Monthly plans; the Starter plan allows up to 10 products |
| RomanCart | "Add To Basket" and "Buy Now" buttons pasted into your pages | Free sign-up; paid upgrades |
| Foxy | Cart and checkout added to any website or platform | Plans from $30 per month billed annually, with transaction fees |
SnipCart
Snipcart adds a cart and checkout to your existing website through code in your pages, so it suits sites built by developers. Its pricing page lists a fee of "2 % / transactions" plus payment gateway fees, and states: "For clients with monthly sales under $1000 USD, the 2% will be replaced by a $20 USD monthly fee." Charges are in USD. The plan includes six payment gateways, a custom payment gateway option and PayPal Express Checkout.
Shoprocket
Shoprocket lets you configure your store in its dashboard and then copy an embed snippet into your page. Its pricing page says you can "Add ecommerce to any website in minutes", lists integrations for WordPress, Squarespace, Webflow, Framer, Ghost and Carrd, and states that "All plans include 0% transaction fees" (your payment provider still charges its own fees). It has a Free plan, and paid plans start with Starter at $29 per month billed monthly, or $290 per year billed yearly, with unlimited products.
Ecwid
Ecwid is a good fit if your site runs on WordPress or a website builder. Ecwid says it "integrates natively with your existing WordPress site using official plugin, zero coding required", and that for sites built with another site builder you "paste one simple code snippet". Its automated emails include cart abandonment reminders, which help you bring back shoppers who left products in their cart. Ecwid's pricing page lists monthly plans from Starter, which allows up to 10 products; it does not list a permanent free plan.
RomanCart
RomanCart is a hosted shopping cart for existing websites. Its home page says you can "Paste Shopping Cart 'Add To Basket' and 'Buy Now' Buttons onto your Existing Website, Twitter, Facebook, Insta or Anywhere!" Sign-up is free; check its upgrades page for the paid options you need.
FoxyCart
Foxy (formerly FoxyCart) adds a cart and checkout to your existing site: its pricing page says "Integrate Foxy with any website or platform" and mentions "dozens of gateway integrations" for card payments. Plans start with Starter at $30 per month billed annually, which includes a number of transactions per month, with a fee for additional transactions. Gateway and processor fees are separate. For more information, visit the Foxy website.
How to add eCommerce to your website: conclusion
You can start selling online without spending a large amount of money. If your website suits you, use one of the five ways above to turn it into an ecommerce website: a plugin if your CMS supports one, custom cart features if you have developers, buy buttons or an embedded cart if you sell a few products, a separate shop if your site cannot be changed, and social selling on top of any of them. When your catalogue, integrations or traffic grow beyond what these tools handle, move to a full ecommerce platform.
If none of these options suits your business, don't worry. You can always contact Dinarys for a consultation, and we will help you find the solution that meets your business goals.
Let professionals meet your challenge
Our certified specialists will find the most optimal solution for your business.