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
This commit is contained in:
Joseph Eckard
2010-04-15 14:46:42 +00:00
parent 6c1d90a2bb
commit 47eaa56d40
@@ -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())) {