Hello!
I’m trying to access cart from page controller by injecting CartService but when I call a method in CartService I get a null reference error in CartServiceImpl.cs on row 29
private Cart Cart => _requestModelAccessor.RequestModel.Cart;
For some reason _requestModelAccessor.RequestModel is null. I tried to inject RequestModelAccessor into another Controller, HomeController, and RequestModel is null there also.
This is the way I should access cart, right? Any ideas of what to do next?
BR Jonas
Litium version: 7.1.0