Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Qaisar 31 posts 77 karma points
    Jan 05, 2015 @ 11:37
    Qaisar
    0

    Handling Orderline dynamic properties when editing or creating a new orderline in backend.

    I am able to sucessfully add the dynamic properties to orderline and order.

    In the UCommerce Backend when i open an order I can see the dynamic properties associated with that order but I cannot edit these dynamic properties because its not a text box where i can edit.

    When I want to create a new orderline in the same order I don't know how to add these dynamic properties. Does anybody has any idea on how i can add the functionality to edit an existing or add a new orderline with dynamic properties?

    regards,

    Qaisar

  • Martin 181 posts 740 karma points
    Jan 06, 2015 @ 14:12
    Martin
    0

    Hi Qaisar,

    I don't think it is possible to add dynamic order properties from uCommerce admin ui out of the box. Though you can extend the view with a new tab and then create some custom code which makes it possible. Take a look at this:

    http://docs.ucommerce.net/ucommerce/v6/extending-ucommerce/extending-ucommerce-admin.html

    If you have any questions or stumble into any problems I will gladly try to help you solve it.

    Best regards Martin

  • Qaisar 31 posts 77 karma points
    Jan 07, 2015 @ 13:38
    Qaisar
    0

    Hi Martin,

    Thank you for the help.

    I have created a new tab under edit order to diplay the list of dynamic orderLine properties but i am not sure i can grab the order and orderline in this context.

    It should also be possible to save these properties.

    Do you know how i should do it?

    best regards,

    Qaisar

  • Martin 181 posts 740 karma points
    Jan 08, 2015 @ 13:42
    Martin
    0

    Hi Qaisar,

    If your View is implementing IEditOrderView you should have access to the order object through the property "View.Order" in your user control. It should be possible to save these values as well. There is a event called Saving which you should listen and then do your specific logic at that point. Saving event will be raised when you click saving order.

    Best regards Martin

Please Sign in or register to post replies

Write your reply to:

Draft