PublishedContentExtensions
public static class PublishedContentExtensions
Namespace
Methods
GetProductSourceNode
Gets a product nodes source if one exists. Only to be used if using Umbraco nodes as product information data source.
public static IPublishedContent GetProductSourceNode(this IPublishedContent productNode,
bool recursive = true)
Parameters
Parameter | Description |
---|---|
productNode |
The product node that is linked to the product source node. |
recursive |
Whether to search recursively for the source relation. |