• Resolved sarahgb

    (@sarahgb)


    Hi, How can I hide Payment Pending orders from the vendors orders dashboard or disable their option to mark these payments as complete? I have had a number of vendors mark these order as complete and then request withdrawals which have been paid out and I am out of pocket.

    I want to limit confusion for these vendors and either now allow them to see the pending payment orders (ones that have gone thru to paypal but not been completed) or to not allow them to change the staus on any order that is pending payment. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Lovers

    (@wclovers)

    HI,

    Well, I think this will be better to disable “mark complete” option for “pending payment” orders.

    Between, what about “On Hold” orders?

    Thank You

    Thread Starter sarahgb

    (@sarahgb)

    How do I disable the mark complete option for pending payments? All orders are coming through as “on hold” until the vendor marks them as processing or complete so I’m happy for them to still have the option for on hold. The pending payments have confused them.

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Please add this code snippet to your site, hence vendors will not able to update “Pending Payment” order status –

    add_filter( 'wcfm_status_update_block_statuses', function( $order_status, $order_id ) {
    	if( wcfm_is_vendor() ) {
    		$order_status[] = 'pending';
    	}
    	return $order_status;
    }, 50, 2 );

    Add this code to your child theme’s functions.php
    In case you do not have child theme then add code using this plugin –?https://www.ads-software.com/plugins/code-snippets/

    Thank You

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Pending Payment orders from Vendor or Disable their option to Mark Complete’ is closed to new replies.