Jump to content
Wojtasvx

Należy określić właściwość „offers”, „review” lub „aggregateRating”

Recommended Posts

Cześć mam problem z Google Search Console, pojawia mi sie taki bląd przy produktach "Należy określić właściwość „offers”, „review” lub „aggregateRating” . Jak mogę to naprawić? 

Share this post


Link to post
Share on other sites

Znalazlem cos takiego w necie, moze to pomóc ? 

 

HOW TO FIX EITHER “OFFERS”, “REVIEW”, OR “AGGREGATERATING” SHOULD BE SPECIFIED ERROR

If you’re receiving the Either “offers”, “review”, or “aggregateRating” should be specified error on your WooCommerce category pages, there is a fairly simple fix: Remove the product schema markup from the Shop and Product Category pages.

To do that, you’ll want to add the following code to your theme’s functions.php file:

 

/** * Remove the generated product schema markup from Product Category and Shop pages. */ 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' );

Share this post


Link to post
Share on other sites

Trzeba by wdrożyć jakiś moduł do wystawiania opinii produktom.

Share this post


Link to post
Share on other sites

Czy to jest poważny problem i bez tego w wyszukiwarce może być gorzej pozycjonowana strona?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More