Announcement

Collapse
No announcement yet.

Read Google Marketplace Fields

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

    Read Google Marketplace Fields

    How do you read the google marketplace fields on the product page? Miva doesn't like this.

    <mvt:item name="customfields" param="Read_Product_Code( g.Product_Code, 'googleshopping_item_number', g.google_upc)" />

    Thanks

    MArk

    #2
    BkraM That should work, make sure that you have the customfields item assigned to the page template. In order to use the Read_Product_Code customfield item function you need to assign the item to the page.
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment


      #3
      Thanks. Not sure what the issue is then. I already have the PROD page reading custom fields without any issues. It just seems to be the google marketplace ones that wont work.

      Comment


        #4
        BkraM My apologies as I was incorrect. The customfields item will not pull the Marketplace custom field data.

        In order to get those values you will need to assign the custom field to the Product Display Layout template. When the Google Shopping: Item Number is assigned to the template then you will be able to use this variable to render the value:

        Code:
        &mvt:product:customfield_values:marketplaces:googleshopping_item_number;
        google.JPG

        Nicholas Adkins
        Technical Training Specialist / Miva, Inc.
        [email protected]
        https://www.miva.com/mivalearn

        Comment


          #5
          Thanks

          Comment

          Working...
          X