Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2018
    Location
    Alabama
    Posts
    61
    Plugin Contributions
    0

    help question 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.

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default 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

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default 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:

    Code:
    <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

    Code:
    <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

 

 

Similar Threads

  1. When entering custom product meta tags, site wide keywords are added on still?
    By amdowney in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Sep 2008, 10:42 PM
  2. Remove Meta Tag Site Keywords From Product
    By websightdesign in forum General Questions
    Replies: 0
    Last Post: 25 Jun 2008, 01:53 PM
  3. Replies: 5
    Last Post: 12 Oct 2006, 03:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR