Set cookie for non logged when add to cart ajax

http://stackoverflow.com/questions/27168479/woocommerce-cant-add-to-cart-as-a-guest-using-quick-order-one-page-shop/