Hello!
I'm using wpDiscuz 7 and would like to replace the standard WooCommerce product rating with the built-in wpDiscuz post rating system, which allows users to rate products without leaving comments. The rating works perfectly on blog posts, but it does not show up on WooCommerce product pages (both in the product list and on the individual product pages).
My questions are:
- How can I correctly integrate the wpDiscuz rating system into WooCommerce templates so it displays instead of the standard product rating?
- Does the new rating display depend on my theme (Woodmart), and do I need to make any changes to the theme files to ensure the rating works properly on product pages?
- Are there any specific shortcodes or functions that should be used to insert the rating on WooCommerce product pages?
I would appreciate any information and recommendations!
Thank you!
Hi,
wpDiscuz can work for WooCommerce Products as a Rating Reviews with Stars. You need to create a new comment form in Dashboard > wpDiscuz > Forms admin page by clicking on [Add new] button. Set it only for “product” content type. Then add a new Rating Field to the Comment form.
When you create the Rating field, make sure the Meta key field in Advanced Settings is set “rating”. This is very important. If you set it rating it’ll be integrated with WooCommerce Rating System.
Thank you for the previous suggestions! I’ve set up the rating system for WooCommerce products through the comment form, and it works. However, I need customers to be able to leave a product rating without having to write a comment.
Your documentation mentions that wpDiscuz 7 has a feature for rating posts without comments, and I’d like to apply this to WooCommerce products. Currently, the ratings only work when tied to comments, but I want customers to be able to simply rate the product like it works for articles.
Could you please guide me on:
- How to enable the ability to leave product ratings in WooCommerce without comments?
- How to set up the new rating system to replace the default WooCommerce rating?
Thank you so much for your help!
I'm also interested in this feature. Once this new comment form is created in the specific way detailed above, how would I display it in my product list? I have a custom PHP page that displays Woo Products, and currently no reviews/comments are showing after creating this new form.
Actually, let me clarify - if I use
comments_template();
then the usual WooCommerce review section shows up for the product. But it definitely is not the WpDiscuz product form. So how would one get the WpDiscuz review/rating section to show up after making the changes specified above on the WpDiscuz Forms Admin Page?