Title: luizdevplugins's Replies | WordPress.org

---

# luizdevplugins

  [  ](https://wordpress.org/support/users/luizbvplugins/)

 *   [Profile](https://wordpress.org/support/users/luizbvplugins/)
 *   [Topics Started](https://wordpress.org/support/users/luizbvplugins/topics/)
 *   [Replies Created](https://wordpress.org/support/users/luizbvplugins/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/luizbvplugins/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/luizbvplugins/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/luizbvplugins/engagements/)
 *   [Favorites](https://wordpress.org/support/users/luizbvplugins/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 93 total)

1 [2](https://wordpress.org/support/users/luizbvplugins/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/luizbvplugins/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/luizbvplugins/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/luizbvplugins/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/luizbvplugins/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/luizbvplugins/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] Custom order status adjust stock](https://wordpress.org/support/topic/custom-order-status-adjust-stock/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/custom-order-status-adjust-stock/#post-18410536)
 * [@watelsbk](https://wordpress.org/support/users/watelsbk/)
 * have you tried something like this on your functions.php file?
 *     ```wp-block-code
       add_filter( 'woocommerce_can_reduce_order_stock', 'my_custom_stock_reduce', 25, 2 );function my_custom_stock_reduce( $reduce_stock, $order ) {    if( $order->has_status( 'my_custom_status' ) ) {        $reduce_stock = true;    }    return $reduce_stock;}
       ```
   
 * Also set the status as a paid status
 * Also have in mind that certain payment methods may use a different flow of status
   changes, then you need to combine some hooks to reach this. And not sure if the
   stock would level up again if you change it to another status that is not a “
   reduce stock status”
    -  This reply was modified 1 year, 2 months ago by [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/).
    -  This reply was modified 1 year, 2 months ago by [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/).
    -  This reply was modified 1 year, 2 months ago by [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/).
    -  This reply was modified 1 year, 2 months ago by [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] Payment methods, configured in B2B-Market, disappear in new order form (backend)](https://wordpress.org/support/topic/payment-methods-configured-in-b2b-market-disappear-in-new-order-form-backend/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/payment-methods-configured-in-b2b-market-disappear-in-new-order-form-backend/#post-18282252)
 * [@smiley58](https://wordpress.org/support/users/smiley58/) [@zapfeis](https://wordpress.org/support/users/zapfeis/)
   [@mzapfe](https://wordpress.org/support/users/mzapfe/) The solution (for the 
   authors) is moving the payment x status settings to the regular woocommerce settings
   page, but this would mess the Plugin UX having 2 setting areas. If you do not
   use the status x payment method feature you can update the Settings.php file,
   line 110 from
 * $payment_gateways = [];
 * to
 * `$payment_gateways = []; `
 * `return array(); `
 * then it will skip the line that generates the issue: _$available\_payment\_gateways
   = WC()->payment\_gateways->payment\_gateways();_
 * This happens because of the way some payment methods register and the way the
   plugin framework is built (CSF framework)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] Custom order status cannot be displayed on analytics](https://wordpress.org/support/topic/custom-order-status-cannot-be-displayed-on-analytics/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/custom-order-status-cannot-be-displayed-on-analytics/#post-18122172)
 * [@kengi1437](https://wordpress.org/support/users/kengi1437/) have you checked
   this thread? [https://wordpress.org/support/topic/not-including-order-amount-in-report-for-custom-status/#post-17864392](https://wordpress.org/support/topic/not-including-order-amount-in-report-for-custom-status/#post-17864392)
   It seems they provide an option to the analytics part Also they suggest to check
   the plugin documentation there is an article about how to include, it seems this
   part is just settings and not additional code
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] Custom order status cannot be displayed on analytics](https://wordpress.org/support/topic/custom-order-status-cannot-be-displayed-on-analytics/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/custom-order-status-cannot-be-displayed-on-analytics/#post-18052020)
 * try this on your functions.php file remove meta_query to include all status
 * this will include in standard reports
 *     ```wp-block-code
       add_filter( 'woocommerce_reports_order_statuses', 'register_status_on_reports', 20, 1 );function register_status_on_reports( $statuses ) {    if( !$statuses ){ $statuses = []; }     $arg = array(        'numberposts' => -1,        'post_type'   => 'order_status',        'meta_query'  => [[            'key'     => 'is_status_paid',            'compare' => '=',            'value'   => '1',        ]],    );    $postStatusList = get_posts( $arg );    foreach ( $postStatusList as $post ) {        $slug       = get_post_meta( $post->ID, 'status_slug', true );        $statuses[] = $slug;    }    return $statuses;}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] not including order amount in report for custom status](https://wordpress.org/support/topic/not-including-order-amount-in-report-for-custom-status/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/not-including-order-amount-in-report-for-custom-status/#post-17872722)
 * [@mdnazmulislamnil](https://wordpress.org/support/users/mdnazmulislamnil/) You
   can add this code to your functions file to include all custom statuses in the
   report list. this way, all statuses marked as “paid” will be included in the 
   reports. If you want to include all custom statuses, simply remove the `meta_query`.
 *     ```wp-block-code
       add_filter( 'woocommerce_reports_order_statuses', 'register_status_on_reports', 20, 1 );
       function register_status_on_reports( $statuses ) {
   
           if( !$statuses ){ $statuses = []; } // avoid php 8
           $arg = array(
               'numberposts' => -1,
               'post_type'   => 'order_status',
               'meta_query'  => [[
                   'key'     => 'is_status_paid',
                   'compare' => '=',
                   'value'   => '1',
               ]],
           );
   
           $postStatusList = get_posts( $arg );
   
           foreach ( $postStatusList as $post ) {
               $slug       = get_post_meta( $post->ID, 'status_slug', true );
               $statuses[] = $slug;
           }
   
           return $statuses;
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] This ADDON IS BROKEN](https://wordpress.org/support/topic/this-addon-is-broken/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years ago](https://wordpress.org/support/topic/this-addon-is-broken/#post-17784685)
 * [@nixgod](https://wordpress.org/support/users/nixgod/) You can add this code 
   to your functions file to include all custom statuses in the report list. this
   way, all statuses marked as “paid” will be included in the reports. If you want
   to include all custom statuses, simply remove the `meta_query`.
 * I hope this code help other with same issue
 *     ```wp-block-code
       add_filter( 'woocommerce_reports_order_statuses', 'register_status_on_reports', 20, 1 );
       function register_status_on_reports( $statuses ) {
   
           if( !$statuses ){ $statuses = []; } // avoid php 8
           $arg = array(
               'numberposts' => -1,
               'post_type'   => 'order_status',
               'meta_query'  => [[
                   'key'     => 'is_status_paid',
                   'compare' => '=',
                   'value'   => '1',
               ]],
           );
   
           $postStatusList = get_posts( $arg );
   
           foreach ( $postStatusList as $post ) {
               $slug       = get_post_meta( $post->ID, 'status_slug', true );
               $statuses[] = $slug;
           }
   
           return $statuses;
   
       }
       ```
   
    -  This reply was modified 2 years ago by [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] Ajax stopped working after installing the plugin](https://wordpress.org/support/topic/ajax-stopped-working-after-installing-the-plugin/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/ajax-stopped-working-after-installing-the-plugin/#post-17472856)
 * Thanks for the feedback, are they free plugins? Then we can test and check compatibility,
   also provide any other information you think can be helpful, what features have
   stopped, what is the wc/wp version, php version, and all other plugins that may
   impact
    -  This reply was modified 2 years, 3 months ago by [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pre-Orders for WooCommerce] When does the plugin charge](https://wordpress.org/support/topic/when-does-the-plugin-charge/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/when-does-the-plugin-charge/#post-17471903)
 * On the pre order date user receives an email with the payment link, since we 
   are not a payment gateway we do not store user payment information (such card
   number or payment tokens)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pre-Orders for WooCommerce] When does the plugin charge](https://wordpress.org/support/topic/when-does-the-plugin-charge/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/when-does-the-plugin-charge/#post-17468438)
 * Hello. It charges when order is placed. The “pay later” feature is available 
   on Pro version.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pre-Orders for WooCommerce] Multiple Issues](https://wordpress.org/support/topic/multiple-issues-47/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/multiple-issues-47/#post-17453465)
 * Have you upgraded the php version? Try to uninstall any older versions on your
   server
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pre-Orders for WooCommerce] Multiple Issues](https://wordpress.org/support/topic/multiple-issues-47/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/multiple-issues-47/#post-17453281)
 * Hello, are you running php 8 and the composer tell you run 7.3? Are you using
   multiple php installations? Could you provide more information about your server
   setting, debug log?
 *  We need to try simulate this issue. Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] Issues with emails when bulk editing orders](https://wordpress.org/support/topic/issues-with-emails-when-bulk-editing-orders/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/issues-with-emails-when-bulk-editing-orders/#post-17426852)
 * We will attempt to change this behavior in a future release
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] Issues with emails when bulk editing orders](https://wordpress.org/support/topic/issues-with-emails-when-bulk-editing-orders/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/issues-with-emails-when-bulk-editing-orders/#post-17426779)
 * Currently, bulk operations are designed to function exclusively with custom statuses.
   Standard statuses continue to be managed by WooCommerce. We will assess whether
   this can also be handled from our plugin in a future release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] woocommerce payment methods disappeared after setup plugin](https://wordpress.org/support/topic/woocommerce-payment-methods-disappeared-after-setup-plugin/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-payment-methods-disappeared-after-setup-plugin/#post-17425667)
 * Most of the standard payment methods work seamlessly with the plugin (such as
   Stripe and PayPal). However, we have observed that several plugins cease to function
   properly when we request WooCommerce to list available payment methods from within
   our plugin settings.
 * To ensure compatibility with all payment methods, we are considering relocating
   all plugin settings to within WooCommerce settings. We are currently evaluating
   the pros and cons of this decision as it represents a significant change to the
   user interface.
 * As an alternative solution, we offer custom settings that could potentially work
   with your plugins. If you require this custom alternative and specific support,
   please fill out the form at [https://brightplugins.com/support/](https://brightplugins.com/support/).
 * Additionally, we plan to include a list of supported payment methods in a future
   release.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Order Status Manager for WooCommerce] Completed order action button](https://wordpress.org/support/topic/completed-order-action-button/)
 *  [luizdevplugins](https://wordpress.org/support/users/luizbvplugins/)
 * (@luizbvplugins)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/completed-order-action-button/#post-17425642)
 * Yes we intend to release a new version next week

Viewing 15 replies - 1 through 15 (of 93 total)

1 [2](https://wordpress.org/support/users/luizbvplugins/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/luizbvplugins/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/luizbvplugins/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/luizbvplugins/replies/page/6/?output_format=md)
[7](https://wordpress.org/support/users/luizbvplugins/replies/page/7/?output_format=md)
[→](https://wordpress.org/support/users/luizbvplugins/replies/page/2/?output_format=md)