CSV to Email automatically

  • Posts: 38
  • Thank you received: 2
  • Hikashop Business
4 months 5 days ago #278649

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Chrome 61

I would like to create a custom CSV/XSL file which will be send to admin with every new order e-mail.
The file should include product list with prices and summary, just like in the attached file.

How can it be done?

Attachments:

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

  • Posts: 60583
  • Thank you received: 8545
  • MODERATOR
4 months 4 days ago #278650

Hi,

If you want an easy way, you can create a mass action via the menu System>Mass action with a trigger "after an order is created" and an action "export CSV file" and configure it to send it to your email address.
Note however that the format of the CSV will be different from the one of your screenshot.
If you want the exact same result, then you would have to develop a custom plugin for HikaShop which would do the same but generate the CSV exactly like you want.

The following user(s) said Thank You: bolando

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

Time to create page: 0.086 seconds
Powered by Kunena Forum