It is possible in Catfish to populate a field in an Infigo Product with the value of a product attribute. What I mean by this is that if you have a product attribute assigned to a product, the value of that attribute can be used to populate a field for the product itself.
This can be useful in many situations, such as having the user enter their name/username in an attribute on the landing page so this information can be carried onto the job ticket, whilst also having the same value appear on the order itself without the user having to type it out twice.
In order to set this up, you will need to create both a product attribute and a text field on the variable template for the product you would like to set up. You will need to remember the name of these and make sure that they are unique, and that there are no variables on the same name contained on the template.
For the sake of this example, I will be creating a blank PDF with only one text field, and I will only be assigning the required product attribute to it. Below are screenshots of the attribute and field names I am using respectively.
I have assigned the product attribute to the product I am using to test this and I have simply set it to a textbox input type and gave it a simple landing label.
Once you have configured the product attribute and assigned it to the Infigo Variable product, you will need to map the variable to the attribute. In order to do this, you need to navigate to Admin -> Catfish -> Infigo Variable Data -> Infigo Settings and assign it in the field ProductAttributeVariableItemMapping.
The mapping follows the template FieldName=AttributeName. See below for an example on how this would be done for the product used in this example:
After completing these steps, the product will now have a textbox on the landing page called "Name" and anything you put into that field will carry through to the text field in the editor - however this can still be changed in the editor itself.
As you can see in the screenshots below:
I have entered "John Doe" into the product attribute on the landing page.
"John Doe" has carried through to the field "NameField"
I have also attached the PDF I created whilst writing this for comparison.