Jump to content

Error with icon in "add to cart" button


fermelandie

Recommended Posts

Hi,

On my shop, quick add to cart is enabled and the "add to cart" button contains a fontawesome icon as you can
see on the screenshot.
The problem is when adding to the cart, if you click on the button outside the fontawesome icon, the product
is added to the cart with the pop-up that opens. But if the customer clicks on the icon, the product is not 
added to the cart.
How could I rectify that?

The code for the button:

<button data-button-action="add-to-cart" onClick="equal_qty_8();sendinblue.track('Ajout au panier',{ 'id produit':'8','nom produit': 'Colis de veau de lait'});"  class="btn btn-primary">
		 <span id="ajouteraupanier_8" style="width:120px">Ajouter au  <i class="material-icons" id="shopping_basket_8" style="margin-right:0">shopping_basket</i></span>
		  </button>
Link: https://vente-directe.fermelandie.fr 

Thanks for your help! :)

 

Capture-boutique-erreur.PNG

Edited by fermelandie (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...