Bug fix

Defined function for grid add to cart to maintain functionally of popup
add to cart