The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
How to add the new ...
 
Share:
Notifications
Clear all

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

9 Posts
3 Users
0 Reactions
2,378 Views
Posts: 2
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@ewiado)
New Member
Joined: 1 year ago
[#9150]

 

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

8 Replies
Asti
Posts: 8208
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@asti)
Illustrious Member
Joined: 8 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.


Posts: 2
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@ewiado)
New Member
Joined: 1 year 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!


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

Illustrious Member
Posts: 8208
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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. 

 


Posts: 17
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@legendsof)
Eminent Member
Joined: 1 year 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.


Posts: 17
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@legendsof)
Eminent Member
Joined: 1 year 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?


3 Replies
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8208
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@legendsof 

Please open your own support topic and leave the example URL to allow us to check the issue.


(@legendsof)
Joined: 1 year ago

Eminent Member
Posts: 17
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Screen Shot 2024 11 19 at 8.27.20 AM

@asti Actually I seem to have it working now on the product page. Two problems now are that the stars are BELOW the comment/review form, and I would like to move them like we do on the Post page. Also would be nice to be able to allow the user to just rate without putting in a review, like it works with posts. Is this possible?


Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8208
Asti
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@legendsof 

Rating without leaving a comment is not possible on WooCommerce product pages.


Share: