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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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