简体   繁体   中英

Is there a rails gem for products and shopping cart?

I've found some gems like spree commerce but that's too complex for what I need.

I only need system of products and a shopping cart (without payments) to implement within current rails app. Is there any gem that does this?

You can take a look here https://www.ruby-toolbox.com/categories/e_commerce to see a list of popular e_commerces.

Personally I have experience with https://github.com/drhenner/ror_ecommerce and I recommend you to try.

Cheers, Bojan

我使用AWESOME RUBY寻找有用的宝石。

I found this gem quite handy. The syntax is pretty expressive like

@cart.add(@product, @product.price) #for adding an item
@cart.clear  #clears cart

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM