Copied to clipboard

Flag this post as spam?

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


  • Avi 1 post 21 karma points
    Jun 15, 2015 @ 13:23
    Avi
    0

    How to change customer details through c# ?

    Hey,

    I'm currently using Umbraco version 7.2.4 assembly: 1.0.5557.19139

    with uWebshop 2.6.1.0 Foundation Package

    I'm trying to update customer details (both general and shipping).

    I don't wanna use BasketHandler with basic HTML,

    I'm trying to realize that through AngularJS and UmbracoApiController.

    I need to be able to update the customer details and shipping with C#.

    I tried to update OrderHelper and Save - without success.

    I think that uWebshop is one of the best open-source eCommerce packages out there but the disappointing part is there is not enough documentation - for example in this case.

    I would be happy to receive help from someone who knows how to solve this issue :)

    Thanks in advance,

    Avi.

  • Casper Andersen 126 posts 508 karma points
    Jul 01, 2015 @ 13:00
    Casper Andersen
    0

    I agree with you Avi, the company i work for has been given an order to convert 200 webshops from something called nCode to a webshop in Umbraco and uwebshop is the best free option there is, but there is a major lack of documentation, BUT i have been working with it for a couple of weeks now, and if you download and install the starter kit, it comes with the option to update the profile information. BUT (again) the fields for the customer are not actually there, or they where not for me.

    So what you do is, you go to the members section and go to member types and in there, there should be a type of Customers, there you need to create the values you want / need. For starters, u webshop has these fields and here are the aliases not the names Note. The meail field is already set for you

    customerFirstName customerLastName customerStreet customerStreetNumber customerZipCode customerCity customerCountry

    with this in mind, uwebshop starter kit extends on the Membership service by doing this

    var member = Membership.GetUser();
    if (member != null)
         {
             var profile = ProfileBase.Create(member.UserName);
    

    and to get a value you just do @profile["customerFirstName"]

    inside the _CustomerProfile.cshtml partial view

  • Casper Andersen 126 posts 508 karma points
    Jul 01, 2015 @ 13:25
    Casper Andersen
    0

    A list of fields, AND pre set customer fields with names AND alias can be found here http://docs.uwebshop.com/basket/guides/add-billingshippingextra-data/

  • Stephen Davidson 216 posts 392 karma points
    Nov 25, 2015 @ 20:37
    Stephen Davidson
    0

    I have got as far as setting up the existing fields but I want to add a new field for Mobile, but cant work out how to do this...do i need the uWebShop source?

    So far i have done the following:

    Add customerMobile to the membership property but keep getting

    "The settings property 'customerMobile' was not found."

  • tsukimoto dong 8 posts 28 karma points
    Apr 27, 2016 @ 22:12
    tsukimoto dong
    0

    Hi

    I have recently download Umbraco version 7.2.6 and uWebshop 2.6.1.0 Foundation Package.

    I installed the shop start kit and everything seems fine apart from when I go to the checkout page. The customerEmail field is set to mandatory in the order document type but when i click submit, i dont see a validation message and it allows to move on in the order process.

    please help

    thanks

Please Sign in or register to post replies

Write your reply to:

Draft