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

How to nofollow home page products only?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-07-2009, 05:25 PM
 
machine11 machine11 is offline
 

Advanced Member
  
Join Date: Feb 2009
Posts: 34
 

Default How to nofollow home page products only?

Hi there, Im looking to nofollow only the homepage products without modifying the nofollow on the products on the rest of the categories. if anyone can help, it would be greatly appreciated
thanks!
Alain
__________________
------------------------------
Alain Picard
Multiple X-Cart v 4.2 and 4.3

SeoBoutiques.com
Custom X-Cart Designs &
Professional X-Cart Customizations

Let us take your business to the next level with a custom X-Cart design focused on converting your visitors into sales!
Reply With Quote
  #2  
Old 04-08-2009, 01:09 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: How to nofollow home page products only?

For the featured products on the home page?

add
Code:
{if $main eq "catalog" && $current_category.category eq ""} rel="nofollow" {/if}
to the links in files
customer/main/products_list.tpl
and
in the customer/main/products_t.tpl
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:14 PM.

   

 
X-Cart forums © 2001-2020