Why do my products need attention in Google Merchant Center?

Solved

Why do my products need attention in Google Merchant Center?

yallahdealstore
Tourist
8 1 2

Hello everyone! 

 

I have been trying to put my products on my google merchant center but they always say your products need attention. i do not know how i can do that

 

Accepted Solutions (2)
yallahdealstore
Tourist
8 1 2

This is an accepted solution.

Thank you so much. Where should i paste it from?

 

View solution in original post

AlohaAkahai
Shopify Partner
68 3 26

This is an accepted solution.

You will need to customize it first. You need to change 

 

  • MerchantReturnPolicy
    • Change Return days and return policy. 
  • OfferShippingDetails,
    • Change the monetary value (flat rate)
  •  ShippingDeliveryTime, 
    • Change the shipping time. 

After you change these, if you are using Dawn, open Main-Product Liquid and look for <script type="application/ld+json"> .  Copy paste of the entire script section.

View solution in original post

Replies 5 (5)

AlohaAkahai
Shopify Partner
68 3 26

Let me guess, You are having a problem with ld+json  data like priceValidUntil

First;

Read up on https://developers.google.com/search/docs/appearance/structured-data/product

 

Here is a sample code for Product page. Just search for "<script type="application/ld+json">"

 

 

<script type="application/ld+json">
    {
      "@context": "http://schema.org/",
      "@type": "Product",
      "name": {{ product.title | json }},
      "url": {{ request.origin | append: product.url | json }},
      {% if seo_media -%}
        "image": [
          {{ seo_media | image_url: width: 1920 | prepend: "https:" | json }}
        ],
      {%- endif %}
      "description": {{ product.description | strip_html | json }},
      {% if product.selected_or_first_available_variant.sku != blank -%}
        "sku": {{ product.selected_or_first_available_variant.sku | json }},
      {%- endif %}
      "brand": {
        "@type": "Brand",
        "name": {{ product.vendor | json }}
      },
      "offers": [
        {%- for variant in product.variants -%}
          {
            "@type" : "Offer",
            {%- if variant.sku != blank -%}
              "sku": {{ variant.sku | json }},
            {%- endif -%}
            {%- if variant.barcode.size == 12 -%}
              "gtin12": {{ variant.barcode }},
            {%- endif -%}
            {%- if variant.barcode.size == 13 -%}
              "gtin13": {{ variant.barcode }},
            {%- endif -%}
            {%- if variant.barcode.size == 14 -%}
              "gtin14": {{ variant.barcode }},
            {%- endif -%}
            "availability" : "http://schema.org/{% if variant.available %}InStock{% else %}OutOfStock{% endif %}",
            "price" : {{ variant.price | divided_by: 100.00 | json }},
            "priceCurrency" : {{ cart.currency.iso_code | json }},
            "url" : {{ request.origin | append: variant.url | json }},
            "priceValidUntil": "12/31/2024",
            "shippingDetails": {
              "@type": "OfferShippingDetails",
                  "shippingRate": {
                  "@type": "MonetaryAmount",
                  "value": "9.95",
                  "currency": "{{ cart.currency.iso_code }}",
                  "description": "Shipping cost varies by weight."
                  }
              },            
            "shippingTime": {
                  "@type": "ShippingDeliveryTime",
                  "businessDays": {
                  "@type": "QuantitativeValue",
                  "minValue": 2,
                  "maxValue": 10,
                  "unitText": "BUSINESS_DAY"
                   }
            },
            
            "hasMerchantReturnPolicy": {
              "@type": "MerchantReturnPolicy",
              "returnFees": "Customer responsible for return shipping.",
              "applicableCountry": "US",
              "returnDays": "30",
              "returnMethod": "ReturnByMail",
              "returnCondition": "Item must be unworn with tags attached"
              }

          }{% unless forloop.last %},{% endunless %}
        {%- endfor -%}
      ]
    }
  </script>

 

yallahdealstore
Tourist
8 1 2

This is an accepted solution.

Thank you so much. Where should i paste it from?

 

AlohaAkahai
Shopify Partner
68 3 26

This is an accepted solution.

You will need to customize it first. You need to change 

 

  • MerchantReturnPolicy
    • Change Return days and return policy. 
  • OfferShippingDetails,
    • Change the monetary value (flat rate)
  •  ShippingDeliveryTime, 
    • Change the shipping time. 

After you change these, if you are using Dawn, open Main-Product Liquid and look for <script type="application/ld+json"> .  Copy paste of the entire script section.

yallahdealstore
Tourist
8 1 2

Thank you soo much for your reply. i will have have a look at it. But am not sing Dawn, uniform instead. does it apply the same principles? 

Thank you

AlohaAkahai
Shopify Partner
68 3 26

My code will be about the same since this Google LD+JSON. They want things in particular format.  But the Liquid page you need is Product pages and LD-JSON will be at the bottom