Hello,
You want to display the highest bidder’s name on the product page as shown in the screenshot.
Currently, the highest bidder’s name is displayed in the bid history table. If you want to display it above the countdown timer, you need to add custom code to the auction plugin.
You can display the highest bidder name using the below custom code.
<?php
global $woocommerce, $product, $post;
$current_bidder = $product->get_woo_ua_auction_current_bider();
?>
<div>
<strong>
<?php _e('Best Bidder Name:', 'ultimate-woocommerce-auction'); ?>
</strong>
<span>
<?php echo esc_attr(uwa_user_display_name($current_bidder)); ?>
</span>
</div>
The below plugin file is used to display the auction data on the front end. You need to add the code where you want to display the bidder name to the below plugin file accordingly.
Ultimate auction for Woocommerce -> Templates -> Woocommerce -> single-product -> uwa-bid.php
You can override the uwa-bid.php template file to the active theme of your site and add the custom code there. So, when you update the auction plugin, the custom code is not removed.
If you are not able to add the code properly to your site and you need help with it, please contact us here. We will help you.
Thank You