Announcement

Collapse
No announcement yet.

Google Feed Image Link

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

    Google Feed Image Link

    I've discovered a number of shortcomings with the Google Shopping Feed that I am trying to remedy.
    Code:
    &mvt:record:image;
    is not pulling in the Image Link. What should be used to make this work?
    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

    #2
    In our Pinterest feed we seem to be using this. Not sure if it's the best way but it seems to work.

    Code:
    https://www.domain.com/mm5/&mvt:record:customfield:main;
    Ron Frigon
    Jedi Webmaster Obi-Ron Kenobi

    Comment


      #3
      Thanks, Ron! Any clue as to why the price isn't being recognized? I can see the price in the feed but it's constantly showing up as 0 - same thing with the cost and weight.
      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


        #4
        Are you using the templates? You can actually use the TokenList here to get all the right stuff. Are you using this price token? Or something different?

        Code:
        &mvt:record:price;
        Ron Frigon
        Jedi Webmaster Obi-Ron Kenobi

        Comment


          #5
          I spoke too soon - seems all I got from that is https://www.domain.com/mm5/ - still no image file ...
          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
            You're adding all this to the Iterator Template? Is the site using a "main" image? You may need to change the image type.
            Ron Frigon
            Jedi Webmaster Obi-Ron Kenobi

            Comment


              #7
              Originally posted by Ron Frigon View Post
              You're adding all this to the Iterator Template? Is the site using a "main" image? You may need to change the image type.
              Yes, all of this is being added to the Iteraor Template. Yes, the site is using a "main" image. I'm using
              Code:
              &mvt:record:price;
              The Token List shows the right price but it's showing up at 0 once the feed it uploaded.

              Also, there doesn't seem to be a customfield:main

              So it would seem there are problems before the feed gets processed by the Google Merchant Center and after.
              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


                #8
                The price issue resolved itself. Reading the "fine print" in the docs helps too:

                Only Images which have image types can be included in feeds. In order to export images, under utilities the “Product Images Custom Fields” module must be installed
                <mvt:doh>The module was not installed. </mvt:doh>
                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
                  I discovered that I had to also add

                  Code:
                  <mvt:assign name="l.imagetype_codes[1]" value="'main'" />
                  Now I would like to add an additional image. I have tried using
                  Code:
                  <mvt:assign name="l.imagetype_codes[2]" value="'image2'" />
                  but the image path isn't being rendered for additional image.
                  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


                    #10
                    Leslie, did you fix this issue with the image url? I have the same issue and it seems to not populate with the main link either.
                    Marshall
                    http://www.hmcdisplay.com
                    http://www.churchonwheels.com

                    Comment


                      #11
                      Never mind, I got it, I just had to active the custom fields in the feed… geez…
                      Marshall
                      http://www.hmcdisplay.com
                      http://www.churchonwheels.com

                      Comment


                        #12
                        Originally posted by marshallw View Post
                        Never mind, I got it, I just had to active the custom fields in the feed… geez…
                        Good deal!
                        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


                          #13
                          Originally posted by lesliekirk View Post
                          I spoke too soon - seems all I got from that is https://www.domain.com/mm5/ - still no image file ...
                          I'm having this same issue, what did you end up doing and where did you add it?
                          Mike Batson
                          http://www.nstarleather.com
                          [email protected]

                          Comment


                            #14
                            Originally posted by Nstarleather View Post

                            I'm having this same issue, what did you end up doing and where did you add it?
                            Sorry for the delay - been swamped. Try something like this:

                            Code:
                            <mvt:if expr="NOT ISNULL l.settings:record:customfield:main">
                            <mvt:assign name="g.full_image_path" value="g.domain:base_url $ l.settings:record:customfield:main" />
                            <mvt:else>
                            <mvt:assign name="g.full_image_path" value="''" />
                            </mvt:if>
                            then uses this

                            Code:
                            &mvt:global:full_image_path;
                            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


                              #15
                              Yep just had to add that custom field to the template and it worked...just missed that little step!
                              Mike Batson
                              http://www.nstarleather.com
                              [email protected]

                              Comment

                              Working...
                              X