Add to cart button and delete (remove) (cross) button is not working properly. What you need is to use jQuery to remove item.
And secondly, when someone clicks on Add To Cart button, then simply use aJax and update session with names as 'cart' like so ( $this -> session -> set_userdata('cart', array(productID);
Hi,
Please set the following page. http://localhost:port/myshopping/compare_product
Add to cart button and delete (remove) (cross) button is not working properly. What you need is to use jQuery to remove item.
And secondly, when someone clicks on Add To Cart button, then simply use aJax and update session with names as 'cart' like so ( $this -> session -> set_userdata('cart', array(productID);
Ref Resources: https://www.youtube.com/watch?v=BqTiG2WC-ac http://stackoverflow.com/questions/17590688/jquery-ajax-post-in-codeigniter
Regards,