ShoppingCartItem makeItem and listPrice

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ShoppingCartItem makeItem and listPrice

Stephen Rufle-2
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