Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work for WooCommerce product archive pages [Question/BUG] #137

Open
RickOnGitHub opened this issue Aug 21, 2023 · 0 comments
Open

Comments

@RickOnGitHub
Copy link

Detailed description

When I enable the plugin, the plugin works pretty fine on the whole site except for the WooCommerce product archive pages.
I've tried to add the described code echo kk_star_ratings(); but this does not seem to add the "Rich Snippet" content.

Provide a detailed description of the change or addition you are proposing:
I think it would be useful to have a small explanation or description to get this working in my WooCommerce archive templates.

Make it clear if the issue is a bug, an enhancement or just a question:
I'm not sure if the WooCommerce archives should work out-of-the-box. Otherwise it's more of a general question.

Context

Why is this change important to you? How would you use it? (How can it benefit other users?):
The review functionality is very useful for the Google Ranking, and the WooCommerce archive pages are very important in this. So it's a nice addition to be able to use it here.

Possible implementation

Maybe a code snippet that can be used in a WordPress hook/filter so that this can be implemented in every theme.

Your environment

Include as many relevant details about the environment you experienced the bug in and how to reproduce it.

Install the plugin, install WooCommerce, set up an products archive, then see the result.

  • PHP 8.2
  • Plugin version: 5.4.5
  • WooCommerce version: 7.9.0
  • WordPress version: 6.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant