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?
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.
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.
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.
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?
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
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!
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
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
is working on a reply...