Announcement

Collapse
No announcement yet.

Metafield Title

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

    Metafield Title

    Hi

    I noticed in the Product page template there is the title code:

    <mvt:if expr="NOT ISNULL l.settings:product:metafield:title">
    <title>&mvt:product:metafield:title;</title>
    <mvt:else>
    <title>&mvt:product:name;: &mvt:store:name;</title>

    My question is where do I go to fill out the metafield:title? Right now it is just displaying the product name:store name.
    I could not find a field to fill out anywhere on the product page, all I see is the place for meta keywords and description.

    #2
    Re: Metafield Title

    You'll need to create the meta field for title. If You go to User Interface, then Meta Tag Settings tab, there is a plus sign to add a new meta tag. Give it a code of title.

    Once you do this, on the edit product screen under meta tag settings there will be a field to input a custom title for the product.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Metafield Title

      Simple enough! Thank you.

      Comment


        #4
        Re: Metafield Title

        I noticed in the Category page template there is the title code:
        <mvt:if expr="l.settings:category:metafield:title">
        <title>&mvt:category:metafield:title;</title>
        <mvt:else>
        <title>&mvt:category:name; | &mvt:store:name;</title>
        </mvt:if>

        However the value for the metafield title never gets populated as the page title when it should. Why is that?
        Bronson Design Studio, LLC
        Website: bronsondesign.com
        Facebook: facebook.com/bronsondesign

        Comment


          #5
          Re: Metafield Title

          Are you on MMUI? If so that is the same bug as here:

          http://extranet.miva.com/forums/show...Keywords/page3

          We are using the meta title tag for the page title and in MMUI the category meta tags are not working correctly.
          Brennan Heyde
          VP Product
          Miva, Inc.
          [email protected]
          https://www.miva.com

          Comment


            #6
            Re: Metafield Title

            Originally posted by Brennan View Post
            Are you on MMUI? If so that is the same bug as here:

            http://extranet.miva.com/forums/show...Keywords/page3

            We are using the meta title tag for the page title and in MMUI the category meta tags are not working correctly.
            Yes, it's a MMUI store. You provided the following workaround for the bug wrt description and keywords. Is there also a workaround for title?

            Code:
            <mvt:item name="toolkit" param="categorymeta|CODE|l.all_settings:category:code" />
            <meta name="keywords" content="&mvte:meta:keywords;" />
            <meta name="description" content="&mvte:meta:description;" />
            Bronson Design Studio, LLC
            Website: bronsondesign.com
            Facebook: facebook.com/bronsondesign

            Comment

            Working...
            X