Home › Forums › WoodMart support forum › Call JS function on add to cart Call JS function on add to cart This topic has 2 replies, 2 voices, and was last updated 6 years, 5 months ago by Artem Temos. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts July 27, 2018 at 7:09 am #69495 b4hr4mParticipant Hi, I want to know how to call a custom javascript function whenever the AJAX Add to cart button press in any pages. And also a remove and update button of the cart page. July 27, 2018 at 7:40 am #69503 b4hr4mParticipant I found a way to do this. but now I have another question: How to get a total of the cart in javascript? July 27, 2018 at 8:26 am #69514 Artem TemosKeymaster Hello, Sorry, but there is no such function in our theme JS scripts. Regards Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to create new topics. Login / Register