• Hi,

    Is there a way to disable the product review for the role “Customer” (the default role for a customer after a purchase and created an account) and, after a new role created, allowing the product review for this 2nd role only? I didn’t see the review part in the list of the plugin..

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gabberman2

    (@gabberman2)

    It could be a capability of “add a comment” but I can’t find anything.

    Is there a way to add this capability ? If yes, how ?

    Thanks!

    Plugin Author Vladimir Garagulya

    (@shinephp)

    What plugin offers “Product review” function?

    Thread Starter gabberman2

    (@gabberman2)

    Photo Review by villa theme, but all the reviews are in the default Comments section of WP. So maybe something around the comments?
    Because if the role of a logged user can add a comment, I guess it’s possible to choose which role can add or not a comment … ?

    Thread Starter gabberman2

    (@gabberman2)

    Any news… ?

    Thread Starter gabberman2

    (@gabberman2)

    Allo ??!!

    Plugin Author Vladimir Garagulya

    (@shinephp)

    I do not see any special capability for this purpose.

    2020 theme shows new comment form under this condition:
    if ( comments_open() || pings_open() ) {
    and comments_open() function allows to change its return value via filter:
    apply_filters( 'comments_open', $open, $post_id );

    So you can check if current user has needed role and decide open this post for comments to him or no.
    If your theme works similar you can use ‘comments_open’ filter too.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Allow Product Review for a specific role ?’ is closed to new replies.