• Resolved nessaviation

    (@nessaviation)


    Hey

    None of the custom order statuses are showing in the bulk action dropdown on orders page.
    I have change status to completed and few other random ones but nothing else.
    Anything I can do to show them there?
    Thanks
    Krys

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s the bug alg_get_custom_order_statuses_from_cpt function. Check the folder in /includes/class-alg-wc-custom-order-statuses-core.php . This function is not solid to hanlde the bulk action.Turn back to use alg_get_custom_order_statuses would be alright. Hope the author could resolve this issue rapidly.

    /includes/class-alg-wc-custom-order-statuses-core.php
    .
    .
    .
    
    public function register_order_custom_status_bulk_actions( $bulk_actions ) {
    			// $custom_order_statuses = alg_get_custom_order_statuses_from_cpt( true ); // <-- there is the bug happend.
    			$custom_order_statuses = alg_get_custom_order_statuses( true ); // Turn back to deprecated(maybe) function.
    			foreach ( $custom_order_statuses as $slug => $label ) {
    				// translators: New Status.
    				$bulk_actions[ 'mark_' . $slug ] = sprintf( __( 'Change status to %s', 'custom-order-statuses-woocommerce' ), $label );
    			}
    			return $bulk_actions;
    		}

    Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @nessaviation,

    Thank you for pointing out this bug. Would you please send us the error message you received in the console log or in the debug log file? As we are unable to reproduce the problem. Also, tell me the version number of the plugin, WooCommerce, WordPress, and PHP running on your site. That would be helpful.

    @aa1235561, thank you for finding out the solution for this bug. We will definitely consider it. I’m reporting this to our team so that they can include the fix in the plugin. We will just need few steps to replicate this problem at our end.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order bulk actions not showing’ is closed to new replies.