Copied to clipboard

Flag this post as spam?

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


  • Mark Zawodny 9 posts 72 karma points
    Jun 05, 2018 @ 18:42
    Mark Zawodny
    0

    Last Name Disappears

    TeaCommerce v2.2.2

    We've had an issue surface all of a sudden where the billing last name stopped storing in the database. Nothing was changed with our TeaCommerce instance or configuration, and nothing changed with the front end forms. It simply just stopped storing only the lastName field. All other fields appear to be saving appropriately.

    Very strange. Anyone else had or having this issue?

  • Barry 15 posts 56 karma points c-trib
    Jun 05, 2018 @ 21:52
    Barry
    0

    Hi Mark

    Not sure this would be happening but have you investigated the log files as this would be my first port of call?

    \App_Data\Logs\

    Also check the event viewer as this may also capture additional information

  • Mark Zawodny 9 posts 72 karma points
    Jun 06, 2018 @ 14:53
    Mark Zawodny
    0

    Hi Barry, I did check the logs in App_Data and the event viewer and there is nothing there related to this issue (no db errors, no umbraco errors). Nor is there anything in the browser console. It's saving the rest of the cart, billing, and shipping data successfully, so I dont think there is an error to throw.

    When you create a new order through the storefront OR when you try to edit an order through the Order Details page in the Umbraco backoffice, the last name does not save. See the screenshot below.

    Thanks for your help!

    backoffice screenshot

  • Barry 15 posts 56 karma points c-trib
    Jun 09, 2018 @ 22:22
    Barry
    0

    Given that nothing changed but it stopped working my next steps would be to try and trace the data from the browser through Umbraco and even into SQL profiler.

    One more thing to check before starting to trace the data through would be to see if the value has been stored in the database but is simply not being returned,

    Past this someone with more knowledge of Tea Commerce would be required, especially for a product version that is 4 years old.

    Sorry i couldn't help more

  • Anders Burla 2560 posts 8256 karma points
    Jul 05, 2018 @ 07:37
    Anders Burla
    0

    Hi Mark

    The back office of Tea Commerce uses some JavaScript to find the different order properties and the values of the fields and then save tem. Can you see if the JavaScript is finding your text field and sent it along in the JS call to update the order properties? Check using the Chrome console.

    And I think the lastName property alias must be named in a correct was. See what your settings say for the last name order property alias. Is in the Tea Commerce back office in settings that is defined.

    Kind regards

    Anders

Please Sign in or register to post replies

Write your reply to:

Draft