WCMp Advanced Frontend Manager
-
AuthorPosts
-
-
February 5, 2022 at 2:11 AM #134080redilsonParticipant
Hello WCMP team,
I came across an issue on the vendor frontend Order Download CSV function. If a vendor product has been Permanently Deleted from Woocommerce, those products are being omitted from the export. As a result, if an order a vendor had only had that 1 product, the orders aren’t included in the export.
To recreate this, you’ll want to:
1) Place a couple of orders with a product
2) Permanently delete that product from Woocommerce
3) Go back into Orders screen in the front end manager as a Vendor and export the Orders.You’ll see that any order that had that deleted product on it is either removed from the “Items bought” column of the Export, or, if that was the only item on the order, the export does not include the order.
Thank you for looking into it.
-
February 5, 2022 at 2:21 AM #134081redilsonParticipant
I also noticed that those same orders, with the permanently deleted products, do not display in the PDF Invoices plugin either for those same exact orders. Both the Order Export and Invoices/Packing Slips should be pulling from Woocommerce’s archived data so they display even if a product is deleted completely, which happens often for historical data.
-
February 8, 2022 at 11:02 AM #134161NerdySupportExpert MoumitaKeymaster
@redilson, thanks for reporting this issue.
Our team will fix this in our next update. You can track this from here : https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/issues/1043
-
February 14, 2022 at 11:11 PM #134425redilsonParticipant
Thank you very much! As it’s tax season, this is fairly urgent for vendors to export their orders to get their taxes done.
-
February 15, 2022 at 8:03 PM #134445NerdySupportExpert MoumitaKeymaster
@redilson, I have consulted with the dev team, it might take us some time to implement this as we fetch the order details from the database. And we fetch the products are associated with the vendor id. So, as you have deleted the products, so they have also been removed from CSV.
We will try to add a fix in our future update ASAP
-
March 7, 2022 at 11:14 PM #135183redilsonParticipant
Hello WCMP team,
Any time estimated on this? Businesses are in the middle of tax season and this is an issue. Thank you very much for your efforts.
-
March 9, 2022 at 10:27 PM #135230NerdySupportExpert MoumitaKeymaster
@redilson, we will try to work on this by next week, but we are not sure whether deleted products and well as orders can be restored via report.
I will give you an update by next week. -
March 14, 2022 at 5:20 PM #135353NerdySupportExpert MoumitaKeymaster
@redilson, I have discussed with my team.
Orders are depended on the products, and the vendors are the owner of that product. Now if you delete a product then the owner of that product is also lost along with another attribute of the products. Thus the order is deleted too.
So it is quite difficult to restore a vendor of a product that no longer exists. May I know why did you delete a product that was essential for your site?
-
April 9, 2022 at 12:51 AM #136272redilsonParticipant
Hello and thank you for discussing this with your team! Products are deleted by vendors all the time. That’s normal activity you’d expect on a marketplace with many vendors. They won’t keep every single product listed if they no longer offer it. Especially if you limit the number of products they can have on the site.
Woocommerce keeps record of the all products in order data, regardless if the product was deleted or not. The export in the WCMP Frontend should be able to pull that historical data from Woocommerce, so its an accurate export of sales for whatever time period. If you do a test order in Woocommerce and delete the product after, you’ll see in Woocommerce’s Order Export (through the Admin panel) that it still shows that order even though the product was deleted.
Wouldn’t the sub order be connected to the vendor? I’d think you’d be able to just export data for all sub orders by vendor id within the time period selected?
-
April 9, 2022 at 12:57 AM #136273redilsonParticipant
Attached is the sub order with a Deleted product. It has the data retained along with the Vendor for the sub order: Sold By.
-
April 9, 2022 at 1:07 AM #136275redilsonParticipant
Without this fix, many users of WCMP will have inaccurate export data for the vendors to do their taxes if they got orders with products that have been deleted after the order took place.
-
April 11, 2022 at 6:38 PM #136348NerdySupportExpert MoumitaKeymaster
@redilson, our developer will get back to you on this by tomorrow.
-
April 12, 2022 at 4:25 PM #136374NerdySupportExpert MoumitaKeymaster
Redilson please update the plugin to the latest version and add this code in the function.php of the theme :
add_filter('wcmp_order_export_if_product_exist', '__return_false');
Copy -
April 13, 2022 at 11:45 PM #136428redilsonParticipant
Thanks! I’ll try to test it out soon.
-
April 14, 2022 at 9:27 AM #136438MVX Support NinjaKeymaster
Sure
-
-
AuthorPosts
The topic ‘Order Export omitting orders’ is closed to new replies.