TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SimpleCart(js) - Javascript Shopping Cart

116 点作者 huragok超过 12 年前

11 条评论

anykey超过 12 年前
The website is beautiful, but I don't even think the notion of a "javascript shopping cart" should exist. It's stupidly dangerous. This is real money we're talking about! Wow.<p>Also, this confused me for a few seconds...I thought dials went clockwise ;) <a href="http://i.imgur.com/QEl7v.png" rel="nofollow">http://i.imgur.com/QEl7v.png</a>
评论 #4820963 未加载
评论 #4820949 未加载
shousper超过 12 年前
I think this is a great idea, despite its obvious flaw.<p>To make it a better offering, I would probably add sample custom payment gateway "proxies" in common languages (i.e. PHP, Ruby, etc.) for security.<p>What I mean by proxy is provide some generic server-side code as a middle man for the payment gateway which can confirm the details of an order (on your server) haven't been tampered with before forwarding onto the actual gateway (PayPal, etc.)<p>This way, the shops who don't mind dealing with dodgy purchases can run 100% client-side, while more others can use this feature to prevent invalid orders being created.<p>Am I talking sense, or day dreaming and missing a big inherent flaw?
评论 #4821772 未加载
nlh超过 12 年前
I got super-excited for a moment because I'm literally in the midst of a weekend project putting together, well, a simple online store (I'm a novice - yes, these things still take me a weekend ;)<p>But this is, alas, too simple. I'm actually taking the plunge and building a Rails app.<p>Anyone have some good/great/awesome JS shopping cart suggestions that are perhaps equally-simple in theory but a bit more robust?<p>I'm using Rails, ActiveMerchant and Stripe.js so far (been looking for a good excuse to actually use Stripe - psyched to try 'em out).<p>Something between this and Spree, which is massive massive overkill for my purposes.
评论 #4821621 未加载
评论 #4822569 未加载
评论 #4821130 未加载
评论 #4821866 未加载
spankyhoot超过 12 年前
This seems to suffer from the source of prices being the html itself. This implies trusting the client - I'm a web inspector away from choosing what I want to pay.
评论 #4820776 未加载
评论 #4820762 未加载
评论 #4820772 未加载
评论 #4820769 未加载
评论 #4820766 未加载
评论 #4824440 未加载
评论 #4821054 未加载
neotorama超过 12 年前
I can change the price :0<p><a href="http://i.imgur.com/IjwEs.png" rel="nofollow">http://i.imgur.com/IjwEs.png</a>
评论 #4820960 未加载
评论 #4821052 未加载
评论 #4821123 未加载
评论 #4820919 未加载
espitia超过 12 年前
Can anyone help me email the contents of the cart when the user presses 'checkout'? I've spent over 8 hours trying to do this and have had no luck (4 last night, 4 today). I don't know much javascript so any help will be very much appreciated.<p>My business doesn't need customers to pay online, they will pay in person. I just need to receive orders through email.<p>Thank you.
评论 #4822508 未加载
k2xl超过 12 年前
Something super trivial, but I can see the down arrow on the Items toggle button seep through... On Chrome 23.0.1271.64<p>Nice little library though. Interesting comments regarding changing prices.. Curious how paypal handles things like that (since on Paypal's side you don't really create "products" do you?)
评论 #4822269 未加载
JuDue超过 12 年前
I like this idea.<p>If you can confirm the price tally in the final step of checkout it would work well.<p>So server side integration still required.
glennsayers超过 12 年前
Their documentation has been hit hard by spam.<p><a href="http://simplecartjs.org/documentation/google_checkout" rel="nofollow">http://simplecartjs.org/documentation/google_checkout</a><p>Looks like a great library though!
ChrisNorstrom超过 12 年前
I've spent about 3 months looking for shopping carts on and off and this one was one of the carts I was considering. I abandoned the whole javascript hard coded shopping cart idea because it was simple in the short term, complex in the long term.<p>These javascript hard coded shops are designed for people who feel comfortable around code, re-sizing images, ftp uploading, and editing html files. But those VERY same people who are comfortable around code are better off to just install a managed store with a database (Word Press e-commerce), which will streamline everything, keep track of inventory, etc... So they don't have to hard code anything and their store can grow.<p>They can just install wordpress in 5 minutes, wp e-commerce in 5 minutes, find a free theme they like and install that, and have a store ready to go. All without touching code. They can drag and drop all their images and never have to ftp files or edit .html documents to change prices.<p>I don't want to shit all over this beautiful little cart. It's perfect if you already have an HTML site that ISN'T wordpress powered. But it's just not an elegant solution. Or a logical one.<p>Here are the other solutions.<p>- Gum Road.<p>- Paypal Buy it now / Add to cart / View Cart buttons.<p>- Word Press e-commerce, woo-commerce, marketpress, and all the other competitors.<p>I tried out Plum Cart (another javascript cart) from codecayon.net, and it was just such a pain in the ass to have to hard code everything. Let alone the limitation of no USPS real shipping calculations or stock management. Setting up wordpress was the best choice for a small little store.<p>I ended up going with WP e-commerce.<p>=== WP e-commerce ===<p>It's free, comes with everything you need to get started, does downloadable items, and you can buy the stripe plugin for like $37. It has only 3 stars but over 2+ million downloads, the team behind it got overwealmed by the usage, and the USPS module is probably causing all the frustration. A lot of stores run WP e-commerce. You'd never know unless you roam around the support forums and see people post links asking for tips and code changes.<p>=== Woo-commerce ===<p>Pain in the ass to do variations. Very polished. Simple in many ways, complex in others, not ready for prime time. Does downloadable items. I left it after that.<p>=== MarketPress ===<p>$19 one time. Even less ready than Woo-commerce. Comes with Stripe module, VERY polished. NO good shipping calculations if you store sells diverse items. Does downloadable items. Does not have Paypal Payments Standard, only paypal express (must upgrade to business account).<p><i>NOTE: if you're using ANY USPS shipping calculation module, your USPS webtools api account must be set to LIVE product mode before you can recieve quotes in your shopping cart. Test modes DO NOT WORK. USPS doesn't realize this. You have to email them manually to get your account out of TEST and into LIVE mode.</i>
评论 #4822920 未加载
评论 #4821880 未加载
评论 #4822324 未加载
评论 #4823144 未加载
评论 #4822887 未加载
nodesocket超过 12 年前
Would love Stripe integration. Possible?