Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > adding custom field in Billing address page View modes: 
User avatar
Member
Member
gujju121-31-yahoo - 5/6/2010 8:05:38 PM
   
adding custom field in Billing address page
Is there anyway I can add custom field in billing address page?

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 5/7/2010 1:38:12 AM
   
RE:adding custom field in Billing address page
Hi,

Yes, sure. You can add new field into COM_Address table in database and then use this field for example in one of the shopping cart steps (~\CMSModules\Ecommerce\Controls\ShoppingCart\ShoppingCartOrderAddresses.ascx.cs)

Best regards,
Miroslav Remias.

User avatar
Member
Member
gujju121-31-yahoo - 5/18/2010 3:47:01 PM
   
RE:adding custom field in Billing address page
Thank you, but could you please describe me what change should I make in ShoppingCartOrderAddresses.ascx.cs? . I tried to understand its logic but it is very difficult for me to understand in short time. I'm developing hotel reservation site. So I want to add check in date somewhere. Please help me out...

User avatar
Member
Member
gujju121-31-yahoo - 5/18/2010 8:14:59 PM
   
RE:adding custom field in Billing address page
how can I change AddressInfo and AddressInfoProvider object?

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 5/22/2010 5:15:11 AM
   
RE:adding custom field in Billing address page
Hello,

You can set 'ClassShowAsSystemTable' column to true for ecommerce.address class in CMS_Class table. Then you can add custom fields for ecommerce.address class in 'SiteManager -> Development -> System table' section and get/set their value using GetValue/SetValue method of AdressInfo object.

You can re-implement some methods of AddressInfoProvider using custom address info provider.

Best Regards,
Martin Dobsicek

User avatar
Member
Member
jr - 11/7/2013 3:45:59 AM
   
RE:adding custom field in Billing address page
That CMS_Class table is legendary. Thanks.