The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Prevent other custo...
 
Share:
Notifications
Clear all

[Solved] Prevent other custom rating fields from reducing the product rating

8 Posts
2 Users
0 Reactions
728 Views
Posts: 9
Topic starter
(@zo-zo-lee)
Active Member
Joined: 4 weeks ago

Problem trying to add a custom rating field to products.
  I want each of these to be distinct separate ratings that do not have any effect on each other.
  However, if I give the product 5 stars, and then give the size 3 stars, the product rating automatically reduces itself to 4 stars.

stop averaging other fields

How can I separate a custom rating field for information purposes only, so that it does not reduce the overall product rating? 

7 Replies
Posts: 67
Support
(@zackar)
Trusted Member
Joined: 10 years ago

Hi @zo-zo-lee

Kindly change the ratings field meta key 'rating' in the wpDiscuz Form to a different value.

Reply
Posts: 9
Topic starter
(@zo-zo-lee)
Active Member
Joined: 4 weeks ago

Thanks,
  Is there another way to hook that meta key into the woocommerce rating system?

Reply
Posts: 67
Support
(@zackar)
Trusted Member
Joined: 10 years ago

 

@zo-zo-lee

No hooks needed. Everything can be done from the admin panel.

Reply
Posts: 9
Topic starter
(@zo-zo-lee)
Active Member
Joined: 4 weeks ago

I've tried all of that.
  The problem is that the rating then do not show in the general woocommerce rating displays, unless the meta key is "rating"
  But if the main rating field meta key is "rating" then it just averages in my new "size_fit" meta key, or any other ratings or sliding scale information I might want to add, into the main rating and doesn't display any averages for those ones at all.
  I'm trying to get the products to work so that they can give a product 5 stars, but select three for size and fit (center, or just right) just for information purposes.  

Reply
Posts: 9
Topic starter
(@zo-zo-lee)
Active Member
Joined: 4 weeks ago

Or woocommerce just adds its own "rating" key and averages my custom ratings - which is the same problem, it's reduced by the informational keys

image
Reply
Posts: 9
Topic starter
(@zo-zo-lee)
Active Member
Joined: 4 weeks ago
image
Reply
Page 1 / 2
Share: