How can I remove the 'Breadcrumb' Navigation in the Storefront?

Last Updated: Nov 02, 2018 01:31PM EDT
A few customers have asked how to remove the Breadcrumb Navigation that appears at the top of Category and Product pages in the storefront. For example, in our ProductCart Demo Store, the following Breadcrumb Navigation is shown at the top of this Product page:

Our Products: Metal Art > Lamps

So, how does one go about removing this from the storefront? It's actually pretty straightforward and just involves a small edit to 2 ProductCart files. Find the files called "viewCategories.asp" and "viewPrdCode.asp located in your "pc" directory. Open the files with any text or HTML editor (such as Notepad). In "viewCategories.asp", locate the following lines of code.

response.write dictLanguage.Item(Session("language")&"_viewCat_P_2")
                response.write strBreadCrumb
                intIdCategory=pIdCategory

To remove the breadcrumbs, add an apostrophe (single quote) at the beginning of the 2nd and 3rd line. The lines should now look as follows (notice the apostrophe). 

response.write dictLanguage.Item(Session("language")&"_viewCat_P_2")
                'response.write strBreadCrumb
                'intIdCategory=pIdCategory

In "viewPrdCode.asp", locate the following lines of code.

<%=dictLanguage.Item(Session("language")&"_viewCat_P_2") %>
<%=strBreadCrumb %>

To remove the breadcrumbs, add an apostrophe right after the opening ASP tag ("<%"). The lines should now look as follows (notice the apostrophe). 

<%'=dictLanguage.Item(Session("language")&"_viewCat_P_2") %>
<%'=strBreadCrumb %>

Save the files and reupload them to the "pc" directory on the server. The added apostrophe will make these lines inactive comments and prevent the display of the breadcrumbs. To re-activate the breadcrumbs simply remove the two apostrophes.
647e99095133bd6d1ae916f97dc7f92f@productcart.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete