Discussions
Copy Custom Line Item Fields to Custom Body Fields
Hello JavaScript Experts,
Another quick question on JavaScript.
I have created a script that looks at the line item of a sales order and copies it into a custom body filed so that we can see it in the Fullfillment screens i.e. pick/pack/ship. The first function "grab_line_options()" works perfect, and if their is more than one item added to the sales order it will loop through and copy each line item text into the custom body field and separate them with a ",". Then I needed to get the center cookie message and the gift message to do the same thing. I modified the script to create the