- Open app/design/frontend/base/default/template/klevu/addtocart/index.phtml and look for the klevu_addtocart(id,url,qty) function.
- When a shopper clicks on the add to cart button in the search results, Klevu Search calls the above function with the respective parameters.
- You can change the code of this function as per your requirements.