[
https://issues.apache.org/jira/browse/OFBIZ-7264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15679047#comment-15679047 ]
Deepak Dixit commented on OFBIZ-7264:
-------------------------------------
I agree Jacopo, but if its check for null and if cart is null than it initialize cart. In this case we can use proposed method. I'll cross check references.
> Use ShoppingCartEvents.getCartObject() to get shopping cart
> ------------------------------------------------------------
>
> Key: OFBIZ-7264
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7264> Project: OFBiz
> Issue Type: Improvement
> Reporter: Deepak Dixit
> Assignee: Jacopo Cappellato
> Attachments: OFBIZ-7264.patch
>
>
> As per current code base in many places shoppingcart is get directly from session, we have method getCartObject() in ShoppingCartEvetns.java to get the shoppingcart.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)