Is there a way to loop trough multiple list items using rules, calculate some value (done trough here) and than that value to be available out of loop?
I need to loop trough content fields of some content type, look for value of that field and multiply it with the value of another field [done]
and then sum the results of each line calculation in some sort of var or something that will be available out of that loop. [no solution for this]
Maybe is a noob question but Im trying for 1 day with this problem. :-(
Comments
Comment #1
SilviuChingaru commentedAlso is there a way to add condition something like
commerce-order:commerce-line-items:*:type EQUALS productinstead of
in order for a custom field to be available for an action loop???
Thank you for any help.
Comment #2
petergus commentedim trying to do do this to, have you figured it out? (saving the loop result into a var)
Comment #3
tr commentedSee #1234000: loops do not save changes of variables going out of scope