Upgrades Questions on upgrading to version 6.x.
Version 6.x > Upgrades > Custom Ecommerce module upgrade View modes: 
User avatar
Member
Member
Peter - 11/28/2011 9:31:32 PM
   
Custom Ecommerce module upgrade
Hi,

I've started now upgrading to 6.0 from 5.5R2.
Also following your examples for custom ecommerce module which we use. However many methods are very different.
For example we need to create a new row for the cart content table
we used to have something like this....
DataRow newRow = shoppingCart.CreateShoppingCartContentRow(contentTable, cartItem, unitPrice, unitDiscount, taxSummary, subTotal, subTotalDefaultCurrency, skuError);

What would you suggest to replace these methods with?

Thank you,

Peter

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/29/2011 1:44:30 AM
   
RE:Custom Ecommerce module upgrade
Hello,

You can find an extensible excel sheet documenting the API changes in this blogpost. The new method which can be used in this case is called:

ShoppingCartInfoProvider.CreateContentRow(ShoppingCartItemInfo item, DataTable table)

Best regards,
Boris Pocatko

User avatar
Member
Member
Peter - 11/29/2011 4:02:45 PM
   
RE:Custom Ecommerce module upgrade
Thanks Boris.