Revert "Revert "complete functionality add_to_cart & validation using Jquery""

This reverts commit 028cc9e7ad6419d0a129d2250bc4c51a444dbedc.