Forums / General Questions / keywords for product adding site keywords

keywords for product adding site keywords

Views: 543

Results 1 to 3 of 3
13 Mar 2018, 12:50 AM
#1
speak394 avatar

speak394

New Zenner

Join Date:
Mar 2018
Location:
Alabama
Posts:
61
Plugin Contributions:
0

keywords for product adding site keywords

I have searched over and over for a easier way to do this, but thus far have not found an answer.

My meta tag keywords that are automatically generated are a mess.

My keywords will have the same info as the title which is ok, but then it is followed by all the keywords from the home page.

I have tried and tried to find a way so it will only show what is generated on a product, which is usually about 100 characters, but when it adds the keywords from the home page, it bumps it up to over 700.

How can I have zen cart only generate from the product page without having to go in and manually do it for all 2500 products.

27 Mar 2018, 9:54 AM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: keywords for product adding site keywords

Not sure if there is an 'official' way of doing this but I have in the past edited includes/modules/meta_tags.php (or an override version of this file) to achieve roughly what you are after.

If you have some programming ability it is not hard to do. Otherwise post again and I will talk you through it.

Nick

Nick
iszent.com

1 Apr 2018, 11:05 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: keywords for product adding site keywords

We keep keywords meta data empty. In other words, ZC code leaves this completely empty.
<meta name="keywords" content="" />

This meta name no longer has any relevance or value and is largely ignored by search engines.

Far better is structured data. EG:

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Product",
  "name": "Gold Chain",

  "brand": {
    "@type": "Thing",
    "name": "TMK"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "5",
    "bestRating" : "5",
    "worstRating" : "4",
    "reviewCount": "54"
  },
  "offers": {
    "@type": "Offer",
    "priceCurrency": "GBP",
    "price": "29.95",
    "priceValidUntil": "2020-11-05",
    "itemCondition": "http://schema.org/NewCondition",
    "availability": "http://schema.org/InStock",
    "seller": {
      "@type": "Organization",
      "name": "The Gold Chain Shop"
    }
  }
}
</script>

AND

<script type="application/ld+json">
{
  "@context": "http://schema.org",
   "@type": "Product",
    "brand": "TMK",
    "mpn": "TMK-GLD-18-9098",
    "productID": "815",
    "url": "https://yoursite.co.uk/gold-and-silver-chains/gold-chain-9ct-65cm",
    "name": "9ct Gold Chain - 65cm long",
    "description": "This delightful real gold 9 carat chain makes the perfect gift for any special occasion. A jewellery-standard clasp will ensure it stays in place.",
    "image": "https://yoursite.co.uk/images/9ct-gold-chain-65cm.jpg",
   "offers": {
    "@type" : "Offer",
    "availability" : "http://schema.org/InStock",
    "price" : "29.95",
    "priceCurrency" : "GBP",
    "seller" : "The Gold Chain Shop",
    "itemCondition" : "http://schema.org/NewCondition",
    "inventoryLevel" : "299",    
    "deliveryLeadTime" : "2",
    "category" : "Gold Chains",
    "itemOffered" : "9ct Gold Chain - 65cm long",
    "eligibleRegion" : "GB",
    "acceptedPaymentMethod" : [ "http://purl.org/goodrelations/v1#PayPal,http://purl.org/goodrelations/v1#MasterCard,http://purl.org/goodrelations/v1#VISA,http://purl.org/goodrelations/v1#,http://purl.org/goodrelations/v1#,http://purl.org/goodrelations/v1#" ]    
}       
}
</script>

This is now FAR more important than the old meta tags in the header. And Search Engines LOOK for this now.

20 years a Zencart User