Princing Issue
Posted: Fri Aug 21, 2015 2:52 am
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?
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?