Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Breadcrumb for catalog and products ONLY

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-12-2007, 08:47 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Breadcrumb for catalog and products ONLY

I will like to show the breadcrumb only in the pages
related to catalog, and product details page.

Does anybody know what file i need to modify and
what code to replace with what?

thanks
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #2  
Old 02-12-2007, 09:43 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Breadcrumb for catalog and products ONLY

In customer/home.tpl, replace this:

{include file="location.tpl"}

with this:

{if $main eq "catalog" and $current_category.category eq ""}
{elseif $main eq "product" or $main eq "catalog"}{include file="location.tpl"}{/if}

That will cause the breadcrumbs to only show up on the product and category pages.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:05 PM.

   

 
X-Cart forums © 2001-2020