I am trying to follow the Commerce Product model of Node Display that references each product.
When I create a product, Rules automatically creates a Node with the same title, and references the product in the node.
However also using Rules, I would like to perform the following:
- When product is updated, update the referencing Nodes Title / Published attribute
- When product is deleted, delete the referencing Node
I can't figure out the way to fetch the Node Entity in Rules at all.
Thanks!
EDIT:
As per @rfay's comment below, I've attempted to go down the Bi-directional reference route, which means installing the References module and create a node_reference field in the product that points back to the node.
Unfortunately however it seems Rules is not providing the means to fetch the node entity, as it is not recognizing the existence of the node_reference field on the product by which to fetch the node from.