How to change separator from ; to |

  • Posts: 138
  • Thank you received: 1
5 years 3 months ago #204103

-- HikaShop version -- : latest
-- Joomla version -- : latest
-- PHP version -- : latest
-- Error-message(debug-mod must be tuned on) -- : non

Hi,

We are using the massaction to get a csv file with the orders. How ever we only see the option to change the seperator from ; to , or the other way around.

However we need this to be '|' this one. Where in the code can we change the komma to | this one?

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

  • Posts: 13201
  • Thank you received: 2319
  • MODERATOR
5 years 3 months ago #204104

Hi,

You can edit the file "administrator/components/com_hikashop/types/csv.php" and add an entry for the pipe.
Then in Configuration > Main > Files select you entry for the csv file separator option.

If you want to have the pipe only for the mass actions and not for the common product export, you will have to edit the file "administrator/components/com_hikashop/classes/massaction.php" and in the function "_exportCSV()" change the value of the variable "$separator".

The following user(s) said Thank You: extreme

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

  • Posts: 138
  • Thank you received: 1
5 years 3 months ago #204690

Thanks that worked fine.

I have a second question. right now we use a massaction to export the orders of the day. We were wondering if its possible to set the orders automatic from confirmend to send as soon as this order is exported by the massaction?

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

  • Posts: 24396
  • Thank you received: 3757
  • MODERATOR
5 years 3 months ago #204704

Hi,

You're using a mass action : so you can add an action to change the order status.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum