• Hello.

    In addition to the mandatory <content> attribute, a <review> element also contains a <title>.

    By default, the title is filled with the product name.

    How can I select a custom field stored as comment/review meta in database for <title>?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Thanks for using our plugin and reaching out to us.

    We are very sorry but there is very little flexibility in our plugin when it comes to creating review feeds. The default review functionality of Woocommerce reviews basically only allows users to rate a product and to write some content for it. Users cannot leave a review title. That is why we have chosen to use the product name for this title field. Unfortunately this cannot be altered.

    Thread Starter robertrosanke

    (@robertrosanke)

    Thanks for the feedback.

    I assume that many WooCommerce users use a plugin to improve the rating function or have even programmed something themselves.

    Would you like to work on a feature to link the Review Feed fields to your own content/comment meta?

    Or at least a filter hook that passes a feed review entity as php array along with the associated comment including all metadata so at least developers can customize the feed before being converted to XML?

    Example “feed review as php array”:

    [
     "title" => 'abc',
     'content' => 'great product',
     'timestamp' => '123456',
     'products' => [...]
     ...
    ]

    We also have custom comment meta for “is anonymous”.

    A filter – whether in the interface or via hook – is probably helpful for the product review feed.

    A filter hook might also help with the following issue: Google Product Review Feed: Link all variants of a variable product to a review.
    Developers could find solutions themselves at the product level.

    What do you think about a filter hook as an efficient solution for the limited options in the interface?
    (The interface could always be expanded later. Would be first a solution – better than none.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google Product Review Feed: Use custom field for review title’ is closed to new replies.