In a default Swift site with the ATC installed out of the box, in mobile view the cart quantity does not increment when an item is added and the popup fires.
Looking at the layout this:
Should be this:
I think!
Looking at the layout this:
Code:
<a class="header-icon-link" href="<actinic:variable name="cartlinktext" />" onclick="AppendParentSection(this)"> <i class="fa fa-shopping-basket"></i> <!--sd.widget.Popup add to cart.1.19:BEGIN--> <!--sd.widget.Popup add to cart.1.19.REPLACED:2c2611f06d60b75bc4f3c73a2acf8ead:<span class="mobile\-cart">--> <span class="mobile-cart insituCartCount"> <!--sd.widget.Popup add to cart.1.19:END--> <script language="javascript" type="text/javascript"> <!-- document.write(getCartItem(3)); // --> </script> </span> </a>
Code:
<a class="header-icon-link" href="<actinic:variable name="cartlinktext" />" onclick="AppendParentSection(this)"> <i class="fa fa-shopping-basket"></i> <!--sd.widget.Popup add to cart.1.19:BEGIN--> <!--sd.widget.Popup add to cart.1.19.REPLACED:2c2611f06d60b75bc4f3c73a2acf8ead:<span class="mobile\-cart">--> <span class="mobile-cart insituCartCount"> <!--sd.widget.Popup add to cart.1.19:END--> <span class="insituCartOutput"> </span> <script language="javascript" type="text/javascript"> $('.mobile-cart .insituCartOutput').html(getCartItem(3)); </script> <script type="text/html" class="insituCartTemplate"> <%=obj.CartCount%> </script> </span> </a>