I'm trying to perform an action on checkout for each line item in an order (fetched with Rules loop).
The action should set value to custom line item fields.

The problem is that those fields are not available in the list of tokens when I choose Set a data value. I tried accessing them but Rules won't let me save the data selector.

Any ideas on how can I access custom fields for line items?


  • Have you added a "entity has field" condition for your custom field? – Clive Mar 28 '14 at 16:29
  • Thanks for quick message. I tried with that as well; I set the condition that first item (0) has my custom field, but it didn't appear in token list for actions. – Aram Boyajyan Mar 28 '14 at 16:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.