Not showing correct schema on woocomemrce collection page

#788848
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    I apologize for the issue you are facing with the schema markup on your WooCommerce collection page. To ensure that the correct schema is displayed on your collection page, you can follow these steps:

    1. Navigate to your WordPress Dashboard.
    2. Go to Products and click on the applicable product.
    3. In the Rank Math SEO metabox, click on the Schema icon.
    4. Click on Schema Generator and select the appropriate schema type, such as WooCommerce Product Schema.
    5. Click Save for this Post to apply the WooCommerce Product Schema to the page.
    6. Finally, remember to Update the page to save your changes.

    By following these steps, you can update the schema markup for individual products on your WooCommerce collection page. If you encounter any further issues or need additional assistance, please feel free to reach out to our support team directly.

    You can also refer to our detailed guide on how to use Product Schema for WooCommerce Products for more information.

    Thank you for bringing this to our attention, and we appreciate your understanding as we work to resolve this matter promptly.

    Best regards.

    Sources:
    Resolving Rank Math Schema Markup Related Issues
    How to Use Product Schema for WooCommerce Products » Rank Math
    How to Customize Schema Markup for WooCommerce Products » Rank Math
    Setting a Custom Brand for Your WooCommerce Store with Rank Math » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Awais
    Rank Math free

    It’s already set to Woocommerce Product and that is not the issue I am talking about,
    Issue is when I used schema tester for my collection page it doesn’t show CollectionPage schema instead it shows multiple Products schema with review error although reviews are added in all products

    Hello,

    Thank you for contacting Rank Math support.

    The CollectionPage Schema is already applied to the page you have shared:

    Since it isn’t eligible for Rick Results, it won’t be visible in the Rich Results test. You will have to use the Schema Validator to validate it: https://validator.schema.org/#url=https%3A%2F%2Falbarqlighters.com%2Felectric-lighters

    To remove the Product Schemas from the categories, please navigate to WP Dashboard > Rank Math SEO > Titles & Meta > Product Categories and enable the “Remove Snippet Data” option.

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

    Awais
    Rank Math free

    I tried that as well but then it removes all schemas like Organization and others

    Awais
    Rank Math free

    Can you tell me how to render reviews snippet on collection page as well?

    Hello,

    You cannot render the Review Schema on that page because that requires a Product Schema to be applied and the Product Schema should only be applied to a single product page or a single archive product page.

    The page you shared doesn’t fall into any of those categories so this cannot be added to it.

    Don’t hesitate to get in touch if you have any other questions.

    Awais
    Rank Math free

    is it possible to remove just product snippet from collectionpage?

    Hello,

    In that case, you can programmatically disable the product snippet on your category pages instead. Add this code to your website and let us know if it helped:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
        if( is_product_category() ) {
            unset($data['ProductsPage']);
        }
        return $data;
    }, 99, 2);

    You can add the code to your site using any of the methods here.

    We are looking forward to hearing back from you.

    Awais
    Rank Math free

    Thank you it removed product snippet from collection page

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Not showing correct schema on woocomemrce collection page’ is closed to new replies.