Fix - Adding same variants more then once to cart are displayed as separate cart items. Reported and fix provided by Mridul Pathak
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@683930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2283,7 +2283,7 @@ public class ShoppingCartItem implements java.io.Serializable {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((this.additionalProductFeatureAndAppls != null && additionalProductFeatureAndAppls != null) &&
|
||||
if ((UtilValidate.isNotEmpty(this.additionalProductFeatureAndAppls) && UtilValidate.isNotEmpty(additionalProductFeatureAndAppls)) &&
|
||||
(this.additionalProductFeatureAndAppls.size() != additionalProductFeatureAndAppls.size()) &&
|
||||
!(this.additionalProductFeatureAndAppls.equals(additionalProductFeatureAndAppls))) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user