Support » Plugin: Multivendor Marketplace Solution for WooCommerce - WC Marketplace » Payments being handled offline, looking to send initial order to vendor

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Khokan Sardar

    (@itzmekhokan)

    @azhousepro as per our current flow a vendor do not have the full access for a order as well as payments. And as per your reference thread, we didn’t provide any code snippet. Although we can provide your refereces hooks/filters through which you can sent offline payment information between customer to vendor for vendor orders.

    And currently we are working on the same vendor wise order modules, where vendor have all the access of a order. We already released its beta version, you can get it from here. But please keep in mind that WCMp Split order is a beta release, so it is recommended not to use this version in live site.

    Let us know if you have any further query.

    Thread Starter AzHousePro

    (@azhousepro)

    It sounds like the new release will resolve this for me. Until then, is there a way to automatically switch the status on the order to “processing” instead of “on hold” when the order is placed?

    Mike

    Plugin Contributor Khokan Sardar

    (@itzmekhokan)

    @azhousepro please use the follows code snippet in your active theme’s functions.php to change order status-

    add_action( 'woocommerce_thankyou', 'do_wc_auto_processing_order');
    function do_wc_auto_processing_order( $order_id ) {
        if ( ! $order_id )
            return;
    
        $order = wc_get_order( $order_id );
    
        // If order is "on-hold" update status to "processing"
        if( $order->has_status( 'on-hold' ) ) {
            $order->update_status( 'processing' );
        }
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Payments being handled offline, looking to send initial order to vendor’ is closed to new replies.