Home >Backend Development >PHP Tutorial >ecshop百货公司加入购物车弹出框多了个toJSONString按钮

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:24:291122browse

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代码。就可以了

Statement:
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