Magento 2 How to get customer info on
I am trying this code -
echo "<pre>"; print_r($this->session->getData());
and getting this response only -
Array ( [wishlist_item_count] => 0 [rp_token] => XH3BujdKNmcJpc1GQbChU8oYQbwTtiYv [no_referer] => 1 )
I need to redirect to my custom pages according to customer needs.
For example - If customer group is 1 then redirect to xyz page.
If customer group is 2 then redirect to abc page.