我使用的是Magento购物主题(http://shopper.queldorei.com/)。Magento购物主题多“购物车”的车头标题
当我将产品添加到我的商店购物车,它增加的
<div class="cart-top-title">
<a href="https://droppinstudio.dk/horsepony/index.php/checkout/cart/" class="clearfix">
<span class="icon"></span>Cart</a></div>
多个elemtns我已经想通了,这是jQuery的,使得这里的错误:
function setLocationAjax(url, id)
{
...
if (data.status != 'ERROR' && $('.cart-top-container').length) {
$('.cart-top-container').replaceWith(data.cart_top);
}
...
}
不任何人都有一个好主意来解决这个问题?
很高兴我可以帮助:) –