7 个可用于自建电商站点的开源解决方案
电子商务
在[之前的文章](https://itsfoss.com/open-source-cms/)中，我介绍过一些开源<ruby> 内容管理系统 <rt>  Content Management System </rt></ruby>（CMS），顾名思义，这些 CMS 平台更适用于以内容为主的站点。


那如果想要建立自己的线上购物站点呢？我们正好还有一些优秀的开源电商解决方案，可以自行部署在自己的 Linux 服务器上。


这些电商解决方案是专为搭建线上购物站点设计的，因此都集成了库存管理、商品列表、购物车、下单、愿望清单以及支付这些必需的基础功能。


但请注意，这篇文章并不会进行深入介绍。因此，我建议最好广泛试用其中的多个产品，以便进一步的了解和比较。


### 优秀的开源电商解决方案


![](/data/attachment/album/202002/12/131426v66fi476g3j4kkfr.png)


开源电商解决方案种类繁多，一些缺乏维护的都会被我们忽略掉，以免搭建出来的站点因维护不及时而受到影响。


另外，以下的列表排名不分先后。


#### 1、nopCommerce


![](/data/attachment/album/202002/12/131427w1t31h3hcdhatd7k.png)


nopCommerce 是基于 [ASP.NET Core](https://en.wikipedia.org/wiki/ASP.NET_Core) 的自由开源的电商解决方案。如果你要找的是基于 PHP 的解决方案，可以跳过这一节了。


nopCommerce 的管理面板界面具有简洁易用的特点，如果你还使用过 OpenCart，就可能会感到似曾相识（我不是在抱怨）。在默认情况下，它就已经自带了很多基本的功能，同时还为移动端用户提供了响应式的设计。


你可以在其[官方商店](https://www.nopcommerce.com/marketplace)中获取到一些兼容的界面主题和应用扩展，还可以选择付费的支持服务。


在开始使用前，你可以从 nopCommerce 的[官方网站](https://www.nopcommerce.com/download-nopcommerce)下载源代码包，然后进行自定义配置和部署；也可以直接下载完整的软件包快速安装到 web 服务器上。详细信息可以查阅 nopCommerce 的 [GitHub 页面](https://github.com/nopSolutions/nopCommerce)或官方网站。


* [nopCommerce](https://www.nopcommerce.com/)


#### 2、OpenCart


![](/data/attachment/album/202002/12/131429bj35lg57jcd1f1fl.jpg)


OpenCart 是一个基于 PHP 的非常流行的电商解决方案，就我个人而言，我曾为一个项目用过它，并且体验非常好，如果不是最好的话。


或许你会觉得它维护得不是很频繁，但实际上使用 OpenCart 的开发者并不在少数。你可以获得许多受支持的扩展并将它们的功能加入到 OpenCart 中。


OpenCart 不一定是适合所有人的“现代”电商解决方案，但如果你需要的只是一个基于 PHP 的开源解决方案，OpenCart 是个值得一试的选择。在大多数具有一键式应用程序安装支持的网络托管平台中，应该可以安装 OpenCart。想要了解更多，可以查阅 OpenCart 的官方网站或 [GitHub 页面](https://github.com/opencart/opencart)。


* [OpenCart](https://www.opencart.com/)


#### 3、PrestaShop


![](/data/attachment/album/202002/12/131431oxtwcfmc7mrkoici.jpg)


PrestaShop 也是一个可以尝试的开源电商解决方案。


PrestaShop 是一个积极维护下的开源解决方案，它的官方商店中也有额外提供主题和扩展。与 OpenCart 不同，在托管服务平台上，你可能找不到一键安装的 PrestaShop。但不需要担心，从官方网站下载下来之后，它的部署过程也并不复杂。如果你需要帮助，也可以参考 PrestaShop 的[安装指南](http://doc.prestashop.com/display/PS17/Installing+PrestaShop)。


PrestaShop 的特点就是配置丰富和易于使用，我发现很多其它用户也在用它，你也不妨试用一下。


你也可以在 PrestaShop 的 [GitHub 页面](https://github.com/PrestaShop/PrestaShop)查阅到更多相关内容。


* [PrestaShop](https://www.prestashop.com/en)


#### 4、WooCommerce


![](/data/attachment/album/202002/12/131432elozblgw8jtbbnbh.jpg)


如果你想用 [WordPress](https://wordpress.org/) 来搭建电商站点，不妨使用 WooCommerce。


从技术上来说，这种方式其实是搭建一个 WordPress 应用，然后把 WooCommerce 作为一个插件或扩展以实现电商站点所需要的功能。很多 web 开发者都知道如何使用 WordPress，因此 WooCommerce 的学习成本不会很高。


WordPress 作为目前最好的开源站点项目之一，对大部分人来说都不会有太高的门槛。它具有易用、稳定的特点，同时还支持大量的扩展插件。


WooCommerce 的灵活性也是一大亮点，在它的线上商店提供了许多设计和扩展可供选择。你也可以到它的 [GitHub 页面](https://github.com/woocommerce/woocommerce)查看相关介绍。


* [WooCommerce](https://woocommerce.com/)


#### 5、Zen Cart


![](/data/attachment/album/202002/12/131433xzzo1waeao38wb51.jpg)


这或许是一个稍显古老的电商解决方案，但同时也是最好的开源解决方案之一。如果你喜欢老式风格的模板（主要基于 HTML），而且只需要一些基础性的扩展，那你也可以尝试使用 Zen Cart。


就我个人而言，我不建议把 Zen Cart 用在一个新项目当中。但考虑到它仍然是一个活跃更新中的解决方案，如果你喜欢的话，也不妨用它来进行试验。


你也可以在 [SourceForge](https://sourceforge.net/projects/zencart/) 找到 Zen Cart 这个项目。


* [Zen Cart](https://www.zen-cart.com/)


#### 6、Magento


![Image Credits: Magestore](/data/attachment/album/202002/12/131436dvfhiq0wkfiz0h0g.jpg)


Magento 是 Abode 旗下的开源电商解决方案，从某种角度来说，可能比 WordPress 表现得更为优秀。


Magento 完全是作为电商应用程序而生的，因此你会发现它的很多基础功能都非常好用，甚至还提供了高级的定制。


但如果你使用的是 Magento 的开源版，可能会接触不到托管版的一些高级功能，两个版本的差异，可以在[官方文档](https://magento.com/compare-open-source-and-magento-commerce)中查看到。如果你使用托管版，还可以选择相关的托管支持服务。


想要了解更多，可以查看 Magento 的 [GitHub 页面](https://github.com/magento)。


* [Magento](https://magento.com/)


#### 7、Drupal


![Drupal](/data/attachment/album/202002/12/131437lk5a6q1v8qoqhwu7.png)


Drupal 是一个适用于创建电商站点的开源 CMS 解决方案。


我没有使用过 Drupal，因此我不太确定它用起来是否足够灵活。但从它的官方网站上来看，它提供的扩展模块和主题列表，足以让你轻松完成一个电商站点需要做的任何事情。


跟 WordPress 类似，Drupal 在服务器上的部署并不复杂，不妨看看它的使用效果。在它的[下载页面](https://www.drupal.org/project/drupal)可以查看这个项目以及下载最新的版本。


* [Drupal](https://www.drupal.org/industries/ecommerce)


#### 8、Odoo eCommerce


![Odoo Ecommerce Platform](/data/attachment/album/202002/12/131440sr840hkxhz8huhr4.jpg)


如果你还不知道，Odoo 提供了一套开源商务应用程序。他们还提供了[开源会计软件](https://itsfoss.com/open-source-accounting-software/)和 CRM 解决方案，我们将会在单独的列表中进行介绍。


对于电子商务门户，你可以根据需要使用其在线拖放生成器自定义网站。你也可以推广该网站。除了简单的主题安装和自定义选项之外，你还可以利用 HTML/CSS 在一定程度上手动自定义外观。


你也可以查看其 [GitHub](https://github.com/odoo/odoo) 页面以进一步了解它。


* [Odoo eCommerce](https://www.odoo.com/page/open-source-ecommerce)


### 总结


我敢肯定还有更多的开源电子商务平台，但是，我现在还没有遇到比我上面列出的更好的东西。


如果你还有其它值得一提的产品，可以在评论区发表。也欢迎在评论区分享你对开源电商解决方案的经验和想法。




---


via: <https://itsfoss.com/open-source-ecommerce/>


作者：[Ankush Das](https://itsfoss.com/author/ankush/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[HankChow](https://github.com/HankChow) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
In an earlier article, I listed some of the [best open-source CMS](https://itsfoss.com/open-source-cms/) options available out there. These CMS software, as the name suggests, are more suitable for content focused websites.

But what if you want to build your own online shopping website? Thankfully, we have some good open source eCommerce solutions that you can deploy on your own Linux server.

These eCommerce software are tailored for the sole purpose of giving you a shopping website. So they have essential features like inventory management, product listings, cart, checkout, wishlisting and option to integrate a payment solution.

*Please note that this is not an in-depth review article. So, I insist that you should try the platforms mentioned in this list to know more about them.*

## Best Open Source eCommerce Platforms

![Open Source Ecommerce](https://itsfoss.com/content/images/wordpress/2020/02/open-source-eCommerce.png)

There are many open source eCommerce software available. I have filtered the ones which are actively maintained so that your shopping website doesn’t suffer because of obsolete or unmaintained software stack.

*It is also worth noting that the list here is in no particular order of ranking. *

### 1. nopCommerce

![Nopcommerce](https://itsfoss.com/content/images/wordpress/2020/01/nopCommerce.png)

nopCommerce is a free and open-source eCommerce platform based on [ASP.NET Core](https://en.wikipedia.org/wiki/ASP.NET_Core). If you were looking for a PHP-based solution – you can skip to the next option on the list.

The user interface of its admin panel is clean and easy to use. If you’ve used OpenCart – you might feel the similarity (but I’m not complaining). By default, it has got all the essential features while offering a responsive design for mobile users as well.

You get access to an [official marketplace](https://www.nopcommerce.com/marketplace) where you can get supported themes and extensions. You can opt for premium support or manage it yourself for free.

To get started, you can download the package with its source code from its [official download page](https://www.nopcommerce.com/download-nopcommerce) if you want to customize it and deploy it. In either case, you can also download the complete package to get it installed on a web server quickly. You can check out their [GitHub page](https://github.com/nopSolutions/nopCommerce) and the official website to learn more.

### 2. OpenCart

![Opencart](https://itsfoss.com/content/images/wordpress/2020/01/opencart.jpg)

OpenCart is a quite popular PHP-based eCommerce platform. Personally, I’ve worked on it for a project and the experience was good enough – if not excellent.

You may find it that it isn’t super actively maintained – but it’s still there and being utilized by a lot of web developers. You get support for a lot of extensions while having most of the essential features baked right into it.

For some, it may not be the best “modern” eCommerce platform but if you want a good open-source PHP-based alternative, it is worth a try. In most of the web hosting platforms with one-click app installation support, OpenCart should be available to setup. To learn more about it, you can head to its official website and check out the [GitHub page](https://github.com/opencart/opencart).

### 3. PrestaShop

![Prestashop](https://itsfoss.com/content/images/wordpress/2020/01/prestashop.jpg)

PrestaShop is yet another open-source eCommerce platform that you can utilize.

An actively maintained open-source solution with an official marketplace for [themes](https://addons.prestashop.com/en/3-templates-prestashop) and [extensions](https://addons.prestashop.com/en/). Unlike OpenCart, you may not find it available as a one-click app on hosting services – but you can download it from its official website and it is quite easy to set it up. You can also refer to their [installation guide](http://doc.prestashop.com/display/PS17/Installing+PrestaShop) if you need help.

It features a lot of options while being easy to use at the same time. I find a lot of users trying out PrestaShop – you should take a look as well!

You can also take a look at their [GitHub page](https://github.com/PrestaShop/PrestaShop) to learn more.

### 4. WooCommerce

![Woocommerce](https://itsfoss.com/content/images/wordpress/2020/01/woocommerce.jpg)

If you want to utilize [WordPress](https://wordpress.org/) for your eCommerce website, WooCommerce will help you out.

Technically, you’re using WordPress as the platform and WooCommerce as a plugin/extension to enable the features needed for an eCommerce website. Potentially, a lot of people (web devs) know how to use WordPress – so it will be easier to learn/create using WooCommerce, I think.

You shouldn’t have a problem using WordPress, being one of the [best open source website builder](https://itsfoss.com/open-source-cms/) out there. It’s easy to use, reliable and supports a ton of extensions and integrations for your online store.

The best part about using WooCommerce is its flexibility. You get tons of choices for the design and extensions of your online store. It’s worth checking out! You can also head to its [GitHub page](https://github.com/woocommerce/woocommerce).

### 5. Zen Cart

![Zen Cart](https://itsfoss.com/content/images/wordpress/2020/01/Zen-cart.jpg)

This may not be a modern eCommerce platform but one of the best open-source solutions. If you’re a fan of old school templates (HTML-based primarily) and do not need a whole lot of extensions but just the basics, you can try it out.

Personally, I wouldn’t recommend this for a new project – but just because it is still an active platform, feel free to experiment on it if you like it.

You can find the project on [SourceForge](https://sourceforge.net/projects/zencart/) as well.

### 6. Magento

![Magento](https://itsfoss.com/content/images/wordpress/2020/01/magento.jpg)

An Adobe-owned open-source eCommerce platform that is potentially better than WordPress (depending on your preferences obviously).

Magento is completely tailored for e-commerce applications – so you will find a lot of essential features easy to use while offering advanced customizations as well.

However, when utilizing the open-source edition, you might miss some of the features available in their hosted offering. You can refer to their [comparison guide](https://magento.com/compare-open-source-and-magento-commerce) for details. Of course, you can self-host it but if you want a managed hosting support, that’s available as well.

You can also take a look at their [GitHub page ](https://github.com/magento)to learn more.

### 7. Drupal

![Drupal](https://itsfoss.com/content/images/wordpress/2020/01/drupal.png)

Drupal is another open-source CMS platform that is suitable for creating an eCommerce website.

I’ve never used it – so I’m not really sure of its flexibility but looking at its list of modules (Extensions) and themes available on its official site, it looks like you can do almost everything you need for an eCommerce platform easily.

You should be able to install it easily on any web server just like you install WordPress – so give it a try and see how it goes. You can even download the latest releases and check out the project on their [download page](https://www.drupal.org/project/drupal).

### 8. Odoo eCommerce

![Odoo Ecommerce Platform](https://itsfoss.com/content/images/wordpress/2020/02/odoo-ecommerce-platform.jpg)

In case you didn’t know, Odoo offers a suite of open source business apps. They also offer [open source accounting software](https://itsfoss.com/open-source-accounting-software/) and CRM solutions that we’ve covered in a separate list.

For the eCommerce portal, you can utilize its online drag and drop builder to customize your site as per your requirements. You also have options to promote the website. In addition to the easy theme installation and customization options, you get to utilize HTML/CSS to manually customize the look and feel to some extent.

You may also check out its [GitHub page](https://github.com/odoo/odoo) to explore more about it.

### 9. Bagisto

![Bagisto Open Source Ecommerce](https://itsfoss.com/content/images/wordpress/2020/07/bagisto-open-source-ecommerce.png)

Bagisto is an interesting open-source eCommerce framework built on top of [Laravel](https://laravel.com/).

It offers a clean user experience and offers a lot of options baked right in without needing any extensions. Of course, to extend the functionality of your site, you can explore its [extension marketplace](https://bagisto.com/en/extensions/).

They do offer a demo experience through their [official website](https://bagisto.com/en) if you’re looking to see what it offers. I really liked the user experience of the admin panel and the front-end as well. In my case, I couldn’t find any options to easily change the design (or applying a new theme). So, I’d advise you to look around thoroughly in their demo instance to see if it fits your requirements.

You may head to their [GitHub page](https://github.com/bagisto/bagisto) and refer to the [official documentation](https://devdocs.bagisto.com/) before getting started.

**Wrapping Up**

And since you are working on your e-Commerce site, it will be a good idea to have an [open source community forum software](https://itsfoss.com/open-source-forum-software/) to support the customers.

I’m sure there are a few more open-source eCommerce platforms out there – however, I haven’t come across anything that’s better than what I’ve listed above (yet).

If you think that I missed one of your favorites that deserves a mention, let me know in the comments. Also, feel free to share your experience and thoughts about the open-source eCommcerce platforms available in the comments section below.