Inquiry about default schema types for digital product store using Rank Math

#1078704
  • Dhruvi
    Rank Math free

    Hello Rank Math Support Team,

    I’m currently configuring structured data for my digital product store using Rank Math, and I would like to confirm the best schema types to use in the following areas:

    Post & Pages (under Title & Meta > Posts):
    What is the recommended default schema type to use for these post pages in the context of a digital product store?

    Product Category Pages (Collection of Digital Products):
    Each product category page on my site represents a collection of related digital products. What is the best schema type for these pages?

    Best,
    Dhruvi

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

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Dhruvi
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Dhruvi
    Rank Math free

    The access has been granted and added under sensitive data. Please complete it within one week, otherwise it will expire.

    Hello,

    Sorry for the delay.

    Checking your website, you are currently using the “Easy Digital Downloads – Reviews” plugin, which is not supported by our plugin so the aggregateRating isn’t generated. You will have to contact the support folks from EDD and request that they integrate their review data into our schema structure using our filter code like how we do it with judge.me: https://support.rankmath.com/ticket/reviews-are-disabled-on-this-product/?view=all#post-431335

    Let us know how that goes.

    Dhruvi
    Rank Math free

    The URL you shared is currently not accessible.

    Hello,

    Sorry about that. You should be able to access the ticket now.

    Looking forward to helping you.

    Dhruvi
    Rank Math free

    Hello Team,

    I reached out to the Easy Digital Downloads team as per your suggestion, and here’s what they shared with me:

    “The Reviews plugin is adding JSON-structured data to the default EDD product data automatically, and the aggregateRating is available there.
    I’m not familiar with the Rank Math plugin, so it might be worth asking their team to see how that can be added.
    The ‘aggregateRating’ can be found inside the main edd-reviews.php plugin file and also under classes/class-edd-reviews-json-ld.php.”

    Could you please say how to integrate this with Rank Math schema so that the aggregateRating is properly generated?

    Hello,

    We checked the page source, and there’s currently no aggregateRating output in your website, so we aren’t sure how the review data is stored or retrieved by their plugin. Once you’re able to fetch the review data (for example, the rating value and count), you can easily integrate it into Rank Math’s Product schema using the following filter:

    add_filter('rank_math/snippet/rich_snippet_product_entity', function ($entity) {
    	$entity['aggregateRating'] = [
    		'@type'       => 'AggregateRating',
    		'ratingValue' => YOUR_RATING_VALUE_HERE,
    		'bestRating'  => '5',
    		'worstRating' => '1',
    		'ratingCount' => YOUR_RATING_COUNT_HERE,
    	];
    	return $entity;
    });

    This will inject the rating data into Rank Math’s Product schema once the correct values are passed.

    Let us know once you have access to the rating data, and we’ll be happy to help you integrate it further.

    Looking forward to helping you with this one.

Viewing 8 replies - 16 through 23 (of 23 total)

You must be logged in to reply to this ticket.