Hi,
I have implemented adding sub-products for a product. I have written my custom code to add it into the discreteOrderItem as list of sub-products. The item also has his price added. Now I want that this price must be added while calculating the order price as well as added to the subtotal on cart page. I have found that one way to add to totals is to create a activity that adds the amount to the total. Is it correct approach? Also I am unable to find where the subtotals calculation is present in the code. Can someone please help?
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.