Click or drag to resize
CMSProductsPage.EnsureProductBreadcrumbs Method
Creates product breadcrumbs.

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

Parameters

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