{"action":"created","issue":{"url":"https://api.github.com/repos/darryldecode/laravelshoppingcart/issues/67","repository_url":"https://api.github.com/repos/darryldecode/laravelshoppingcart","labels_url":"https://api.github.com/repos/darryldecode/laravelshoppingcart/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/darryldecode/laravelshoppingcart/issues/67/comments","events_url":"https://api.github.com/repos/darryldecode/laravelshoppingcart/issues/67/events","html_url":"https://github.com/darryldecode/laravelshoppingcart/issues/67","id":175009994,"number":67,"title":"multiple instance query","user":{"login":"virsoni","id":16146696,"avatar_url":"https://avatars.githubusercontent.com/u/16146696?v=3","gravatar_id":"","url":"https://api.github.com/users/virsoni","html_url":"https://github.com/virsoni","followers_url":"https://api.github.com/users/virsoni/followers","following_url":"https://api.github.com/users/virsoni/following{/other_user}","gists_url":"https://api.github.com/users/virsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/virsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virsoni/subscriptions","organizations_url":"https://api.github.com/users/virsoni/orgs","repos_url":"https://api.github.com/users/virsoni/repos","events_url":"https://api.github.com/users/virsoni/events{/privacy}","received_events_url":"https://api.github.com/users/virsoni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-09-05T07:25:04Z","updated_at":"2016-09-16T11:05:21Z","closed_at":null,"body":"Hi\r\n\r\nI have placed below code in Appserviceprovider > register method.\r\n\r\n\t\t$this->app['wishlist'] = $this->app->share(function($app)\r\n        {\r\n            $storage = $app['session']; // laravel session storage\r\n            $events = $app['events']; // laravel event handler\r\n            $instanceName = 'wishlist'; // your cart instance name\r\n            $session_key = 'AsASDMCks0ks1'; // your unique session key to hold cart items\r\n\r\n            return new Cart(\r\n                $storage,\r\n                $events,\r\n                $instanceName,\r\n                $session_key\r\n            );\r\n        });\r\n\r\n\r\nHow can i Add product in wishlist cart like this \\Cart::add('1','test', '0', 1); ?"},"comment":{"url":"https://api.github.com/repos/darryldecode/laravelshoppingcart/issues/comments/247574587","html_url":"https://github.com/darryldecode/laravelshoppingcart/issues/67#issuecomment-247574587","issue_url":"https://api.github.com/repos/darryldecode/laravelshoppingcart/issues/67","id":247574587,"user":{"login":"virsoni","id":16146696,"avatar_url":"https://avatars.githubusercontent.com/u/16146696?v=3","gravatar_id":"","url":"https://api.github.com/users/virsoni","html_url":"https://github.com/virsoni","followers_url":"https://api.github.com/users/virsoni/followers","following_url":"https://api.github.com/users/virsoni/following{/other_user}","gists_url":"https://api.github.com/users/virsoni/gists{/gist_id}","starred_url":"https://api.github.com/users/virsoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virsoni/subscriptions","organizations_url":"https://api.github.com/users/virsoni/orgs","repos_url":"https://api.github.com/users/virsoni/repos","events_url":"https://api.github.com/users/virsoni/events{/privacy}","received_events_url":"https://api.github.com/users/virsoni/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T11:05:21Z","updated_at":"2016-09-16T11:05:21Z","body":"https://cloud.githubusercontent.com/assets/16146696/18581319/af89d574-7c1d-11e6-9a46-6ab3107777c2.png\r\nhttps://cloud.githubusercontent.com/assets/16146696/18581298/97c8eb00-7c1d-11e6-9c4c-91a8df624ffd.png\r\n\r\nI have tried as you said but its not working yet can you please check attached screenshots of code I used and provide your steps again if possible?\r\n\r\ngetting below error now when execute order **app_wishlist_code.png** screenshot's line of code.\r\nCall to undefined method Darryldecode\\Cart\\Facades\\CartFacade::add()\r\n\r\n@pvdptje @Turaylon "}}
{"actor":{"display_login":"virsoni"}}