Are there any good shopping cart modules/services out there that people have integrated with node.js?
The specific requirement I'm struggling with is that I'm selling prints of photographs. My application will have thousands of photos, and I don't want to setup every photo as an item in a shopping cart. I'd prefer to have a half dozen items based on the different print sizes, then essentially have the image identifier as an attribute of the product.
I might end up just coding this myself, but when I start thinking about modifying carts, calculating taxes, etc., it starts looking bigger than necessary, so if there's something I can integrate rather than building that would be great.
js is the best platform for eCommerce development? So far, Node. js is one of the most powerful platforms that can be used for building eCommerce apps. Many of the top eCommerce platforms are built on Node.
Since there were no answers I thought I'd loop back and provide the solution I'm moving towards...
I've decided to use Simplecart.js (simplecartjs.org) to maintain a shopping cart on the browser. I'll maintain my product catalog and pricing in MongoDB, and push the catalog to the client so I can use Simplecart's functions there.
Since Simplecart is client-based, when the user checks out I'll reload pricing from MongoDB (to ensure no funny business on the client), process payment with Swipe.com or similar, and be off to the races. Perhaps not perfect, but saves me from doing cart management and checkout front-end.
Not sure your proposal for securing SimpleCart can work. Even with a price refresh during checkout, it will be relatively easy for anyone with a JS console to purchase items using their own, user-defined price.
I've not see a proposed solution that doesn't involve creating a server-side process to validate prices before committing the order and the payment transaction, which of course makes SimpleCart no-so-simple anymore.
See commentary on the SimpleCart GitHub issue tracker:
https://github.com/wojodesign/simplecart-js/issues/329
https://github.com/wojodesign/simplecart-js/issues/150
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With