This Function Has Been Available Since:|
(AFCommerce v 2.1, Functions v 1.1)
Creates a string of the categories a user has navigated through.
string = afc_get_breadcrumb_string (catid, pid, langid)
This function creates the string of categories that appears across the top (by default) of your product and category pages, showing the user the path to the current page that they have navigated through to get to the current page. All categories will become links to that category's main page.
catid (integer) - The category id for the current category the user is browsing.
pid (integer) - The product id number of the current product the user is browsing.
langid (integer) - The current language id the visitor is using.
Returns a string with the path to the current product or category page the user is viewing. This string is printed at the top of your category and product pages (by default). You may move this string to any place you like, the default string is printed in toplayout.php
Open Source: No
There are currently no examples for this function.
Back to Functions List