Hello,
I would recommend you to modify the shopping cart in the EvaluateShoppingCartContent method in the file CustomShoppingCartInfoProvider.cs. You will have to add the custom
E-commerce provider project to your website as described in our
documentation. You can alter before or after our internal method is called the whole shopping cart according to your needs. The shopping cart is a simple datatable with the content of the order. So you can access it the following way:
System.Data.DataTable dt = ((CMS.Ecommerce.ShoppingCartInfo)shoppingCart).ShoppingCartContentTable;
For more information about the methods used please check our
API.
Best regards,
Boris Pocatko