Post by webstudent1 » Sun Mar 28, 2010 3:17 am

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

New member

Posts

Joined
Thu Jan 07, 2010 2:24 am

Post by innovationweb » Wed Apr 07, 2010 8:33 pm

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 } ?>

Newbie

Posts

Joined
Fri Apr 02, 2010 2:52 am

Post by webstudent1 » Sat Apr 10, 2010 2:30 am

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.

New member

Posts

Joined
Thu Jan 07, 2010 2:24 am

Post by caspara » Mon Apr 12, 2010 10:48 am

mwaste and COMPACTER, lol. this thread is full of it. :D

DownloadXS.com : Stock Photos & Vintage Illustrations, Fresh PLR Articles and more.
http://www.DownloadXS.com


Newbie

Posts

Joined
Fri Feb 19, 2010 2:16 am

Post by sunburn1979 » Mon Apr 12, 2010 9:35 pm

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.

New member

Posts

Joined
Thu Aug 13, 2009 4:36 pm

Post by Qphoria » Mon Apr 12, 2010 9:50 pm

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.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by migz » Mon Apr 12, 2010 10:02 pm

that's so old schooool!!!!!!

Active Member

Posts

Joined
Mon Feb 01, 2010 2:13 am

Post by webstudent1 » Mon Apr 12, 2010 10:13 pm

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

New member

Posts

Joined
Thu Jan 07, 2010 2:24 am

Post by sunburn1979 » Mon Apr 12, 2010 10:43 pm

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.

New member

Posts

Joined
Thu Aug 13, 2009 4:36 pm

Post by Qphoria » Tue Apr 13, 2010 12:09 am

blah blah blah.. it doesn't matter. The simple fact is that I will be adding it for that last reason.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by webstudent1 » Tue Apr 13, 2010 9:23 am

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.

New member

Posts

Joined
Thu Jan 07, 2010 2:24 am

Post by greenire2001 » Fri Apr 30, 2010 2:40 am

I find something on http://opencart.install.ro. keywords module for openCart 1.4.7

Newbie

Posts

Joined
Fri Apr 30, 2010 2:32 am

Post by Jayd » Mon Jun 07, 2010 5:07 am

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.

Newbie

Posts

Joined
Mon Jun 07, 2010 4:55 am

Post by MattGSX » Wed Jun 09, 2010 5:09 am

greenire2001 wrote:I find something on http://opencart.install.ro. keywords module for openCart 1.4.7
Looks like someone just took the directions given, cleaned it up, and released it as a paid package.

New member

Posts

Joined
Thu May 27, 2010 6:18 am
Location - Oshkosh, WI US

Post by Qphoria » Wed Jun 09, 2010 5:30 am

ya seriously. At any rate, its in 1.4.8 for free

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bo4man » Mon Apr 25, 2011 9:00 pm

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 !

Newbie

Posts

Joined
Sat Mar 19, 2011 10:41 pm

Post by i2Paq » Mon Apr 25, 2011 10:41 pm

Use: Store Keyword.

It comes with a readme.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by SiteE@se » Thu Aug 04, 2011 9:16 pm

i2Paq wrote:Use: Store Keyword.

It comes with a readme.
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!

Active Member

Posts

Joined
Mon Dec 17, 2007 7:40 am
Location - UK

Post by uksitebuilder » Thu Aug 04, 2011 9:29 pm

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

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by i2Paq » Sat Aug 20, 2011 5:10 am

SiteE@se wrote:
i2Paq wrote:Use: Store Keyword.

It comes with a readme.
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 :)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: Amazon [Bot] and 14 guests