Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey @Hasan_Mgharbel ,
When an order is edited and a line item is removed or the quantity is reduced, what happens on the Shopify backend is they "refund" those line items (more info here).
The Lineitem Quantity field in the default Shopify order CSV will remain unchanged in this case and it currently doesn't include a column for the refunded quantity.
I'm not familiar with theme development, but I don't think changing the theme code will resolve this since the Shopify default CSV can't be modified.
If you're open to using an app and you just need an order CSV export that excludes removed line items and also to export the current line item quantity, our app EZ Exporter can help with this.
In the app, we have a pre-built template called "Orders Excluding Removed/Refunded Line Items (Last 30 Days)" that already takes care of this and can be customized further.
Unfortunately, Shopify only includes the original items and quantities.
Our Report Toaster app can help with this. You can use the Net Quantity field to represent the quantity after any removals or refunds.
Please feel free to check it out. Chances are you can get by with your free version. Feel free to reach out if you have any questions.
Also reported here:
https://community.shopify.com/c/technical-q-a/removed-items/m-p/1143310#M53230
Seems to have been no solution yet.
this issue has been around for years and is still a problem
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024