Author: eckardjf
Date: Thu Apr 15 14:46:42 2010
New Revision: 934430
URL:
http://svn.apache.org/viewvc?rev=934430&view=revLog:
use the existing getSupplierProduct method from the cart
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java?rev=934430&r1=934429&r2=934430&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java Thu Apr 15 14:46:42 2010
@@ -755,7 +755,7 @@ public class ShoppingCartHelper {
oldPrice = item.getBasePrice();
- GenericValue productSupplier = this.getProductSupplier(item.getProductId(), quantity, cart.getCurrency());
+ GenericValue productSupplier = this.cart.getSupplierProduct(item.getProductId(), quantity, this.dispatcher);
if (productSupplier == null) {
if ("_NA_".equals(cart.getPartyId())) {