So, the problem is on the event of ‘Add to cart’ from Product Page but i am not able to identify in the code the event that occurs when pressing the button.
Hope someone could help me.
Thnks!!!
EDIT: It would not be to delete the entire event, only the part that updates the cart icon label with the total purchase price and just show the total number of orders.
Yes, I modified part of the code to show the total number of orders instead of the total price in the cart icon, but when the ‘Add to cart’ button is pressed, it still shows the total price.
Part of the problem is solved, now it does not show the total price of the cart but neither does the total number of orders appear when the ‘Add to cart’ event is launched.