On Thu, Aug 19, 2010 at 2:45 PM, Alex <[email protected]> wrote: > Hello, > I would like to implement a very simple shopping cart functionality to > my application, just selecting some products and saving them as an > order. Only logged in users will be able to 'checkout' and send > through the order, but apart from that, I do not need credit card > processing, inventory tracking, shipping, coupons or any other > complicated e-commerce features. > > What do you recommend? > I have the options of: > > 1) Using some of the poorly-documented available gems: > (http://rubygems.org/search?_snowman=%E2%98%83&query=cart)
(Unrelated: somewhat of a shock that rubygems.org is already running on Rails 3 - the _snowman is a giveaway) Anyways, this will probably not be a good idea. > > 2) Spree? Has anyone used it with Hobo? > (spreecommerce.com/) > Spree is a good system, but vastly overkill for your needs. Never tried using it with Hobo, but it should mostly work... > 3) Writing it myself from scratch. (100% session based or database- > driven?) You might want to try adapting the AWDWRv3 Depot app cart to your needs; it's not particularly complicated. Ultimately, all you really need for a basic "pick products and put quantity X in cart" is a hash in the session (product_id => quantity). --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
