Like categories, you have two methods for building page menus for your store, using the built-in menu component. An example of creating a basic page menu similar to previous CFWebstore versions would be as follows:
The arguments for the page menu are similar to the category, with no menu_type option and using parent_ID for the top-level page ID.
As with categories, you also have the option to use the XML export function. This is called using:
Application.objMenus.xmlPageTreeCreator();
As with categories, this XML export is then used for whatever style menu you wish. A sample of code creating a CSS/DHTML menu from this XML is found in the layouts/do_pagemenu.cfm page. See Customizing Store Menus in the Programmer’s Guide for more information on customizing this code and using it for other styles of menus.