Hi all!
I'm currently working on implementing a website in Umbraco 13 for a client, and I've encountered a specific requirement that I'm unsure how to best implement.
The client has a content structure where categories can have products as sub-nodes. The root node (category) contains properties that should also be present at the product level. For example, if the category has a property called "color" with the value "red," this value should be pre-filled for the "color" property of the products under that category. However, it should still be possible to edit the value at the product level.
Has anyone dealt with this use case before or knows the best way to implement this in Umbraco 13? I considered using a NotificationHandler, such as "ContentPublishedNotification," to pre-fill the fields if they are not already filled in. However, this approach seems suboptimal as it requires the content to be saved first before the pre-filled values are visible to the client.
Any insights or suggestions would be greatly appreciated!
Thanks in advance!