[eluser]Unknown[/eluser]
Hello to everyone,
I am an Ajax Beginner and I would like to ask you a question.I have a controller that gets an items id, qty, name etc and adds it to cart -after clicking a specific link. After adding it, it redirects to the main page.
The controller action is sth like
Code:
public function add_to_cart($id){
...code...
}
i would like to ask you if there is a possiblity of adding AJAX to to this controller action in order to ADD the item to the cart but NOT to refresh the whole page after redirection (I dont want the "refresh event" to happen).
Is this possible?