You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Stephen Rufle <sr...@salmonllc.com> on 2009/01/07 16:14:10 UTC

ShoppingCartItem makeItem and listPrice

I think in ShoppingCartItem makeItem we should be setting the
ShoppingCartItem.listPrice the way we do for unitPrice (line 408). Does
anyone see how to do this without having to add a new parm to makeItem ?

A short call stack to the method I am talking about
    ShoppingCartItem.makeItem(Integer, GenericValue, Double, double,
Double, Timestamp, Double, Double, String, String, Timestamp, Timestamp,
Map, Map, String, ProductConfigWrapper, String,
ShoppingCart$ShoppingCartItemGroup, LocalDispatcher, ShoppingCart,
Boolean, Boolean, GenericValue, Boolean, Boolean) line: 410   
    ShoppingCartItem.makeItem(Integer, String, Double, double, Double,
Timestamp, Double, Double, String, String, Timestamp, Timestamp, Map,
Map, String, ProductConfigWrapper, String,
ShoppingCart$ShoppingCartItemGroup, LocalDispatcher, ShoppingCart,
Boolean, Boolean, String, Boolean, Boolean) line: 345   
    ShoppingCart.addItemToEnd(String, Double, double, Double, Timestamp,
Double, Double, String, String, HashMap, HashMap, String,
ProductConfigWrapper, String, LocalDispatcher, Boolean, Boolean,
Boolean, Boolean) line: 595   
    ShoppingCartServices.loadCartFromOrder(DispatchContext,
Map<String,Object>) line: 393