1
Answers
Vote up!
0
Vote down!

How can i edit display node on rules Checkout completion event

I am using commerce node checkout and i want to alter the node that is being published when its paid to publish. I don't know how I can select the originating node form rules in completion event and perform some kind of action. The only entity I can select is order and line item.

I tried CER module but it is very buggy and lacks documentation.

Asked by: Alexander Nachev
on January 30, 2015

1 Answer

Vote up!
0
Vote down!

I think the best way to approach this would be a custom rule. Since you can access the line items of an order, you can get to their referenced products. If those products somehow point to the node, you can get to that entity and edit it in your own code.

Answer by: David Wright
Posted: Feb 6, 2015