Set multiple field values with rules... (Order ref. on Product)
Hi. I'm trying to create an Order reference on Products when ever a new order is created.
I have installer the "Order Reference" module and created a Order reference filed on my produce type.
Next i created the following rule:
1) After saving a new commerce line item
1) Data comparison ( [commerce-line-item:type], Data value: Product )
2) Data comparison ( [commerce-line-item..., Data value: NAME OF TYPE )
1) Set data value [commerce-line-item..., Value: [commerce-line-item:order]
The above rule works fine as long as i limit the Order Reference field to 1 value, but as soon as it is set to multiple the rule breaks.. i get the following error for the action:
Error: The data type of the configured argument does not match the parameter's value requirement.
I'm new to Rules and are kind a lost here.. Have tried to solve this for several days now, so any help would be much appreciated! :)