Rich Snipnet for Woocomerce products with images

  • Hello,
    I am unable to figure out how to set Rich Snippet for WooCommerce products with images, I want the image to ideally be the featured image only. I didn’t found any option to do this in the schema part of rank math.

    Also in case of brand I want to it to automatically capture it from the product attribute I have created, I want this setting to be global that is for all the new and old products.
    I want to set similar automatic setting for sku.

    I search the net but didn’t found any specific article to this.

    Looking forward for your guidance.
    Thank you.

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

    Thank you for getting in touch with us.

    There is no option to add featured image to the snippet, ti is usually picked automatically. The images shown for your products on Google, assuming this is your aim results, is usually picked automatically by Google from your product images.

    You can fix the SKU and availability issue easily:

    To add the brand, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce and choose from any of the available fields to use as your product’s brands.

    Brand Value

    If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:

    // Add Brand for Products.
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    $entity['brand'] = 'Rank Math;
    return $entity;
    });

    Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.

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

    Hii,

    So I am offer a variable product but the Sku currently visible is not of the product variable but the common one.

    In case of brand I have at present 3 different brands. The brand is product specific which I have included in the Product attributes as Brand. So I want can you add some settings where the brand that I have entered in the product attribute can be captured by Rank math and can be used in the Rich Snippet. So it will be a global setting that will capture the brand name automatically from the attributes using taxonomy, for all the new and old products.
    Similar automatic setting can be there for sku or other attributes.

    In case you want you can refer to this plugin it has a similar setting.
    “Schema & Structured Data for WP & AMP”

    Since I am using already using RankMath just wanted to know if such setting could be possible, It just saves the space of having an additional plugin.

    Looking forward to hear from you at your earliest.

    Regards and stay safe.

    Sorry to step in. I selected my Attribute “Produkt Hersteller” via options described here, that contains each Brand for my products but it doesnt work with shema. any ideas ?

    I know Christian I am also facing the a similar problem, waiting for their reply it takes around week for them to do so.

    Hello @everyone,

    Are you using the latest version of Rank math ?

    If so selecting brand in WordPress Dashboard > Rank Math > General Settings > WooCommerce should resolve the issue on your site. If it doesn’t please share some of the affected URL(s) so we can check from our end.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hii,

    You didn’t responded to this

    So I am offer a variable product but the Sku currently visible is not of the product variable but the common one.

    In case of brand I have at present 3 different brands. The brand is product specific which I have included in the Product attributes as Brand. So I want can you add some settings where the brand that I have entered in the product attribute can be captured by Rank math and can be used in the Rich Snippet. So it will be a global setting that will capture the brand name automatically from the attributes using taxonomy, for all the new and old products.
    Similar automatic setting can be there for sku or other attributes.

    In case you want you can refer to this plugin it has a similar setting.
    “Schema & Structured Data for WP & AMP”

    Since I am using already using RankMath just wanted to know if such setting could be possible, It just saves the space of having an additional plugin.

    Looking forward to hear from you at your earliest.

    Regards and stay safe.

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

You must be logged in to reply to this ticket.