Home Forums WC Vendors Pro Support Hide the user that rated the vendor

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.


Thank you to all of our customers!


Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #66219

    My rating for vendors it is O.K but I want to hide the name of the person or user that evaluated the vendor.
    On the picture you can see first, the date and the person´s name, for example Pamela…
    Thank you very much.


    Yes- you can modify the template for the ratings and change this.

    First find this file:

    Copy this file.

    Then move it here:

    Modify this line (line 35). change it from this:
    $customer_name = ucfirst( $customer->display_name );

    to this (you just are “commenting out” that line):
    //$customer_name = ucfirst( $customer->display_name );

    Save the changes. That should do it.


    Anna, thank very much, I did it.It´s correct for the rating page but incorrect for the product name, still appears the customer´s on the product page.
    Please see the pictures.
    Thank you very much.


    Ok- I see that. I forgot about that one!

    You will need to override another template.

    Copy & move to:

    In line 18 you will see this:
    <?php _e( ' by ', 'wcvendors-pro'); echo $customer_name; ?>

    Change it to this:
    <?php// _e( ' by ', 'wcvendors-pro'); echo $customer_name; ?>


    Hello Anna.
    Thank very much, I did it, but it appeared an error on the page, so I deleted that part and then it worked.
    Thank you again.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.