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:
@@ -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())) {
|
||||
|
||||
Reference in New Issue
Block a user