• Resolved evdaws

    (@evdaws)


    Hi there,

    Great plugin! Just wondering if anyone has worked out a way to have the “review by” meta data display as the billing name instead of the plugin pulling up the customers username?

    • This topic was modified 7 years, 1 month ago by evdaws.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi @evdaws,
    you can overwrite the review template from your theme by copying the file
    wp-content/plugins/yith-woocommerce-advanced-reviews/templates/ywar-review.php in
    wp-content/themes/[your (child) theme folder]/woocommerce folder and edit the file in the new location, replacing the username with the value you wish.

    Thread Starter evdaws

    (@evdaws)

    Cheers for fast reply.

    For anyone who wants to do this too and is only enabling reviews for a person who has purchased the product I got it working with this at line 22 of the ywar-review.php file

    $author_name = $user->billing_first_name.’ ‘.$user->billing_last_name;

    Thanks.

    Plugin Author YITHEMES

    (@yithemes)

    Hi @evdaws,
    well done! We would only to highlight that those changes should be done to the file ywar-review.php located in wp-content/themes/[your (child) theme folder]/woocommerce.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Review by billing name instead of username’ is closed to new replies.