哪些 PHP 开源购物车解决方案具有使我作为 Web 开发人员受益的功能?
每个平台都有数百种购物车解决方案可用,并且所有托管计划都已安装了一些。 作为一名开发人员,我知道从用户的角度来看,其中大多数都非常相似。
但哪些是在开发人员的考虑下构建的呢? 例如,哪些具有不错的 API,以便我的自定义代码不会与核心代码混合在一起,或者哪些具有经过深思熟虑的模板系统,以便我可以轻松地为每个新客户自定义它?
There are hundreds of shopping cart solutions available for every platform, and all hosting plans come with several already installed. As a developer I understand that most of these are fairly similar from a user perspective.
But which ones are built with the developer in mind? For example, which ones have a decent API so that my custom code doesn't get mingled with the core code or which ones have a well thought through template system so that I can easily customize it for each new client?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(11)
osCommerce 似乎非常受欢迎,并将易于集成作为其主要功能之一。
osCommerce seems to be pretty popular, and advertises ease of integration as one of it's main features.
我赞同 Magento 的建议。 它具有现代代码库,并且在设计时考虑到了可扩展性。 它还具有从一开始就设计的多站点、多语言功能。 它是开源的并且背后似乎有一个训练有素的开发团队(具有类似 MySQL AB 的商业模式)。
I would second the Magento suggestion. It has a modern code base and is designed with extensibility in mind. It also has multi-site, multi-language capabilities engineered in from the start. It's open source and seems to have a disciplined development team (with a MySQL AB -like business model) behind it .
我认为 Megento 是最好的,但它有很长的裂缝列表,并且维护了更多的表,这有时会产生问题。 如果你必须创建非常大的商店,必须使用megento,除非使用zen-cart。 我几乎用过所有的购物车,但我的第一个首选是用于大型网站的 megento 和用于所有类型商店的 zen-cart。
I think Megento is the best but it has very long list of fratures and matains many more tables which is some times creating problem. If you have to create very large shop must use megento unless use zen-cart. I have used almost all shopping cart but my first prefreance is megento for large site and zen-cart for alltype of shops.
prestashop 怎么样? 它基于Smarty,有详细的说明 关于如何编写模块。
What about prestashop ? It's based on Smarty and there's a detail explanation on how to write a module.
ZenCart 怎么样? 它是开源的,因此您可以直接阅读和修改源代码。
还有一个不错的模板系统。
How about ZenCart? It's open source so you can read and modify the source directly.
There's also a decent template system.
osCommerce 是从一开始就设计得很糟糕的产品之一,随着时间的推移,它基本上变得无法维护。 插件是补丁,自定义代码修改核心。 (除非自从我上次查看以来事情发生了巨大变化 - 从版本号来看,它们没有)。
虽然 Drupal 的水平可能比您所要求的要高一些,但它是一个非常有吸引力的平台。 它的基础是一个 CMS,并使用 电子商务 或 Ubercart 你可以把它变成一家商店。 使用 CCK 和 Views 您只需很少的编码即可构建非常复杂的电子商务网站(专业产品类型、属性),此外您还可以免费获得所有 CMS 工具(编辑、访问控制等)。 如果您编写自己的模块,则可以连接到 Drupal 中的几乎任何内容,而无需触及核心代码,并且您可以获得很大的灵活性。
尽管许多开发人员可能不会考虑它,只是因为他们坚持认为应该从头开始编写一些东西,但 Drupal 对于此类事情来说确实是一个很棒的开发平台。 它肯定有一个学习曲线,特别是当您需要为其编写模块时,但学习和实现一个网站所需的时间仍然可能比从头开始编写一个非常定制的电子商务网站要少。
osCommerce is one of those products that was badly designed from the beginning, and becomes basically unmaintainable as time moves forward. Addons are patches, and custom code modifies core. (Unless things have drastically changed since I last looked at it - judging by the version numbers, they have not).
While probably at a bit higher level than you seem to be asking, Drupal is a very attractive platform. It is a CMS at its base, and using ecommerce or Ubercart you can turn it into a store. With modules like CCK and Views you can build very sophisticated ecommerce sites (specialized product types, attributes) with very little coding, plus you get all the CMS tools (editing, access control, etc) for free. If you write your own modules, you can hook into almost anything in Drupal without touching the core code, and you get a ton of flexibility.
Though a lot of developers may not consider it simply because they're stuck in this view that they should write something from scratch, Drupal is a really great development platform for this sort of thing. There is definitely a learning curve to it, especially when you need to write modules for it, but the time it takes to learn and implement a site is still probably less than writing a very customized ecommerce site from scratch.
Magento 将是一个不错的选择。 它基于 Zend Framework,具有大规模开放性和可定制性。 真正的程序员(而不是设计师/开发人员)可以真正使用的东西。
Magento would be a good choice. It is based on the Zend Framework and is massively open and customizable. Something a real programmer (as opposed to a designer/developer) could really work with.
Magento 非常好,而且非常强大,但是掌握如何扩展/替换东西是相当棘手的。 代码库非常灵活,几乎任何东西都可以被替换或扩展,但是关于如何去做的文档很少。
有很多第三方插件,适用于不同的支付提供商和其他东西,内置的下载管理器可以很好地处理这些插件的安装以及核心代码的升级。
不过,与 OSCommerce 之类的东西相比,它毫无疑问胜出。
Magento is pretty good, and really powerful, but getting to grips with how to go about extending/replacing things is pretty tricky. The codebase is massively flexible, and just about anything can be replaced or extended, but there's very little documentation on how to go about doing it.
There are plenty of 3rd-party addons, for different payment-providers and other things, and the built-in download-manager handles the installation of these, as well as upgrades to the core code, really well.
Compared to something like OSCommerce though, it wins hands down.
我刚刚发现了 opencart ,到目前为止我对它印象深刻。
I've just discovered opencart which so far I am impressed with.
Moltin 是为开发人员而构建的,纯粹是一个 API。 您可以选择要与您拥有的任何前端集成的 API 部分。 如果您想使用它,您还可以获得一个仪表板来管理您的商店。
Moltin is built with developers in mind and is purely an API. You can choose the parts of the API you want to integrate with whatever frontend you have. You also get a dashboard to manage your store if you want to use it.
这是对购物车的一个很好的评论:
http://php.opensourcecms.com/scripts/show。 php?catid=3&cat=eCommerce
虽然投票似乎并没有反映很多用户的反馈,所以我建议阅读评论以找出每个的优缺点
Here is a good review of carts:
http://php.opensourcecms.com/scripts/show.php?catid=3&cat=eCommerce
Although the voting doesn't seem to reflect a lot of the feedback from the users, so I would suggest reading the comments to find out pros cons of each