Announcement

Collapse
No announcement yet.

Where does one edit PROD HTML "title" tag?

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

    Where does one edit PROD HTML "title" tag?

    New to M9, where does one edit PROD HTML "title" tag?

    I need to place a prefix and parent category name before product name.

    Example: <title>[prefix] [parent-cat-name] [prod-name]</title>

    I purchased Phosphor Media Template GPS module, but it was not as helpful for me as I had hoped. Probably due to my limited knowledge of MM9 as I am migrating from MM4.24c, the other I suspect is that its due to conditionals snippets of codes can come from anywhere. Its like looking for a needle in a haystack (frustrating, and MIVA's Admin breadcrumbs (Page/Section/Field) tends to confuse even more so).

    Finally, where can I find help and examples regarding coding conditionals, etc..?
    Thank you, Bill Davis

    #2
    The SEO tab for each product lets you create a customized title for each one. If you are not going to use the SEO settings then you would make the change in the PROD template.


    Code:
    <mvt:if expr="NOT ISNULL l.settings:product:page_title">
            <title>&mvt:product:page_title;</title>
        <mvt:elseif expr="NOT ISNULL l.settings:page:title">
            <title>&mvt:page:title;</title>
        <mvt:else>
            <title>&mvt:product:name;: &mvt:store:name;</title>
        </mvt:if>
    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


      #3
      That is I need to do, but where_ What is the difference between each of the three title container references made?
      Thank you, Bill Davis

      Comment


        #4
        Originally posted by William Davis View Post
        That is I need to do, but where_ What is the difference between each of the three title container references made?
        Finally, I need a quick crash course on M9.+ conditionals, list etc... where can I find that? I'm very proficient with MM4.24c, but as my old friend Bruce from Phosphor Media says M9 is three universe away from MM4.+.

        Thank you, Bill Davis

        Comment


          #5
          Originally posted by William Davis View Post

          Finally, I need a quick crash course on M9.+ conditionals, list etc... where can I find that? I'm very proficient with MM4.24c, but as my old friend Bruce from Phosphor Media says M9 is three universe away from MM4.+.
          The best crash course is to set up a developer site and just start snooping around.

          As for where do you use the code I cited - it you are using a ReadyTheme it should have already been included and it will be in the PROD Page Template in the Details Template

          The first conditional checks to see if you are using the SEO settings for the product, the second checks to see if you've given the PROD Page template it's own name and the third is the default.
          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


            #6
            Thanks!
            Thank you, Bill Davis

            Comment


              #7
              The new docs.miva.com is a great way to build your own crash course.
              Thanks,

              Rick Wilson
              CEO
              Miva, Inc.
              [email protected]
              https://www.miva.com

              Comment


                #8
                Originally posted by William Davis View Post
                New to M9, where does one edit PROD HTML "title" tag?

                I need to place a prefix and parent category name before product name.

                Example: <title>[prefix] [parent-cat-name] [prod-name]</title>

                I purchased Phosphor Media Template GPS module, but it was not as helpful for me as I had hoped. Probably due to my limited knowledge of MM9 as I am migrating from MM4.24c, the other I suspect is that its due to conditionals snippets of codes can come from anywhere. Its like looking for a needle in a haystack (frustrating, and MIVA's Admin breadcrumbs (Page/Section/Field) tends to confuse even more so).

                Finally, where can I find help and examples regarding coding conditionals, etc..?
                Great news, MIVA Tech support figured out what was wrong with my Admin breadcrumbs. I had my monitor resolution set too low to make fonts bigger which caused MIVA Admin responsive design change the way it displays its breadcrumbs. Once I changed my screen resolution the Admin breadcrumbs worked great!
                Thank you, Bill Davis

                Comment

                Working...
                X