Nop Commerce 4404 excel export issue

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
Hi to everybody.

I'm running nop 4404 version and I need to display in the exported excel file the field "AdminComment".

I discovered that it is in the xml file but is not in the excel file...anyone knows how to show it also in the excel file?

Thak you in advance
Lorenzo
2 years ago
For including AdminComment in excel export you have to modify default source code or include a plugin which will override the default methods.
2 years ago
For including AdminComment in excel export you need to customize or change in this method
ExportManager.cs > ExportProductsToXlsxAsync

in this method, you can add this line
new PropertyByName<Product>("AdminComment", p => p.AdminComment)

if you are using plugin you can override the service and override the method and add this
if you are doing customize you can directly add this line
Thanks
ILyas Patel
2 years ago
I have a plugin thats does custom Export and Import of Products, Customer and Orders
See https://www.selectsystems.com.au/import-export-manager

The plugin will
- Export and Import Products - Including Product Attribute Combinations Stock Quantities
- Export and Import Customers with additional fields
- Export and Import Orders including Custom Attributes
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.