Product errors

#4464
  • Resolved Rene Ondra
    Rank Math free

    Hello.

    Missing a lot of product-information

    In all products there is missing review” oder “aggregateRating”
    Can you help me pls.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Search console error:
    Missing:
    description
    “brand”
    Produkt-ID
    “image”
    “sku”
    “description”
    “aggregateRating”
    “review”
    “priceValidUntil”
    “availability”
    “availability”
    “url”
    “image”
    “gtin8, gtin12, gtin13, gtin14, mpn, isbn” fehlt
    “offerCount” fehlt

    Hello,

    Thanks for your query.

    Rank Math takes data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.

    If you don’t have any reviews yet, that is going to show up as a warning in the schema testing tool. That’s because Google will actually look for those fields.

    You can fix the brand error by making use of the following code in your theme’s functions.php file:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        $entity['brand'] = 'Rank Math'; // You can fetch attribute value and pass it here
        return $entity;
    });

    In regards to the other errors, you need to ensure that the product image and SKU is set as shown below: http://i.mythemeshop.com/3MmkPe
    You can also fix the “priceValidUntil” “availability” errors by setting a stock amount, sale price and sale price expiry date as shown below:
    IMG
    You can set the gtin value by installing the following plugin: https://wordpress.org/plugins/woo-add-gtin/

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

    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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Product errors’ is closed to new replies.