protected function assignCustomerToCartRecord()
    {
        // Assign the logged in customer to the cart record
        Cart::where($this->getCookieElement())->update([
            'auth_user' => Auth::guard(config('cart_manager.auth_guard'))->id(),
        ]);
    }
protected function assignCustomerToCartRecord()
    {
        // Assign the logged in customer to the cart record
        Cart::where($this->getCookieElement())->update([
            'auth_user' => Auth::guard(config('cart_manager.auth_guard'))->id(),
        ]);
    }
protected function assignCustomerToCartRecord ( ) { // Assign the logged in customer to the cart record Cart :: where ( $ this -> getCookieElement ( ) ) -> update ( [ 'auth_user' => Auth :: guard ( config ( 'cart_manager.auth_guard' ) ) -> id ( ) , ] ) ; }
Assigns the customer to the cart record identified by cookie.

@return void
Assigns the customer to the cart record identified by cookie .