The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to add the new ...
 
Share:
Notifications
Clear all

Question How to add the new rating system in WooCommerce, and does it depend on the theme?

6 Posts
3 Users
0 Reactions
139 Views
Posts: 2
Topic starter
(@ewiado)
New Member
Joined: 1 month ago

 

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:

  1. How can I correctly integrate the wpDiscuz rating system into WooCommerce templates so it displays instead of the standard product rating?
  2. 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?
  3. 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!

2024 10 10 10 59 50
2024 10 10 10 58 33
5 Replies
Asti
Posts: 7601
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

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.

Reply
Posts: 2
Topic starter
(@ewiado)
New Member
Joined: 1 month ago

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:

  1. How to enable the ability to leave product ratings in WooCommerce without comments?
  2. How to set up the new rating system to replace the default WooCommerce rating?

Thank you so much for your help!

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7601

@ewiado 

Sorry for the late response. 

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.

I'm sorry, but the suggestion above is the only way you can use the rating feature in the WooCommerce Products. 

 

Reply
Posts: 13
(@legendsof)
Active Member
Joined: 2 months ago

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.

Reply
Posts: 13
(@legendsof)
Active Member
Joined: 2 months ago

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?

Reply
Share: