Custom Page with Product Schema?

#929398
  • Resolved Markus
    Rank Math free

    We use WOoCommerce, we have setup the WooCommerce product image/schema.

    The issue is we are using “custom pages” for some products.
    When using “product schema” on these custom pages, it gives the error — no image found.

    Is there a way to add image url to our product schema? so we can use it on our custom pages to setup product schemas?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Could you please share the affected product’s custom page URL so we can check as well?

    Meanwhile, you can use and customize this filter to add the image in the product schema:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	return $entity;
    });

    Looking forward to helping 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 1 replies (of 1 total)

The ticket ‘Custom Page with Product Schema?’ is closed to new replies.