开源客户端购物车-jQuery/Cookies [英] Open Source client-side Shopping Cart - jQuery/Cookies

查看:102
本文介绍了开源客户端购物车-jQuery/Cookies的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻求实现似乎具有购物车"功能但完全在客户端上的功能.我可以使用jQuery和cookie来做到这一点(我发现此Smart Cart 2插件很大一部分),但是在我构建它之前-有人知道完全基于客户端的现有解决方案,并且使用javascript(最好是jQuery)和cookie吗?

I am looking to implement something that appears to have "shopping cart" functionality, but is completely on the client-side. I can do this using jQuery and cookies (and I event found this Smart Cart 2 plugin for helping with a large part of it), but before I build it - Does anyone know of an existing solution that is completely client-side, and uses javascript (preferrably jQuery) and cookies?

除了浏览器不支持javascript和/或cookie的用户比例很小以外,还有没有人看到这种方法的主要问题?

Also, other than the small percentage of users whose browsers don't support javascript and/or cookies, does anyone see a major problem with this approach?

推荐答案

simpleCart(js)可以很好地解决光线问题重量的客户端购物车.显然,手动填写订单以确保为每个订单存入正确的资金.

simpleCart(js) works quite nicely for light-weight, client-side shopping carts. Obviously manually fill orders to make sure correct funds are deposited for each order.

这篇关于开源客户端购物车-jQuery/Cookies的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆