fbpx

Filter the orders with the sub-order number

General Marketplace Discussion (User’s interaction forum)

Filter the orders with the sub-order number Open

Viewing 23 reply threads
  • Author
    Posts
    • #124362
      kevajo
      Participant

      When we filter the sub-command number in the commands it does not display any results.
      Not against when it is the main order number the result is displayed in the order searches.
      This poses a huge problem for us because the sellers send us their order number which is the sub-order number and we cannot find a solution. *
      Please allow things to be the same as before, ie we can filter the main order number as well as filter the sub-order number.
      Vidéo link : https://www.loom.com/share/cece948558e947c785b6bd1a7189776c

    • #124419

      Hi @Kevajo , thanks for connecting to us .
      I am sorry but we don’t have the feature to filter by sub-order number.
      But not to worry , you can do it by adding custom code. If you have any developers, ask them to contact us so we can help you out with the coding procedure.
      Alternatively, you may hire our service team (https://wc-marketplace.com/custom-development/) so they can add this feature in your site.

    • #124420
      kevajo
      Participant

      Since the update, also we are not able to also filter the orders with the name of the seller as the sub-order number.
      Please check this out.

    • #124421
      kevajo
      Participant

      This problem has arisen since updating your plugin.
      Because on our second site the plugin is not updated and all the filters work correctly.

    • #124423
      kevajo
      Participant

      This problem has arisen since updating your plugin.
      Because on our second site the plugin is not updated and all the filters work correctly.
      I am reverting to version 3.7.5 and everything is working fine.
      Check that out.

      NB: I think I am helping you a lot because most of your mistakes were not found by me.

    • #124426

      Hi @Kevajo , we don’t have the feature to search by sub order ID , As you can see in this video , we are using old version of WCMP but can not filter by sub order ID.
      https://www.awesomescreenshot.com/video/4398793?key=e3abf863bd19d94bbabab539a3f40d8a

    • #124726
      kevajo
      Participant

      This is due to your update.
      When I go to update the plugin we can no longer search for a sub-order or the name of a customer.
      Also several of our salespeople have difficulty connecting

    • #124762

      Yes Kevajo, there was an issue. ​For now, we have also added a fix in our GitHub.
      So, after downloading the plugin from here – https://github.com/cool-raju/dc-woocommerce-multi-vendor/archive/refs/heads/fix/901.zip, follow these steps :
      – Delete the installed WC Marketplace via wp-admin >> plugin
      – Unzip the GitHub plugin
      – Rename the folder as “dc-woocommerce-multi-vendor” and remove the master tag. Now, zip this folder again.
      – Install this plugin on your site.
      Please do keep us posted.

    • #124794
      kevajo
      Participant

      I added the filter with the name works but the subcommand does not pass.

    • #124829

      hi
      Please do create a staging site and share a temporary admin, ftp access to that site. Our team will check this on your end.
      While sharing the access, don’t forget to mark the response as private.

    • #124830

      hi
      Please do create a staging site and share a temporary admin, ftp access to that site. Our team will check this on your end.
      While sharing the access, don’t forget to mark the response as private.

    • #124833
      kevajo
      Participant
      This reply has been marked as private.
    • #124854
      This reply has been marked as private.
    • #124860
      kevajo
      Participant
      This reply has been marked as private.
    • #124910
      This reply has been marked as private.
    • #124945
      kevajo
      Participant
      This reply has been marked as private.
    • #125053
      kevajo
      Participant

      need update on this topic

    • #125112

      @kevajo, Somehow this is not working on your end.
      Our team will check.

    • #125113
      kevajo
      Participant

      okay

    • #125257
      kevajo
      Participant

      need update on this topic okay

    • #125307

      @kevajo, thanks for your co-operation.
      Our team will check and get back to you by today.

    • #125324

      Hi,
      For now, use this code in your currently active theme functions.php file to fix this issue. We will fix this in our next update

      add_action('init', function() {
          global $WCMp;
          remove_filter('request', array($WCMp->order, 'wc_order_list_filter'), 10, 1);
          add_filter('request', 'wc_order_list_filter_modified', 10, 1);
      });
      function wc_order_list_filter_modified($query) {
          global $typenow;
          $user = wp_get_current_user();
          if ('shop_order' == $typenow) {
              if (current_user_can('administrator') && empty($_REQUEST['s'])) {
                  $query['post_parent'] = 0;
              } elseif(current_user_can('shop_manager') && empty($_REQUEST['s'])) {
                  $query['post_parent'] = 0;
              } elseif(in_array('dc_vendor', $user->roles)){
                  $query['author'] = $user->ID;
              }
              return apply_filters("wcmp_shop_order_query_request", $query);
          }
      
          return $query;
      }
      Copy
    • #125327
      kevajo
      Participant

      its okay good

    • #125378

      Thanks for the update Kevajo 🙂

Viewing 23 reply threads

Please LOGIN to reply to this topic

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price