We have a custom sales export script that we use to export sales and customer information from CS-Cart to MYOB Accounting and need some changes made to the export.
The changes required are
1) If the sales type is Failed or Cancelled not to export the items sold just a generic export heading.
2) If there are reward points used then a preset product and description needs to be added to the sales export file along with the number of points and dollar value of the rewards points used. Plus change a couple of the flags preset for the export.
3) If there is a discount coupon used then a preset product and description needs to be added to the sales export file along with the value of the discount.
4) Option not to export Customer Details based on the users group.
For options 2 to 4 a new Database table will need to be created (manually maintained is OK) that contains the details to be excluded or the product codes for the Rewards Points & Discounts.
Full examples and details provided on request.
Current export is working without issues. These changes are enhancements to the existing export script.