Jump to content

How to make an external request/catch the event in javascript on AddToCart event?


websku

Recommended Posts

I'm trying to call an external URL when users adds an item in the shopping cart. It should work if it's ajax powered cart or classic.

The only way I found is to modify controller/front/CartController.php and do a curl request.

Is it possible to catch it as an event in javascript?

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...