General Marketplace Discussion (User’s interaction forum)
-
AuthorPosts
-
-
July 7, 2021 at 5:44 AM #124362kevajoParticipant
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 -
July 7, 2021 at 4:34 PM #124419MVX Support NinjaKeymaster
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://multivendorx.com/custom-development/) so they can add this feature in your site. -
July 7, 2021 at 4:58 PM #124420kevajoParticipant
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. -
July 7, 2021 at 5:01 PM #124421kevajoParticipant
This problem has arisen since updating your plugin.
Because on our second site the plugin is not updated and all the filters work correctly. -
July 7, 2021 at 5:39 PM #124423kevajoParticipant
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.
-
July 7, 2021 at 6:57 PM #124426MVX Support NinjaKeymaster
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 -
July 13, 2021 at 2:40 PM #124726kevajoParticipant
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 -
July 13, 2021 at 6:19 PM #124762NerdySupportExpert MoumitaKeymaster
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. -
July 13, 2021 at 7:49 PM #124794kevajoParticipant
I added the filter with the name works but the subcommand does not pass.
-
July 14, 2021 at 5:47 PM #124829MVX Support NinjaKeymaster
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. -
July 14, 2021 at 5:47 PM #124830MVX Support NinjaKeymaster
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. -
July 14, 2021 at 5:57 PM #124833kevajoParticipantThis reply has been marked as private.
-
July 14, 2021 at 8:09 PM #124854MVX Support NinjaKeymasterThis reply has been marked as private.
-
July 14, 2021 at 9:35 PM #124860kevajoParticipantThis reply has been marked as private.
-
July 15, 2021 at 7:03 PM #124910NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
July 15, 2021 at 10:36 PM #124945kevajoParticipantThis reply has been marked as private.
-
July 19, 2021 at 2:39 PM #125053kevajoParticipant
need update on this topic
-
July 19, 2021 at 8:26 PM #125113kevajoParticipant
okay
-
July 22, 2021 at 3:13 PM #125257kevajoParticipant
need update on this topic okay
-
July 23, 2021 at 5:42 PM #125307NerdySupportExpert MoumitaKeymaster
@kevajo, thanks for your co-operation.
Our team will check and get back to you by today. -
July 23, 2021 at 7:56 PM #125324Raju The Cool GuyKeymaster
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 updateadd_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 -
July 23, 2021 at 9:48 PM #125327kevajoParticipant
its okay good
-
July 24, 2021 at 7:28 PM #125378Raju The Cool GuyKeymaster
Thanks for the update Kevajo 🙂
-
August 5, 2021 at 1:37 PM #125927MaxenceTPParticipant
Hello,
I have seen that this bug has been fixed in the last version however it was fine for me. Is it possible to have the piece of code to put in my theme so that the sub-orders are not displayed in the search results?
Thanks 🙂
-
August 5, 2021 at 9:17 PM #125966MVX Support NinjaKeymaster
Hi,
Which search do you mean??? Can you please explain?
Thanks -
August 6, 2021 at 12:06 AM #125968MaxenceTPParticipant
Here is a screenshot : https://prnt.sc/1jj0vbc
I hope you’ll understand with that :p -
August 6, 2021 at 7:33 PM #125994NerdySupportExpert MoumitaKeymaster
@MaxenceTP, thanks for the explanation.
The code to revert this change requires huge custom code, hence sharing snippets won’t be possible. It requires you to use the woocommerce hook/filter to remove the codes for this support.
If you can do the ode our end, then our team can share the coding procedure with you.
-
August 7, 2021 at 2:54 AM #126015MaxenceTPParticipant
I’m interested to have more information about the custom code this thing require 🙂
Or maybe you can make an option in WCMp to display or not the suborders in Woocommerce results ? -
August 9, 2021 at 6:22 PM #126076MVX Support NinjaKeymaster
Hi,
Please add this code in the function.php of the current active theme :add_filter("wcmp_shop_order_query_request", 'wcmp_order_table_remove_suborders'); function wcmp_order_table_remove_suborders($query){ $query['post_parent'] = 0; return $query; }
CopyRegards,
-
August 10, 2021 at 5:16 PM #126125MaxenceTPParticipant
Thanks! It works
-
August 10, 2021 at 6:12 PM #126127MVX Support NinjaKeymaster
Thanks for the update @MaxenceTP
-
-
AuthorPosts
The topic ‘Filter the orders with the sub-order number’ is closed to new replies.