Copied to clipboard

Flag this post as spam?

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


  • Calvin Frei 106 posts 314 karma points
    Jul 04, 2016 @ 12:34
    Calvin Frei
    0

    Merchello 2.1 Shipping Address Phone is not saved

    Hi Rusty

    The phone number of the shipping address is not saved anymore with Merchello 2.1.

    You can test it in the FastTrack: Buy something add billing address add shipping address (and phone) click next choose payment/shipping GO BACK and then you see that the phone of the shipping is not saved anymore!

    Thank you
    Calvin

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 05, 2016 @ 16:29
    Rusty Swayne
    0

    Hi Calvin,

    This looks like an error in the FastTrack starter kit. The intent was to show that different models could be used for the Shipping and Billing addresses and I should have removed the phone field from the shipping address form (view) for the example. Missed that.

    If you want to use the shipping address phone number, you can create your own CheckoutAddressController based off the one in fast track and change out the shipping address model in the controller abstract.

    Then override the factory for the CheckoutAddressFactory with one that assigns the phone number by overriding the OnCreate methods.

    I'll also have a look to make sure it's cleaned up.

    Thanks for letting me know.

  • Calvin Frei 106 posts 314 karma points
    Jul 06, 2016 @ 09:42
    Calvin Frei
    0

    Hi Rusty

    You probably misunderstood me.

    I don't use FastTrack but have the same issue. Just tried to tell you how you can replicate the problem.

    After SaveShipToAddress the pone is there but if you redirect it's gone!


    Thanks
    Calvin

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 06, 2016 @ 16:26
    Rusty Swayne
    0

    The address should be saved in the Customer extended data (legacy XML) - can you check the persisted value before and after - maybe it's a retrieval problem but I've not encountered that one before.

    Can you also verify that I'm reading this correct in that the bulk of the shipping address is there, it's just the phone number that is missing ...

  • Calvin Frei 106 posts 314 karma points
    Jul 06, 2016 @ 17:51
    Calvin Frei
    0

    Yes everything is saved except the phone number. It's only missing in the shipping address (billing address works) so thats probably why no one noticed ;-).

    So when you retrieve the shipping (IAddress, XML) with GetShipToAddress() data like firstname, lastname, address, ... is there but the phone number is missing.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 06, 2016 @ 20:08
    Rusty Swayne
    0

    Thanks Calvin,

    This gives me something to setup a few tests with ...

  • Calvin Frei 106 posts 314 karma points
    Jul 14, 2016 @ 14:24
    Calvin Frei
    0

    Hi Rusty

    Do you have any updates about this bug?

    Thanks
    Calvin

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jul 14, 2016 @ 21:35
    Rusty Swayne
    0

    Sorry Calvin - have not been able to get to that one yet. It's in the list though.

  • Calvin Frei 106 posts 314 karma points
    Sep 14, 2016 @ 09:56
    Calvin Frei
    0

    Hi Rusty

    Tested with 2.2.1 and have still the error. So still on the list, right :-)?

    Thanks
    Calvin

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Sep 14, 2016 @ 15:02
    Rusty Swayne
    0

    Yep - it's still there and on the Agile board for 2.3.0. May have to bump it back from 2.3.0 version to an unplanned 2.2.2 patch as 2.3.0 won't be out for a bit.

  • Calvin Frei 106 posts 314 karma points
    Sep 16, 2016 @ 12:35
    Calvin Frei
    0

    If that is possible I would really appreciate it :-).

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Sep 16, 2016 @ 18:02
    Rusty Swayne
    0

    Hey Calvin,

    I found the issue and will merge it into the v2.2.2 branch in a bit.

Please Sign in or register to post replies

Write your reply to:

Draft