From 47eaa56d40fb72b3ea33bdd68da9d43a70281cf2 Mon Sep 17 00:00:00 2001 From: Joseph Eckard Date: Thu, 15 Apr 2010 14:46:42 +0000 Subject: [PATCH] use the existing getSupplierProduct method from the cart git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934430 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java b/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java index e5a4c5045d..8169c9e5ff 100644 --- a/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java +++ b/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java @@ -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())) {