• Hello,

    We’re trying to add a function to have bids appear in comment fields for each product. Is there a way to achieve this. We tried adding hooks and injecting the bid using ajax to no avail. And ideas, or is it even possible?

    • This topic was modified 3 years, 5 months ago by thinkbliss.
Viewing 1 replies (of 1 total)
  • Hello,

    we have created many functions for bid in plugin. You can use the function according to the information you want to displayed. For example, If you want to display the current bid of the auction product in the comment section, you can do it with below code.

    <?php
    global $woocommerce, $product, $post;
    $auction_bid_value = wc_price($product->get_woo_ua_current_bid());
    ?>
    <div>Current Bid: <?php echo $auction_bid_value; ?></div>
    

    you can override the file of the comment section(single-product-reviews.php) via theme into your site and add above code in this template file.

    Thank You

Viewing 1 replies (of 1 total)
  • The topic ‘Have bids also appear in comment field’ is closed to new replies.