I'm not a user of the Google Merchant Center's hosted console, so can't help there. If the data's being sent but Google isn't happy, I'll suggest doing a web-search for the symptom. If you've run across it, it's likely that someone else has too.
I'm not a user of the Google Merchant Center's hosted console, so can't help there. If the data's being sent but Google isn't happy, I'll suggest doing a web-search for the symptom. If you've run across it, it's likely that someone else has too.
Ok. So the issue is resolved. A user in the google merchant center forum caught this....
shipping weight is not a sub attribute of shipping.
Instead of:
<g:shipping>
<g:country>US</g:country>
<grice>9.95 USD</g
rice>
<g:shipping_weight>
it should be:
<g:shipping>
<g:country>US</g:country>
<grice>9.95 USD</g
rice>
</g:shipping>
<g:shipping_weight>3 lb</g:shipping_weight>
So I move a line in the classes/gpsFeedGenerator.php
Moved
if (GPSF_WEIGHT === 'true' && $product['products_weight'] > 0) {
$this->xmlWriter->writeElement('g:shipping_weight', $product['products_weight'] . ' ' . GPSF_UNITS);
}
to just after
$this->xmlWriter->endElement(); //- END g:shipping
All product that had been "missing shipping weight" are now no longer missing shipping weight.
Thank you,
John
Thanks for the investigation and correction; I'll get that fixed in v1.0.5. Here's the GitHub issue for tracking: https://github.com/lat9/gpsf/issues/46
Hey Lat9,
No problem. I really didn't want anything to do with uploading products to google but ... I had been doing some price checking in google serps and found they have all of our products (organic results) with a 7-day return period. So I set out on a mission to correct this and found the only way is to updated shipping and returns in merchant center even if you don't already have a merchant center account. But the only way to change your sites return policy is to have a product feed loaded there.
If you think something else is causing the 7-day return period showing in organic google serps please let me know. I have no structured data.. nothing other than now the merchant upload.
Thanks again,
John
Just to follow up. Rearranging a bit of code worked to resolve the "missing shipping weight" issue, and setting shipping and return policy in google merchant center did reflect in the organic serps.
Bookmarks