PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 4/21/2023 7:02 PM by  Will Strohl
Customer phone number not saved
 3 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages





Advanced Member






--
4/4/2023 6:32 AM
    I've HCC 3.2.3 and I've no possibility to update it to the latest version due to compatibility problems with the DNN version.
    Everything works for me but I have a problem on retrieving the customer phone number.
    In checkout process after the customer enter his phone number through _CheckoutAddress.cshtml form it is not visible anywhere.
    I've searched everywhere and it just seems like it's nowhere to be seen.
    Is it possible that it is not saved?
    Where can I find it directly in the database to check if it is saved or not?
    In _CheckoutAddress.cshtml it is saved with the following lines of code:
    [code=markup]
    <div class="form-group">
    @Localization.GetString("Phone"):
    <div class="col-sm-offset-0 col-sm-12">
    <input type="text" id="@(Model.Prefix + "phone")" name="@(Model.Prefix + "phone")"
    value="@Model.Address.Phone" class="form-control @Model.IsErr("phone")" placeholder="@Localization.GetString("phPhone")" />
    </div>
    </div>
    [/code]
    is there any mistake there?
    Thanks for your help!





    Veteran Member






    --
    4/17/2023 11:08 PM
    Hello Scippy!

    You should be able to find that value saved as part of the Address record, as long as it is indeed getting saved. :)
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    Advanced Member






    --
    4/18/2023 4:36 AM
    The problem seems to be just that it doesn't save it. How can I fix? Any workaround about?





    Veteran Member






    --
    4/21/2023 7:02 PM
    Well, the real fix is to upgrade and be sure to formally merge any necessary viewset updates.

    However, since you are unable to upgrade right now, you're going to probably have to do this yourself using the API and the action delegate pipeline. The link below explains how to save values from the customer journey pretty well.

    https://hotcakescommerce....kout-and-Place-Order
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes
    You are not authorized to post a reply.


    Loading
    • Sign-up for the Hotcakes Community Newsletter: