Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bex 444 posts 555 karma points
    Nov 14, 2011 @ 12:36
    Bex
    0

    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

  • Anders Burla Johansen 2560 posts 8256 karma points
    Nov 14, 2011 @ 13:15
    Anders Burla Johansen
    0

    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" ) );

  • Bex 444 posts 555 karma points
    Nov 14, 2011 @ 13:19
    Bex
    0

    Thank you! :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies