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
  #11  
Old 11-23-2004, 02:40 PM
 
Metal-X-Man Metal-X-Man is offline
 

eXpert
  
Join Date: Mar 2003
Location: Columbus, Ohio
Posts: 204
 

Default

Just a follow-up to this posting. The following code does work, just make sure you are careful where in the "meta.tpl" you are placing this code. There are plenty of "if" statements in "meta.tpl". Make sure you don't get your code nested inside another "if" statement.

{if $main eq "product"}
<META NAME="description" CONTENT="{$product.product}">
{else}
<META NAME="description" CONTENT="Your normal meta description here">
{/if}
Reply With Quote
  #12  
Old 11-23-2004, 10:29 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Save yourself some problems go to the link below and you will get this mod for free.

It works great I have implemented on my site

http://bcsengineering.com/store/catalog/Product_Meta_Tags__FREE_Xcart_Mod-p-88.html

Please give Carrie some big Kuddos on this one.

I hope this will help

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #13  
Old 11-24-2004, 02:18 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Yeah i've gone with Carries @ BCSE as well and it works great
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #14  
Old 11-24-2004, 06:02 AM
 
Metal-X-Man Metal-X-Man is offline
 

eXpert
  
Join Date: Mar 2003
Location: Columbus, Ohio
Posts: 204
 

Default

Quote:
Save yourself some problems go to the link below and you will get this mod for free.

I wish it were that easy. Some of my 100,000 products don't have descriptions so I needed to add a few iterations to check each piece of data. It works really well. Good news is, this is only a smarty mod, no new PHP needed. Bad news - I have to rerun my 100,000 product catalog. I have a cron script to run the catalog however.

I looked at the link...I think I'll buy a few of the other mods!
Reply With Quote
  #15  
Old 01-05-2005, 02:57 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Quote:
Originally Posted by Metal-X-Man
Quote:
Save yourself some problems go to the link below and you will get this mod for free.

I wish it were that easy. Some of my 100,000 products don't have descriptions so I needed to add a few iterations to check each piece of data. It works really well. Good news is, this is only a smarty mod, no new PHP needed. Bad news - I have to rerun my 100,000 product catalog. I have a cron script to run the catalog however.

I looked at the link...I think I'll buy a few of the other mods!

You could do this in a matter of seconds using CVS by simply copying and dropping the information into the correct tables.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #16  
Old 01-25-2005, 12:41 PM
  BCSE's Avatar 
BCSE BCSE is online now
 

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

Default

Quote:
Originally Posted by Metal-X-Man
Quote:
Save yourself some problems go to the link below and you will get this mod for free.

I wish it were that easy. Some of my 100,000 products don't have descriptions so I needed to add a few iterations to check each piece of data. It works really well. Good news is, this is only a smarty mod, no new PHP needed. Bad news - I have to rerun my 100,000 product catalog. I have a cron script to run the catalog however.

I looked at the link...I think I'll buy a few of the other mods!

I also have a paid version now that combines the free mod features with being able to use extra fields to add keywords meta tags and description meta tags. If there's no data in the extra fields for keywords and/or description then it will auto generate keywords and/or description for you with data from the product. So the paid one may work better for you since you don't have descriptions for most of your products. You can find it here:
http://www.bcsengineering.com/store/customer/product.php?productid=95&MMCF_xf_pmt

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
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 03:09 PM.

   

 
X-Cart forums © 2001-2020