You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2016/11/19 10:52:58 UTC

[jira] [Commented] (OFBIZ-7264) Use ShoppingCartEvents.getCartObject() to get shopping cart

    [ 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)