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

Individual Title + Meta for products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-24-2004, 09:05 AM
 
nerd luv nerd luv is offline
 

Advanced Member
  
Join Date: Jun 2003
Location: California, USA
Posts: 58
 

Default Individual Title + Meta for products

Does anyone know if there has been any solution created to allow us to give title tags and meta to each product? The only thing I have seen is Funkydunk's "total meta tag control" mod (http://forum.x-cart.com/viewtopic.php?t=3703) and that pertains to categories rather than products. I've searched through the forums and have only seen people inquiring about this, rather than any solutions. Have I missed them or is individual control of the title/meta tags really not an issue for everyone here?

My store has always gotten the bulk of its traffic from search engine results because we spend an increasing amount of effort on keeping the title (and meta) tags up to date for each product. If the ability to do this were lost using X-Cart... I wouldn't even want to imagine the traffic and customers that could be lost.

Any ideas?
__________________
Always happy to Paypal over some money for X-Cart solutions. I need to get this store running! Help!
--Testing 3.5.8, heavily modified, Linux, Apache 1.3.31, PHP 4.3.4--
Reply With Quote
  #2  
Old 05-24-2004, 10:42 AM
 
Mod King Mod King is offline
 

Senior Member
  
Join Date: May 2004
Posts: 115
 

Default

All you have to do is edit meta.tpl and home.tpl

In meta.tpl put something like

{if $main eq "product"}put meta tags here, i believe the product info is {$product.descr} for example{/if}
__________________
Mod King
Reply With Quote
  #3  
Old 05-24-2004, 11:13 AM
 
nerd luv nerd luv is offline
 

Advanced Member
  
Join Date: Jun 2003
Location: California, USA
Posts: 58
 

Default

If I understand correctly, doing that would take the universal meta.tpl file, and add an IF statement that would display the product information (for example) in the meta?

What I need to be able to do is enter unique information different from anything that is entered in my store. (For instance, certain marketing-like words would be overly akward in my product description or name, yet they improve SE ranking and are appropriate in the title tag) The meta is an important issue as well, but the unique title tags are absolutely essential.

Note: I am using version 3.4.14
__________________
Always happy to Paypal over some money for X-Cart solutions. I need to get this store running! Help!
--Testing 3.5.8, heavily modified, Linux, Apache 1.3.31, PHP 4.3.4--
Reply With Quote
  #4  
Old 05-25-2004, 02:26 PM
 
nerd luv nerd luv is offline
 

Advanced Member
  
Join Date: Jun 2003
Location: California, USA
Posts: 58
 

Default solved!

CartMods.com was able to quickly create a mod that did this for me. Hopefully they'll add it as one of their standard mods, but if not, I would highly suggest contacting them and asking for this one. Having encountered so many unhelpful online businesses, it was a refreshing experience to deal with such prompt and polite people!

I now have the ability to set a unique title, meta keywords, and meta description for each product. This is absolutely invaluable for good search engine rankings, and EVERY cart should be able to do this.
__________________
Always happy to Paypal over some money for X-Cart solutions. I need to get this store running! Help!
--Testing 3.5.8, heavily modified, Linux, Apache 1.3.31, PHP 4.3.4--
Reply With Quote
  #5  
Old 05-25-2004, 07:35 PM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

This is awsome We have actually been looking for this ourselves!
Reply With Quote
  #6  
Old 05-25-2004, 08:43 PM
 
Mod King Mod King is offline
 

Senior Member
  
Join Date: May 2004
Posts: 115
 

Default

I just added the mod to our site

Remember everyone because you are members of this forum you get a 15% discount. Just enter 'xcart_forums' for the coupon name.

But make sure you use this offer before the end of may, after that the coupon will no longer be available.
__________________
Mod King
Reply With Quote
  #7  
Old 05-29-2004, 06:01 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

I just grabbed a couple add-ons from you Mod King, can't wait to get them goin. I'd also like to thank you for making your prices fair and affordable; I'll definitely be back.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #8  
Old 05-31-2004, 08:09 PM
 
walkerconsulting walkerconsulting is offline
 

Newbie
  
Join Date: Jan 2004
Posts: 5
 

Default

are you talking about a mod like what I have on my site www.walkerconsulting.net ?
Reply With Quote
  #9  
Old 08-23-2004, 08:38 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

I was told that the meta tag is already in the new version 4+, but I don't believe it offers individual meta tags for each item, but rather the same accross the board. Can anyone advise how to make them individual in the new version, if possible? Thanks.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #10  
Old 09-01-2004, 02:35 AM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default

Quote:
{if $main eq "product"}put meta tags here, i believe the product info is {$product.descr} for example{/if}


I want to put description as

{if $main eq"product"}
<META NAME="description" CONTENT="{$product.product}">
{/if}


However, I am confused about {$product.product}, that code doesn't work (I think!) I tried code for product id and it showd perfect, but I want to show product title there, and above code doesn't work.

What should I put up there?

Thanks
__________________
X-Cart Version 4.1.8
Hosted on Linux
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 06:11 PM.

   

 
X-Cart forums © 2001-2020