SEO, AdWords, affiliates, advertising, and promotions
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
Solved! Go to the solution
This is an accepted solution.
This is an accepted solution.
You will need to customize it first. You need to change
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.
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>
This is an accepted solution.
Thank you so much. Where should i paste it from?
This is an accepted solution.
You will need to customize it first. You need to change
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.
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
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
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024