Export - problem with order with points

  • Posts: 193
  • Thank you received: 15
  • Hikashop Business
3 months 2 weeks ago #362508

Hi,
I have set up order export in mass actions. Everything works fine, but if there is an order where the customer uses the collected points, two rows are added that have unusual values ​​for the column order_product_code and order_product_price. Can this be eliminated/changed somehow?

Tom

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
3 months 2 weeks ago #362509

Hi,

The points are added as additional fees to the orders. These additional fees are stored in the order_product table by HikaShop.
It would be the same if you added extra fees with the cart fees plugin available on our marketplace.

The mass action export sees the extra fees as normal products when generating the CSV.
The nice and clean way would be to create a class override of the massaction class ( www.hikashop.com/support/documentation/6...ntation.html#classes ) and override the method organizeExportColumn(&$params,$table, &$columnsArrays) in order to remove the entries of the array $params->elements after calling the parent method.
It's not difficult if you're a developer. But if you're not it will be challenging.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum