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

Meta tags for Product pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #31  
Old 01-11-2005, 05:07 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

Jim. Your email bounced back to me when I replied this morning. Here's a copy of my email:
Quote:
Jim,

Looks like you're missing an {elseif $main eq "product"} part.

Here's mine for 3.5.5. This is optimized for search engines a bit by putting the product and category names first in the title (product if on a product page, category if on a category page).

Notice this part below:
Code:
{elseif $main eq "product"} {if $product.product ne ''} {$product.product}{/if}

I hope this helps!

Carrie
Code:
<title> {if $main eq "catalog"} {if $location eq ""} {$lng.txt_subtitle_home} {else} {strip} {section name=position loop=$location start=0 } {if %position.last% eq "true"} {$location[position].0|escape}{/if} {/section} {/strip} {/if} {elseif $main eq "product"} {if $product.product ne ''} {$product.product}{/if} {elseif $main eq "help"} {$lng.txt_subtitle_help} {elseif $main eq "cart"} {$lng.txt_subtitle_cart} {elseif $main eq "checkout"} {$lng.txt_subtitle_checkout} {elseif $main eq "order_message"} {$lng.txt_subtitle_thankyou} {elseif $main eq "wishlist"} {$lng.txt_subtitle_wishlist} {elseif $main eq "giftcert"} {$lng.txt_subtitle_giftcerts} {/if} @ {$lng.txt_site_title} </title>

I hope that helps!

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #32  
Old 01-11-2005, 07:40 AM
 
Jim K. Jim K. is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: USA
Posts: 35
 

Default Thank You!

Carrie,

Even though it's raining and nasty outside today, I am a happy camper. You made my day with this mod. It now works perfectly. I really like the product name showing up first before the store name. Thanks for all your help.

Jim K.
__________________
3.5.7
Reply With Quote
  #33  
Old 01-14-2005, 10:15 AM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

Looks liken the X-cart team thought this mod was a good idea. Check out this from the 4.0.10 changelog:

"Thu Dec 23 15:51:00 MSK 2004[*] - svowl - Improvement: On the product details page (customer area) meta tags based on the product title and short description are used."
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #34  
Old 01-14-2005, 10:38 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

Thanks for the info Alltribes! I didn't notice that. I'll be curious to see how they did it compaired to how I did it. Guess my free version is only good then for versions earlier than 4.0.10, the paid version is still a bit more flexible it seems.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #35  
Old 01-14-2005, 12:20 PM
  Alltribes's Avatar 
Alltribes Alltribes is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 192
 

Default

I was just about to install your mod when I saw that. I'm going to have them upgrade me with my next project and see if I need to anymore.
__________________
Alltribes.com
Native American Jewelry
Pottery, Baskets, Kachinas & More

X-cart Gold Version 4.0.17 Live
PHP 5.2.6
MySQL 4.1.25
(mt)
Reply With Quote
  #36  
Old 05-23-2005, 07:45 PM
 
matt2005 matt2005 is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: Michigan
Posts: 58
 

Default 4.0.13?

does this mod work with 4.0.13? it seems the meta.tpl is different..

I'm using the free mod..
__________________
XC4.1.12
Reply With Quote
  #37  
Old 06-11-2005, 07:03 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

Yes it should work for 4.0.13 I may need to update the instructions though as the meta.tpl has changed a lot in the last (2 I think) x-cart versions. As X-cart is trying to implement something similar to my free mod. Although I haven't seen in the x-cart admin yet where to set product keywords or descriptions.

Let me know if you can't figure it out for 4.0.13. When I have a chance, I'll update the code on my site.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #38  
Old 06-13-2005, 06:03 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

I have updated my meta.tpl for version 4.0.13 for my free and paid versions. If you've previously gotten either one from me and would like a new copy, just put in a ticket here with your order number and I'll reissue you a download key for the free one or email you an update for the paid one.

http://support.bcsengineering.com/

Thanks!

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #39  
Old 06-14-2005, 03:43 AM
 
rossco rossco is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 97
 

Default

Works flawlessly in 4.0.12 even though I had to use the 4.0.13 Meta.tpl

Now getting results like this across all products

Title: 75 SpeakerMate Model 4 :: Speakermate :: Pro Equipment :: Ross Custom Cabinets
Description: 113 Click here for SpeakerMate Model 4 connection examples Click here for detailed instructions in Adobe pdf format
Keywords: 61 SpeakerMate,Model,4,SpeakerMate Model 4,ross custom cabinets,

Meta tags analysis.
Title: Title meta tag contains no errors.

Title relevancy to page content is excellent.
The Title relevancy to page content is 100%.

Description: Description meta tag contains no errors.

Description relevancy to page content is excellent.
The Description relevancy to page content is 100%.

Keywords: Keywords meta tag contains no errors.
This tag contains 5 keywords and 61 characters.

Keyword relevancy to page content is excellent.
The keywords relevancy to page content is 100%.

Robots: Found no robots meta tag.

Author: Found no author meta tag.

Does anyone know if there's a mod for placing robots.txt and author name on each page?

Allan
__________________
How loud do you want it?

X-Cart Gold 4.0.12 & 17
Reply With Quote
  #40  
Old 06-14-2005, 04:33 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

Allan,

Great to see those excellent results. What tool did you use to analyze it?

You can put the robots and author meta tags before the {* BCSE begin *} code would probably be the easiest place to put it.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 08:07 AM.

   

 
X-Cart forums © 2001-2020