Click or drag to resize
ProductUIHelperEnsureProductBreadcrumbs Method
Creates product breadcrumbs.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static void EnsureProductBreadcrumbs(
	Breadcrumbs breadcrumbs,
	string productText,
	bool isSection = false,
	bool targetParent = true,
	bool displaySuffix = true
)

Parameters

breadcrumbs
Type: CMS.UIControlsBreadcrumbs
Breadcrumbs control.
productText
Type: SystemString
New object text which is displayed in breadcrumbs.
isSection (Optional)
Type: SystemBoolean
Object is section.
targetParent (Optional)
Type: SystemBoolean
Add Target _parent to parent breadcrumb
displaySuffix (Optional)
Type: SystemBoolean
Display breadcrumbs suffix.
See Also