Skip to Content
Former Member
Aug 03, 2015 at 11:24 PM

Method 'protected de.hybris.platform.order.CartService getCartService()' has been removed


I am trying to upgrade hybris from 4.8 to 5.5. In hybris 4.8, we were using the DefaultCommerceCartService to call the getCartService to retrieve the sessionCart(). The method has been removed in 5.2.0. Can somebody assist as to how to approach this? I can easily embed CartService and ProductService in my extended CommerceCartService. Is it the right approach? Just trying to understand the reason as to why the cartservice and productservice were removed.