Local Business Schema

#285223
  • Hello. I want the Local Business Schema I set up on Rank Math to work but it is not because of the functions.php snippet I have that stops the Google Search Console error for product Item Lists.

    function wc_remove_product_schema_product_archive() {
    remove_action( ‘woocommerce_shop_loop’, array( WC()->structured_data, ‘generate_product_data’ ), 10, 0 );
    }
    add_action( ‘woocommerce_init’, ‘wc_remove_product_schema_product_archive’ );

    How can I include local business schema but exclude the product info on my Woocommerce Shop page:

    https://collectiblesandmoreinstore.com/shop.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    By default, the shop page from Woocommerce doesn’t include a product schema and neither Rank Math.

    Could you please share your admin login so we can further check it and advise accordingly? Please edit the first post on this ticket and include your WordPress login 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.

    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 ‘Local Business Schema’ is closed to new replies.