Skip to main content
4 of 6
Integrate screenprints in the question
Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182

How to create a rule that loops the line items of a completed order and do a data comparison on a custom field that's on a product?

I'm trying to create a rule that triggers on the event 'Completing the checkout process' that will then loop through the line items of the order. For each line item I'd like to do a Data comparison on a custom field that's on a commerce product.

This is the rule I created:

enter image description here

And this is the component that I was trying to run through the loop:

enter image description here

zurack
  • 13
  • 1
  • 4