This is the documentation for LemonStand V1, which has been discontinued. You can learn more and upgrade your store here.

LemonStand Version 1 Has Been Discontinued

This documentation is for LemonStand Version 1. LemonStand is now offered as a cloud-based eCommerce platform.
You can try the new LemonStand and learn about upgrading here.

Generating Breadcrumbs

The page hierarchy information can be used for generating dynamic breadcrumbs. You can use the following code for displaying the UL element with links to the parent pages of a current page.

The code calls the navigation_parents() method of the current page. This method returns a list of the page parents in reversed order. Then the code iterates through the list of the page parents and outputs a link and a page label for each parent. You can place this code into a template in order to have automatically generated breadcrumbs on each page of your website.


Previous: Generating Site Maps
Return to LemonStand Back-End