• Resolved WakkerMedia

    (@wakkermedia)


    Hi there!

    I need some help.

    I’m trying to add some functionallity when an Auction is closed. The ultimate_woocommerce_auction_close doesn’t do anything..

    We’ve purchased the pro version of this plugin, we have the Ultimate Auction Pro Software Theme and the Ultimate Auction Pro Vehicle Software theme (active). My search has not led me to anything. Can you please help me out?

    A need to add an update to other fields in the database when an auction is closing.

    With kind regards,

    Douwe Hoogeveen

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @wakkermedia,

    We have received your query and noted that you mentioned both our Pro software plugin and theme. Are you using both on different sites or just one of them?

    You’d like to add custom functionality when an auction closes. Could you clarify if this is for the Pro plugin or the theme? We’re not sure based on your query.

    For adding functionality when an auction closes in the Pro plugin, use the “ultimate_woocommerce_auction_close” hook, which is functioning correctly. Please provide more details on the specific functionality you wish to implement, so we can offer better guidance.

    Please use this contact form to submit your answers about the Pro plugin. For inquiries related to the Ultimate Auction Pro Software Theme, use this contact form. This forum is exclusively for queries about the free plugin.??

    Thank You

    Thread Starter WakkerMedia

    (@wakkermedia)

    Hi @payalrajyaguru,

    Thank you for your reply!

    We have installed the plugin Ultimate WooCommerce Auction Pro. This is active with a license key. As for the Theme we have installed Ultimate Auction Pro Vehicle Software. This is active and is a childtheme of Ultimate Auction Pro Software. Ultimate Auction Pro Software is also installed and (ofcourse) not active as it is the parent theme.

    I’m not sure which form I need to submit my answer because I cant decide which of the two are compliant with my wishes.

    My current code (which does not do anything.. The die() is used for testing.

    add_action('ultimate_woocommerce_auction_close', 'wooxl_add_values_to_auction_close', 10);

    function wooxl_add_values_to_auction_close($auction_id) {

    $product = wc_get_product($auction_id);

    // Add values needed for closing auction in old env.

    update_post_meta($auction_id, 'auction_status', 'closed');

    update_post_meta($auction_id, 'auction_closed_time', strtotime("now"));

    update_post_meta($auction_id, 'auction_status_date', date("Y-m-d"));

    update_post_meta($auction_id, 'auction_sales_status', '-geen-');

    update_post_meta($auction_id, 'auction_selected_bid', 'closed');

    echo "<pre>";

    print_r($product);

    echo "</pre>";

    die();

    }

    As said earlier. This is nog working.

    I hope I have answered your questions and hope you can help me.

    With kind regards,

    Douwe

    Hello @wakkermedia,

    We have read your query and we are ready to help you out. To better understand and address your issue, We need some information about your site and your query requires a more in-depth discussion. This query is regarding Pro software,?please submit your query using this contact form. We will review it there and provide you with a solution.

    Thank You

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.