Ruby-on-rails 什么是 Rails 的好购物车 gem?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10455410/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is a good shopping cart gem for Rails?
提问by marcamillion
I want to implement basic shopping cart functionality in my Rails app....are there any good gems that will make this process simple?
我想在我的 Rails 应用程序中实现基本的购物车功能......有没有什么好的宝石可以使这个过程变得简单?
i.e. I want the shopper to be able to add products and quantities to their checkout, and I want the admin to be able to add new products to the store (and edit/delete existing ones).
即我希望购物者能够在他们的结帐中添加产品和数量,并且我希望管理员能够向商店添加新产品(并编辑/删除现有产品)。
Suggestions?
建议?
回答by iain
There is a wide range of payment and eCommerce gems covered at Railscasts.
Railscasts涵盖了广泛的支付和电子商务领域。
A list of gems can also be found at The Ruby Toolboxand here too.
也可以在The Ruby Toolbox和这里找到 gem 列表。
Also, not covered, you can use the Saas product Shopify
此外,未涵盖,您可以使用 Saas 产品Shopify
回答by Ivailo Bardarov
There are few:
很少有:
https://github.com/spree/spreeEngines, plugins, big, no good i18n
https://github.com/piggybak/piggybakEngine, plugins, no i18n, new project and still a lot of changes
https://github.com/potionfactory/potionstore/Not an Engine
https://github.com/spree/spree引擎,插件,大,不好 i18n
https://github.com/piggybak/piggybak引擎,插件,没有 i18n,新项目,还有很多变化
回答by Mada Aryakusumah
maybe you can try https://github.com/crowdint/acts_as_shopping_cartThat gem good for simple cart. Maybe you need little modify if you need update cart functionality
也许你可以试试https://github.com/crowdint/acts_as_shopping_cart那个适合简单购物车的宝石。如果您需要更新购物车功能,也许您几乎不需要修改
回答by Torsten
The list of a few is good, and now there is one more engine: RubyClerks
几个列表很好,现在又多了一个引擎:RubyClerks
It's small and simple, but all that small businesses needs. And so it uses much less memory than others.
它小巧而简单,但却是小型企业所需要的一切。所以它使用的内存比其他的少得多。

