Set voting target - How to use

Created on 17 April 2019, about 5 years ago
Updated 7 January 2024, 6 months ago

I have a review/comment type that has a fivestar field which people use to rate a product.

I see Target bridge field and Target fivestar field on the, I have added the fivestar field I added on the node "Food" which the review comment type sits at the bottom of.

I have added an entity reference on the review comment type to link to the node type but there are two problems.

The reviewer has to fill in this entity reference to the node they are on, can this not be done automatically?

Secondly, this is all set up and the vote does not get passed over to the node of 'Food'.

πŸ’¬ Support request
Status

Needs work

Version

1.0

Component

Documentation

Created by

πŸ‡¬πŸ‡§United Kingdom effortDee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine proweb.ua

    Does not work if the commerce module is used and comments are attached to the product
    The rating field for a product is not updated after adding a comment with a rating

  • πŸ‡ΉπŸ‡­Thailand manarak

    I just tried using this inside a paragraph.
    I had setup a fivestar field "field_fivestar_parent" on the parent node, and I added an entity reference field in the paragraph targeting that parent node, and the field "field_fivestar_parent".
    Didn't work.

    In the comments above, I guess using "entity_id" works because the comments use that.

    For other structures that are not comments, setting up an entity reference field pointing to a parent node and then targeting the parent node's fivestar field doesn't work for some reason.

  • Status changed to Needs work 6 months ago
  • πŸ‡ΉπŸ‡­Thailand manarak
Production build 0.69.0 2024