Announcement

Collapse
No announcement yet.

Error in Optics Theme Meta Tags ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error in Optics Theme Meta Tags ?

    I just set up a new Dev store and imported some data and checked the meta tag fields and they displayed fine. I then installed the Optics Framework and I notice a few problems:

    1. There is a reference to a field on the CTGY page to l.settings:category:metafield:title that does not exist as far as I can tell.

    2. When Optics overwrote the Head tag it has an error in the Description tag. It references the Keyword tag again for both the CTGY and PROD:

    Example:

    <mvt:elseif expr="NOT ISNULL l.settings:category:metafield:description">
    <meta name="keywords" content="&mvt:category:metafield:description;" />
    <mvt:else>
    Last edited by Jim Cockerham; 11-18-14, 01:10 PM.
    Highly caffeinated
    http://www.coffeehouseexpress.com

    #2
    Re: Error in Optics Theme Meta Tags ?

    Hi Jim -

    Thanks for finding these.

    For #1, our framework uses a meta tag which we manually created called "title" This is not being exported in the frameowrk which we will fix. For the time being, if you manually create it under Meta Tag Setting that code should work.

    For #2 that is a typo on end. The keywords and description meta tag names need to be switched. We will be updating the frameworks shortly.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Error in Optics Theme Meta Tags ?

      Brennan - Thanks for the help!
      Highly caffeinated
      http://www.coffeehouseexpress.com

      Comment


        #4
        Re: Error in Optics Theme Meta Tags ?

        I have a question about the Meta Description tag for general Pages. It simply shows: <meta name="description" content="SEO: META DESCRIPTION" /> . Is something missing or is it up the the developer to determine how to handle the meta descriptions?

        Thanks!
        Highly caffeinated
        http://www.coffeehouseexpress.com

        Comment


          #5
          Re: Error in Optics Theme Meta Tags ?

          That is there intentionally. Before you go live you'll need to replace that placeholder with your global meta description. This is the fall back for any product that does not have meta tags explicitly defined.

          We first check the product to see if it has meta tags, then we check the category (if available) and last we fall back to a default you would need to provide.

          Code:
          <mvt:if expr="NOT ISNULL l.settings:product:metafield:description">
          	<meta name="keywords" content="&mvt:product:metafield:description;" />
          <mvt:elseif expr="NOT ISNULL l.settings:category:metafield:description">
          	<meta name="keywords" content="&mvt:category:metafield:description;" />
          <mvt:else>
          	<meta name="description" content="SEO: META DESCRIPTION" />
          </mvt:if>
          Brennan Heyde
          VP Product
          Miva, Inc.
          [email protected]
          https://www.miva.com

          Comment


            #6
            Re: Error in Optics Theme Meta Tags ?

            Brennan - Then I should be safe to remove this section <meta name="description" content="SEO: META DESCRIPTION" /> and hard code the description tags on any of my custom pages, correct?
            Highly caffeinated
            http://www.coffeehouseexpress.com

            Comment


              #7
              Re: Error in Optics Theme Meta Tags ?

              yeah that should be fine.
              Brennan Heyde
              VP Product
              Miva, Inc.
              [email protected]
              https://www.miva.com

              Comment


                #8
                Re: Error in Optics Theme Meta Tags ?

                Are there any plans that would include input fields for meta tags verses have to edit the code in each page? Some store owners are uncomfortable editing the code but are very comfortable entering that meta data into fields like what are used for the Products and Categories.

                Wish List item perhaps?
                Leslie Kirk
                Miva Certified Developer
                Miva Merchant Specialist since 1997
                Previously of Webs Your Way
                (aka Leslie Nord leslienord)

                Email me: [email protected]
                www.lesliekirk.com

                Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                Comment


                  #9
                  Re: Error in Optics Theme Meta Tags ?

                  This is in 9.0004. It includes new cascading meta tags. You will now have fields to enter in meta data:

                  1. Globally
                  2. Page Level
                  3. Category Level
                  4. Product Level

                  There is built in logic so product/category meta tags will overwrite Page level tags which will overwrite Global tags.
                  Brennan Heyde
                  VP Product
                  Miva, Inc.
                  [email protected]
                  https://www.miva.com

                  Comment

                  Working...
                  X