This is an automated email from the ASF dual-hosted git repository.

mbrohl pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 79242f65b3 Fixed: Set discountRate from ShoppingCartItem (OFBIZ-12802)
79242f65b3 is described below

commit 79242f65b3337be7c5218ef8902a16cc4e14134e
Author: Michael Brohl <mbr...@apache.org>
AuthorDate: Fri Feb 2 09:45:09 2024 +0100

    Fixed: Set discountRate from ShoppingCartItem (OFBIZ-12802)
---
 .../main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java
 
b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java
index 1bf7b3b8d1..ec4ae9e359 100644
--- 
a/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java
+++ 
b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java
@@ -215,6 +215,7 @@ public class ShoppingCartItem implements 
java.io.Serializable {
         this.reserv2ndPPPerc = item.getReserv2ndPPPerc();
         this.reservNthPPPerc = item.getReservNthPPPerc();
         this.listPrice = item.getListPrice();
+        this.discountRate = item.getDiscountRate();
         this.setIsModifiedPrice(item.getIsModifiedPrice());
         this.selectedAmount = item.getSelectedAmount();
         this.requirementId = item.getRequirementId();

Reply via email to