Undefined error in concatenated data field.

I am concatenating data from an input form to create a product description. Only some of the concatenaded data is importing. Not sure what I am doing wrong. New to Corvid. Any help would be appreciated. Thanks

Here are the error messages in the description field. All the dimension info is missing.

Here is the code I was using in the ProductsSubmission function under 3D categoryId.

Hi Robin,

After looking at the screenshots, I can see that the item size and details are coming in as undefined. This can be due to a number of things. I would suggest double checking the field key of the column in the collection for the size and details. Make sure that the code matches that field key of those two columns.

If the field keys match and it is still coming in as undefined, send over the editor link or url of your site so I can take another look.

Best regards,
Edward

Thank you Edward. This site is intended to be an artists e commerce site where the artist fills out the form and submits thier product details. The information is then formatted to conform to the Wix stores data template.

I checked the field keys and they seem to be in order. I am testing this out on a copy of the site. Here is the URL https://robinimc.wixsite.com/website-1

Hope this helps,
Robin

Hi,

After taking a look at the site and code, I was unable to locate where you call the beforeInsert() function that you created in the backend.
I can suggest using console.log() to check the results that your code is returning and debug it by using the tools mentioned here .

*Please note that we do not provide coding solutions but rather give guidance and point you to articles and API’s that would help you learn and achieve your goals.
If you feel like you are struggling with code and cannot make it alone, please consider hiring a Wix Partner to help you build your site.

You got this!
Edward