X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   HELP on installed meta tag mod (https://forum.x-cart.com/showthread.php?t=10556)

belservice 11-24-2004 09:01 AM

HELP on installed meta tag mod
 
I have installed the free mod from http://www.bcsengineering.com/store/customer/product.php?productid=88&cat=7&page=1

Since i use this modification to have better product keywords now i have two times the meta keyword tag. Not the same meta tags but what will search engines do if they see that you have 2 line for the meta keyword tag? probally i will be penalized. It seems that the mod works fine but there is an error some where that creates double meta keyword tag.

Take a look at our site and see the page source : http://www.belservice.com/customer/product.php?productid=24404&cat=250&page=1

Is there somebody in here that know about this? and can tell me what code do i need to change to make this work better? Thanks for the help.

I have x-cart version 3.5.8

Below you can find my actual meta.tpl file. I think some code is not ok in there?

{* $Id: meta.tpl,v 1.13.2.2 2004/05/20 08:25:04 mclap Exp $ *}
<meta http-equiv="Content-Type" content="text/html; charset={$default_charset|default:"iso-8859-1"}">
{* BCSE Begin *}
{if $product.fulldescr ne ""}
<meta name="description" content="{$product.fulldescr|strip_tags:true|strip |truncate:150}">
{elseif $product.descr ne ""}
<meta name="description" content="{$product.descr|strip_tags:true|strip|tru ncate:150}">
{else}
{* BCSE End *}
<meta name="description" content="Bij belservice.nl goedkoop alle gsm en vaste telefoon toestellen. Alle merken van Nokia, sonyericsson, siemens, samsung tot sagem en sendo. Tevens vindt u bij belservice.nl alle accesoires voor uw gsm. Bluetooth headsets, frontjes en laders. Uiteraard altijd laag geprijst. Bedrijven kunnen ook terecht bij belservice.nl. Wij hebben vele isdn centrales, isdn en dect telefoon toestellen en alles wat u nodig heeft voor uw bedrijfs communicatie. Zakelijke klanten krijgen altijd extra korting. In ons assortiment vindt u siemens gigaset, tiptel en vele andere merken.">
{/if} {* BCSE added *}
{* BCSE Begin *}
{if $product_meta_keywords ne ""}
<meta name="keywords" content="{$product_meta_keywords}">
{else}
{* BCSE End *}
<meta name="keywords" content="gratis GSM mobieltje, gsm accessoires, gsm aanbiedingen, cashback abonnement, abonnement afsluiten, headsets, bluetooth, carkits, frontjes, datakabels, nokia, samsung, motorola, siemens, sonyericsson, panasonic, kpn, orange, hi, telfort, debitel, vodafone, t-mobile, dect, isdn adsl, telecom advies">
{/if} {* BCSE added *}
{if $usertype eq "P" or $usertype eq "A"}
<meta name="ROBOTS" content="INDEX">
<meta name="ROBOTS" content="FOLLOW">
{/if}
{if $current_category.meta_tags ne ""}
<meta name="keywords" content="{$current_category.meta_tags}">
{/if}
{if $webmaster_mode eq "editor"}
{if ($usertype eq "P" or $usertype eq "A") and $current_language ne ""}
<script>var store_language = "{$current_language}"</script>
{else}
<script>var store_language = "{$store_language}"</script>
{/if}
<script>
var catalogs = new Object();
catalogs.admin = "{$catalogs.admin}";
catalogs.provider = "{$catalogs.provider}";
catalogs.customer = "{$catalogs.customer}";
catalogs.partner = "{$catalogs.partner}";
catalogs.images = "{$ImagesDir}";
catalogs.skin = "{$SkinDir}";
</script>
{if $user_agent eq "ns"}
<script src="{$SkinDir}/editorns.js"></script>
{else}
<script src="{$SkinDir}/editor.js"></script>
{/if}
{/if}[/url]

CC 11-24-2004 09:11 AM

I would imagine that you are getting one set of keywords from this mod, and the other from the standard X-Cart set.

I could be wrong as I have not seen this mod myself.

But your keywords dont match on your site, so it isnt this mod creating them twice, it must be from 2 separate locations, such as my guess above.

funkydunk 11-24-2004 09:25 AM

I have not seen this mod either, looks like you ought to go back to BSCE and resolve rather than posting here or PM'ing individual members for responses.

I am not a general purpose helpline for anyone that gets stuck on any mod that has been released anywhere in the world. I am a private individual running my own business and like most people, my time is precious to me.

You could also help people to help you by posting your version number as per the forum rules.

shan 11-24-2004 10:13 AM

Quote:

Originally Posted by funkydunk
I have not seen this mod either, looks like you ought to go back to BSCE and resolve rather than posting here or PM'ing individual members for responses.

I am not a general purpose helpline for anyone that gets stuck on any mod that has been released anywhere in the world. I am a private individual running my own business and like most people, my time is precious to me.

You could also help people to help you by posting your version number as per the forum rules.


I second that.

Its not right to pm mods or others asking for them to read your post.

No one gets paid to do this. its out of good will

belservice 11-24-2004 10:39 AM

Ok
 
I am sorry for spending youб╢re precious time. I was just asking for some help and maybe that i could help some others people by showing this free mod. But thanks anyway.

CC 11-24-2004 10:42 AM

I think that is what they are pointing out, their time is precious, the same as everyone's.

I think the fact you obviously PM'd them was a little much.
Perhaps just asking the question here would be enough, there isn't much need to PM them directly.

But better yet, contact BCSE as they made it... That would be my first point of contact.

belservice 11-24-2004 10:59 AM

Still
 
If there is somebody there who knows about this issue pls let me know!

CC 11-24-2004 11:01 AM

Try removing the keywords already set in X-Cart and see if they disappear in the output.

belservice 11-25-2004 01:44 AM

You mean
 
Do you mean that i have to delete the keywords set in the meta.tpl? and see if it works?

cotc2001 11-25-2004 03:21 AM

Go and talk to BCSE , ask if they will install it for you (of course at a fee - time = money)

It's a good mod, it's worth the installation fee if you cant install it correctly yourself.

even it's free and I installed it myself I would still make a donation just to say thank you.

belservice 11-25-2004 04:34 AM

No problem for me
 
No problem, i am willing to pay for some modifications. You don't even know how much i already pay so that's not the problem. But if i can do it myself why not? And there is a forum where i can ask some help. But it seems that this here is a marktplace or something. I thought this forum is for people searching for help? an discuss? But it seems that money rules in here? SERVICE

BUT IS THERE ANYBODY THAT KNOWS MORE ABOUT THIS ISSUE? i still did not solve this problem so i hope that there is somebody that know what the error is?

Thanks

funkydunk 11-25-2004 04:53 AM

I think that people have already been trying to help you.

Read what they have suggested/ advised and apply it and your problems will disappear.

This is not a marketplace - but INSISTING THAT PEOPLE ANSWER YOU BY USING CAPITALS or pm'ing them is quite frankly a little rude.

This is a self help forum - people will give free help IF they have the time AND know the answer already. If they dont have either, you need to pay someone to interupt their schedule and take it on.

cotc2001 11-25-2004 04:57 AM

Quote:

Originally Posted by funkydunk
You could also help people to help you by posting your version number as per the forum rules.


and you still havent taken heed of this advice!!!

I think it should be made stick (if not already) with the subject "No version number in SIG no help!!"

belservice 11-25-2004 05:03 AM

X-cart version
 
I have x-cart version 3.5.8

funkydunk 11-25-2004 05:06 AM

most likely the problem is at the top of customer/home.tpl or within meta.tpl

if the keywords is in customer/home.tpl - take it out.

If it is the meta.tpl then you need to rewrite the logic of that because it is bringing up duplicates.

but to be honest i think you are wasting your time - very few search engines really look at meta tags any more - far better off spending your time on the content and other issues - see the search engine forum for more info.

[/end]

Sembroidery 11-25-2004 05:09 AM

Re: No problem for me
 
Quote:

Originally Posted by belservice
But if i can do it myself why not? And there is a forum where i can ask some help. But it seems that this here is a marktplace or something. I thought this forum is for people searching for help? an discuss? But it seems that money rules in here?


It is obvious that you could not do it yourself. Asking people here for help is fine. We all do it all the time. There are many ways you can do this though. The way you have chosen will most likely NOT take you where you want to go.


Quote:

BUT IS THERE ANYBODY THAT KNOWS MORE ABOUT THIS ISSUE? i still did not solve this problem so i hope that there is somebody that know what the error is?


Did you try with MOST obvious place to look for help - the people who made the mod you are interested in?

BCSE 11-25-2004 06:09 AM

I've "sold" 58 of this mod so far and this is the first person to have a problem installing it. It looks to me like you have another mod for meta tags that's conflicting with it. It doesn't even look like your home.tpl is using meta.tpl Post your home.tpl for us to look at.

You can also see if it's my mod doing this or if it's something else by replacing your meta.tpl with your backup meta.tpl If you still get 2 keyword lines then it's something else.

Carrie

funkydunk 11-25-2004 06:22 AM

the logic in the meta.tpl say that:

- if there is product keywords show them
- if the current category has keywords show them.

This is the two sets of keywords.

BCSE 11-25-2004 06:39 AM

Code:

{* $Id: meta.tpl,v 1.13.2.2 2004/05/20 08:25:04 mclap Exp $ *}
<meta http-equiv="Content-Type" content="text/html; charset={$default_charset|default:"iso-8859-1"}">
{* BCSE Begin *}
{if $product.fulldescr ne ""}
<meta name="description" content="{$product.fulldescr|strip_tags:true|strip|truncate:150}">
{elseif $product.descr ne ""}
<meta name="description" content="{$product.descr|strip_tags:true|strip|truncate:150}">
{else}
{* BCSE End *}
<meta name="description" content="Bij belservice.nl goedkoop alle gsm en vaste telefoon toestellen. Alle merken van Nokia, sonyericsson, siemens, samsung tot sagem en sendo. Tevens vindt u bij belservice.nl alle accesoires voor uw gsm. Bluetooth headsets, frontjes en laders. Uiteraard altijd laag geprijst. Bedrijven kunnen ook terecht bij belservice.nl. Wij hebben vele isdn centrales, isdn en dect telefoon toestellen en alles wat u nodig heeft voor uw bedrijfs communicatie. Zakelijke klanten krijgen altijd extra korting. In ons assortiment vindt u siemens gigaset, tiptel en vele andere merken.">
{/if} {* BCSE added *}
{* BCSE Begin *}
{if $product_meta_keywords ne ""}
<meta name="keywords" content="{$product_meta_keywords}">
{else}
{* BCSE End *}
<meta name="keywords" content="gratis GSM mobieltje, gsm accessoires, gsm aanbiedingen, cashback abonnement, abonnement afsluiten, headsets, bluetooth, carkits, frontjes, datakabels, nokia, samsung, motorola, siemens, sonyericsson, panasonic, kpn, orange, hi, telfort, debitel, vodafone, t-mobile, dect, isdn adsl, telecom advies">
{/if} {* BCSE added *}
{if $usertype eq "P" or $usertype eq "A"}
<meta name="ROBOTS" content="INDEX">
<meta name="ROBOTS" content="FOLLOW">
{/if}
{if $current_category.meta_tags ne "" and  $product_meta_keywords eq ""} {* NOTE I added this AND for you *}
<meta name="keywords" content="{$current_category.meta_tags}">
{/if}
{if $webmaster_mode eq "editor"}
{if ($usertype eq "P" or $usertype eq "A") and $current_language ne ""}
<script>var store_language = "{$current_language}"</script>
{else}
<script>var store_language = "{$store_language}"</script>
{/if}
<script>
var catalogs = new Object();
catalogs.admin = "{$catalogs.admin}";
catalogs.provider = "{$catalogs.provider}";
catalogs.customer = "{$catalogs.customer}";
catalogs.partner = "{$catalogs.partner}";
catalogs.images = "{$ImagesDir}";
catalogs.skin = "{$SkinDir}";
</script>
{if $user_agent eq "ns"}
<script src="{$SkinDir}/editorns.js"></script>
{else}
<script src="{$SkinDir}/editor.js"></script>
{/if}
{/if}


Try that. Add the code near the NOTE or copy the whole thing.

Carrie

CC 11-25-2004 08:30 AM

Boy I wish I had been more rude in my post for help yesterday, he is doing quite well now. :D

Just kidding! :wink:

Sorry to hijack this, but will this mod work with 4.0.x?

BCSE 11-25-2004 05:51 PM

CC.

Yes it will work in 4.0.x too. I have that in the zip file for 4.0.x and installed it on 2 clients sites this week with 4.0.x.

Carrie

CC 11-26-2004 12:16 AM

Lovely.

I notice on your site it now says for 4.x
I placed an order yesterday for a couple of bits including this, just waiting for you to process now. ;)

belservice 11-26-2004 01:49 AM

It feel so good to be back
 
Yes BSCE thanks for the last meta.tpl file. That was the rigt way to do it. I would recomend everybody to go to the site and download this mod.

The only last thing i've found is at the category pages. There i still got double meta keyword tag. The product pages is fixed. BCSE thanks again. If you could look at the categories meta tags i would be verry glad. And about a little donation; if this mod work how it should be i will donate a $25 dollar fee. Hope it's ok? In januari. (happy new beginning "g")

Thanks for all you're reply.

BCSE 11-26-2004 07:01 AM

Glad it's working now. I've not had anyone have any troubles that I know of, of having double meta tags with this mod on product pages. I'm guessing your cart has been modified to include category meta tags on the product pages and that was causing the conflict. I'll change the code for my free mod though just incase someone else has done this too.

Code:

{* $Id: meta.tpl,v 1.13.2.2 2004/05/20 08:25:04 mclap Exp $ *}
<meta http-equiv="Content-Type" content="text/html; charset={$default_charset|default:"iso-8859-1"}">
{* BCSE Begin *}
{if $product.fulldescr ne ""}
<meta name="description" content="{$product.fulldescr|strip_tags:true|strip|truncate:150}">
{elseif $product.descr ne ""}
<meta name="description" content="{$product.descr|strip_tags:true|strip|truncate:150}">
{else}
{* BCSE End *}
<meta name="description" content="Bij belservice.nl goedkoop alle gsm en vaste telefoon toestellen. Alle merken van Nokia, sonyericsson, siemens, samsung tot sagem en sendo. Tevens vindt u bij belservice.nl alle accesoires voor uw gsm. Bluetooth headsets, frontjes en laders. Uiteraard altijd laag geprijst. Bedrijven kunnen ook terecht bij belservice.nl. Wij hebben vele isdn centrales, isdn en dect telefoon toestellen en alles wat u nodig heeft voor uw bedrijfs communicatie. Zakelijke klanten krijgen altijd extra korting. In ons assortiment vindt u siemens gigaset, tiptel en vele andere merken.">
{/if} {* BCSE added *}
{* BCSE Begin *}
{if $product_meta_keywords ne ""}
<meta name="keywords" content="{$product_meta_keywords}">
{else}
{* BCSE End *}
{if $current_category.meta_tags ne "" and  $product_meta_keywords eq ""} {* NOTE I added this AND for you *}
<meta name="keywords" content="{$current_category.meta_tags}">
{else}
<meta name="keywords" content="gratis GSM mobieltje, gsm accessoires, gsm aanbiedingen, cashback abonnement, abonnement afsluiten, headsets, bluetooth, carkits, frontjes, datakabels, nokia, samsung, motorola, siemens, sonyericsson, panasonic, kpn, orange, hi, telfort, debitel, vodafone, t-mobile, dect, isdn adsl, telecom advies">
{/if}
{/if} {* BCSE added *}
{if $usertype eq "P" or $usertype eq "A"}
<meta name="ROBOTS" content="INDEX">
<meta name="ROBOTS" content="FOLLOW">
{/if}

{if $webmaster_mode eq "editor"}
{if ($usertype eq "P" or $usertype eq "A") and $current_language ne ""}
<script>var store_language = "{$current_language}"</script>
{else}
<script>var store_language = "{$store_language}"</script>
{/if}
<script>
var catalogs = new Object();
catalogs.admin = "{$catalogs.admin}";
catalogs.provider = "{$catalogs.provider}";
catalogs.customer = "{$catalogs.customer}";
catalogs.partner = "{$catalogs.partner}";
catalogs.images = "{$ImagesDir}";
catalogs.skin = "{$SkinDir}";
</script>
{if $user_agent eq "ns"}
<script src="{$SkinDir}/editorns.js"></script>
{else}
<script src="{$SkinDir}/editor.js"></script>
{/if}
{/if}


Just moving some things around and putting an else in there. Try that.

Thank you, I accept and appreciate donations for those who like my free mods or help but I don't expect them. :)

Glad we could get you all figured out!

Carrie

belservice 11-26-2004 10:09 AM

Yes this is it.
 
Yeah this is it! It works fine now. Thank you verry much. Let see now what's going to happen with goooogle now. :D


All times are GMT -8. The time now is 04:45 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.