- 23
Hello,
I'm currently making my template responsive and have come across something very strange.
When my site is viewed in a viewport above 1024 pixels the cart quantity updates accordingly without having to refresh the page.
When the page is below 1024 I get a completely different button and it doesn't update the quantity. I just get the bar at the top of the page notifying its been added to the cart.
This is the button I get when the page is above 1024:
Below 1024:
Thank you :)
I'm currently making my template responsive and have come across something very strange.
When my site is viewed in a viewport above 1024 pixels the cart quantity updates accordingly without having to refresh the page.
When the page is below 1024 I get a completely different button and it doesn't update the quantity. I just get the bar at the top of the page notifying its been added to the cart.
This is the button I get when the page is above 1024:
<input type="button" value="Add to cart" class="button-1 add-to-cart-button nopAjaxCartProductVariantAddToCartButton" data-productid="64452">
Below 1024:
<input type="button" id="add-to-cart-button-64452" class="add-to-cart-button" value="Add to cart" data-productid="64452" onclick="AjaxCart.addproducttocart_details('/addproducttocart/details/64452/1', '#product-details-form');return false;">
Thank you :)