Page 2 of 3
Re: Meta Keyword Tags
Posted: Sun Mar 28, 2010 3:17 am
by webstudent1
Something missed in
admin/view/template/catalog/product_form.php before or after the meta description:
A few more places you have to add in meta keywords but you can just copy the meta description part.
The admin works 100%
In
in catalog/view/theme/default/template/common/header.tpl and
in catalog/controller/product/product.php there is something missing somewhere.
I'll find it and post it up.
Webstudent1
Re: Meta Keyword Tags
Posted: Wed Apr 07, 2010 8:33 pm
by innovationweb
Hello,
I did what you said, but I have an error
Notice: Undefined variable: keywords in /home/xxxxxx/public_html/simona/catalog/view/theme/default/template/common/header.tpl on line 6
on line 6 is bolded
<?php if (!strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) echo '<?xml version="1.0" encoding="UTF-8"?>'. "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?><?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
Re: Meta Keyword Tags
Posted: Sat Apr 10, 2010 2:30 am
by webstudent1
Your undefined variable is $keywords.
I am leaving this alone for a bit I have some other more important things to update for the next while.
I am sure I will run across what your missing because i have to work on the keywords soon.
'll post it here when I find it.
Re: Meta Keyword Tags
Posted: Mon Apr 12, 2010 10:48 am
by caspara
mwaste and COMPACTER, lol. this thread is full of it.

Re: Meta Keyword Tags
Posted: Mon Apr 12, 2010 9:35 pm
by sunburn1979
To add petrol to the fire so to speak, if the keyword meta tag is so "useless" and defunct, then why do the following companies still make use of it ....
Amazon:
<meta name="keywords" content="digital camera, LCD TV, books, DVD, low prices, video games, pc games, software, electronics, home, garden, video, amazon"/>
Yahoo:
<meta name="keywords" content="yahoo, yahoo uk, yahoo ireland, yahoo home page, yahoo homepage,yahoo search, yahoo mail, yahoo messenger, news, finance, sport, entertainment,games">
Apple :
<meta name="Keywords" content="Apple" /> --- hehe
bbc:
<meta name="keywords" content="BBC, bbc.co.uk, Search, British Broadcasting Corporation, BBC iPlayer, BBCi" />
I would suggest that there is some miss understanding on what the term "keyword" means as its content for the meta tag is totally different than its context for when used within the copy of the website text.
including meta and meta tag information allows supporting search engines and other services another method of categorising your website, content, and theme.
Additionally I think its also worth pointing out, that although google is perhaps one of the best well known search engines it is not by any means the only search again and no where near the most accurate of search engines in its return results per search term.. Therefore, not considering the inclusion of meta keywords within your project is foolhardy.
just my two peny's worth.
Re: Meta Keyword Tags
Posted: Mon Apr 12, 2010 9:50 pm
by Qphoria
And its worth about 2 pennies.
They use it simply because
they've been around a long time and they never removed it from their code
or
their code has a field for it so they feel compelled to enter it
or
they got tired of people whining about it so they just added it.
Re: Meta Keyword Tags
Posted: Mon Apr 12, 2010 10:02 pm
by migz
that's so old schooool!!!!!!
Re: Meta Keyword Tags
Posted: Mon Apr 12, 2010 10:13 pm
by webstudent1
Yes it is all crap and useless.
But if you want google sitelinks the requirements are.
* site registered with google for more than 2+ years
* search engine referrals over 100 per day
* meta descriptions used on webpages
AND wait, wait, wait, wait.
but why when meta keywords are added the your sitelinks possiblity increases.
so is sitelinks worth all this trouble.
I still want them for something I am working on. obviously it is low priority
Re: Meta Keyword Tags
Posted: Mon Apr 12, 2010 10:43 pm
by sunburn1979
Qphoria wrote:And its worth about 2 pennies.
They use it simply because
they've been around a long time and they never removed it from their code
or
their code has a field for it so they feel compelled to enter it
or
they got tired of people whining about it so they just added it.

I doubt that any of the three above points are true and is purely speculation, the point is, it hasn't been proven that the inclusion of meta keywords data has a negative effect on the "health" of your website (if constructed correctly), when some one can prove, that including meta keyword data is detrimental then I'm sure will see the likes of the above companies remove that data, but to state they meta keyword data is useless (when not purely in the context of google (open cart is non discriminating of search engines ) is blinkered, ill informed and not correct.
In fact Yahoo for one do put weight behind the meta keyword tag and thus the benefit of including this tag in your pages if only for perhaps ranking factors in Yahoo out weighs the argument not to include them, after all don't we all want our websites to be found within all the search engines?
I would also argue why people argument their cases as google say this, and google say that there is more than one search engine! I don't doubt that Google is a major player, but websites are typically accessible from the entire world and such, and now that ecommcere is a global platform and Google isn't the predominate search engine in many countries. Russia is a prime example with Yandex being the browser of choice, and Baidu for China. I find comical that individuals cannot see past google.
The discussion on meta keywords inclusion/omission is so google centric that a lot of folk are blinkered to the bigger picture and the purpose of the meta keyword tag in the www as a whole.
Re: Meta Keyword Tags
Posted: Tue Apr 13, 2010 12:09 am
by Qphoria
blah blah blah.. it doesn't matter. The simple fact is that I will be adding it for that last reason.
Re: Meta Keyword Tags
Posted: Tue Apr 13, 2010 9:23 am
by webstudent1
The reason why I am doing meta keywords is 2 fold.
#1 add in the meta keywords as it is supposed to help with SITE LINK qualification.
#2 use the keywords to populate a module that randomly displays the products keywords in a box to help boost them on search engines.
Now I am sure #1 + #2 make this a great search engine little tool.
If i ever get the time to complete this I will be posting it up.
Hopefully this week.
Re: Meta Keyword Tags
Posted: Fri Apr 30, 2010 2:40 am
by greenire2001
I find something on
http://opencart.install.ro. keywords module for openCart 1.4.7
Re: Meta Keyword Tags
Posted: Mon Jun 07, 2010 5:07 am
by Jayd
innovationweb wrote:Hello,
I did what you said, but I have an error
Notice: Undefined variable: keywords in /home/xxxxxx/public_html/simona/catalog/view/theme/default/template/common/header.tpl on line 6
on line 6 is bolded
<?php if (!strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) echo '<?xml version="1.0" encoding="UTF-8"?>'. "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?><?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
Hi I'm pretty new with Opencart.
I had the same error.
This is what I did.
in catalog/controller/common/header.php
After:
Code: Select all
$this->data['description'] = $this->document->description;
Add:
Code: Select all
$this->data['keywords'] = $this->document->keywords;
in catalog/controller/common/home.php
After:
Code: Select all
$this->document->description = $this->config->get('config_meta_description');
Add:
Code: Select all
$this->document->keywords = $this->config->get('config_meta_keywords');
Hope this helps.
Re: Meta Keyword Tags
Posted: Wed Jun 09, 2010 5:09 am
by MattGSX
Looks like someone just took the directions given, cleaned it up, and released it as a paid package.
Re: Meta Keyword Tags
Posted: Wed Jun 09, 2010 5:30 am
by Qphoria
ya seriously. At any rate, its in 1.4.8 for free
Re: Meta Keyword Tags
Posted: Mon Apr 25, 2011 9:00 pm
by bo4man
Hi,
Can anybody tell me how the home page of my store
www.mmashop.bg i can add meta tags <keywords>, coz currently missing .....?
I read things, but never knew which solution works.
Thank you in advance !
Re: Meta Keyword Tags
Posted: Mon Apr 25, 2011 10:41 pm
by i2Paq
Use:
Store Keyword.
It comes with a readme.
Re: Meta Keyword Tags
Posted: Thu Aug 04, 2011 9:16 pm
by SiteE@se
This version only works up to 1.4.9.3. I've modified and tested this for my 1.4.9.5 store but it should also work with 1.4.9.4 and 1.4.9.6
Usual caution to backup files before installing!
Re: Meta Keyword Tags
Posted: Thu Aug 04, 2011 9:29 pm
by uksitebuilder
Correct me if I am wrong here guys (I'm sure you will ha), but if you enter META Keywords that are not part of the body of the site, don't you get penalised for so called 'Keyword Spamming'?
With regards to site links, this search says differently about META Keywords being required for site links
http://www.google.co.uk/search?hl=en&so ... gle+Search
Re: Meta Keyword Tags
Posted: Sat Aug 20, 2011 5:10 am
by i2Paq
SiteE@se wrote:
This version only works up to 1.4.9.3. I've modified and tested this for my 1.4.9.5 store but it should also work with 1.4.9.4 and 1.4.9.6
Usual caution to backup files before installing!
It has been updated (on my request) to work with 1.5.x
