priceSpecification Missing field “priceType”

#449022
  • Resolved webzon portal
    Rank Math free

    i have 5 Missing field cin webmaster tools(google)

    my wesite is theme and graphic download by wocommrese and wordpress

    1: Missing field “priceType”
    2 Missing field “material” (optional)
    3 Missing field “pattern” (optional)
    4 Missing field “color” (optional)
    5 No global identifier provided (e.g., gtin, brand) (optional)

    i used from schema wocommrece

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    The Merchant Listings schema issue is caused by an update Google has released recently: https://developers.google.com/search/blog/2022/09/merchant-listings

    We are already aware of this and we will soon implement this in our WooCommerce Product Schema in an upcoming plugin update.

    We appreciate your time and patience on this one.

    Ahmed
    Rank Math free

    Hi Team,

    I am looking forward for the update to include all the missing fields for the newly released Search Console Merchant Listings.

    Hello,

    This actually a bug coming from Google itself and they seem to have rolled out a fix already:

    https://support.google.com/webmasters/thread/179252156/i-am-getting-error-in-my-merchant-listing-which-says-missing-field-pricetype?hl=en

    Make sure both Rank Math and Woocommerce are updated, clear your website cache and check again in the Rich Result Test in the next few days.

    If you wish to completely remove the priceSpecification that is causing the issue, you may refer to this filter code:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
            unset($entity['offers']['priceSpecification']);
    	return $entity;
    });

    Let us know how that goes. Looking forward to helping you.

    Ahmed
    Rank Math free

    Hi Jeremy,
    The snippet here removed the PriceSpeficication from the product schema, thanks a lot. Tested again on Google rich result tool and the error is gone.

    Should I remove this snippet once a new update of RankMath is released containing the fix? Will this snippet conflict with a future release?

    Thanks again,

    Hello,

    Yes, you can try removing the filter once you update Rank Math and Woocommerce both plugin and try testing again using Rich Results Test tool.

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    I still have this issue, I have updated rank math and cleared cache but cant get the product error to disappear in the console. Have tried to run the validation but it still says the products having this issue. Any clue what to do?

    Ahmed
    Rank Math free

    I do not see the fix applied to the recent updates yet (as per the changelog) so I would advise you @Robert Hedlund to use the PHP snippet provided here to waive the error on Search Console and test it with Rich Result Tool.

    Hello,

    @Robert You can follow the steps provided above by my colleague to remove that in the schema for the meantime. Once done, revalidate the error in your Google Search Console account and give Google some time to recrawl your products.

    @Ahmed Thank you for sharing the steps to fix this issue. Once a fix is available, it will be included in our changelog as well.

    If you have any other concerns, please don’t hesitate to contact us anytime to assist you further.

    Looking forward to helping you.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

The ticket ‘priceSpecification Missing field “priceType”’ is closed to new replies.