set an ajax response when a item was selected and added to the cart