ecshop百货公司加入购物车弹出框多了个toJSONString按钮

WBOY
Release: 2016-06-13 12:24:29
Original
1068 people have browsed it

ecshop商城加入购物车弹出框多了个toJSONString按钮
ecshop模板弄的商城,我在商品详细页面增加了个立即购买,模板文件多了个transport.js文件,点击加入购物车后就会出现这种情况,如图:,往上找了好多,问题没有解决,不知道哪位遇到过。
------解决思路----------------------
将原来的Ajax.call('flow.php?step=add_to_cart', 'goods=' + goods.toJSONString(), addToCartResponse1, 'POST', 'JSON');中的
goods.toJSONString()替换成objToJSONString(goods)试下。然后再网上重新找个transport.js代码。就可以了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!