Could you point me at the porperties of the order that I need to use to add an address programatically. The user has already added their address on the system when they set up an account so I don't want to take them through an address page again as they aren't allowed to change the address.
You should be able to see what names we use in the starter kit in the adminOrder xslt - You can then in your .NET just add a property with that name and your intended value. Makes sense?
order.AddProperty( new OrderProperty( "address", "test" ) ); order.AddProperty( new OrderProperty( "zipCode", "7430" ) );
Programmatically adding an address to an order
Hi
Could you point me at the porperties of the order that I need to use to add an address programatically.
The user has already added their address on the system when they set up an account so I don't want to take them through an address page again as they aren't allowed to change the address.
Bex
Hi Bex
You should be able to see what names we use in the starter kit in the adminOrder xslt - You can then in your .NET just add a property with that name and your intended value. Makes sense?
order.AddProperty( new OrderProperty( "address", "test" ) );
order.AddProperty( new OrderProperty( "zipCode", "7430" ) );
Thank you! :)
is working on a reply...