1. info@yzcommunicatie.nl
  2. RO CSVI
  3. Wednesday, 22 November 2023
  4.  Subscribe via email
Hi Roland,

I am using the HikaShop order export plugin, but now see that only orders in the frontend are exported.
If my client creates an order for its customers in the administrator, this does not work.

In the code of the plugin i see:

// Don't run from administrator
if ($this->app->isClient('administrator'))
{
return true;
}

is this done on purpose or can this line be removed without problems (or possibly adding a parameter in the plugin)?

Thanks in advance.
Jeroen
Accepted Answer
Accepted Answer Pending Moderation
Hello Jeroen,

is this done on purpose or can this line be removed without problems (or possibly adding a parameter in the plugin)?
Yes this is done on purpose as you always want to check when your plugin is called and if it should run. The administrator part has never been a question in the 7 years the plugin has been alive :D

You can remove that line without problems. It just means that the plugin will also run in the administrator part of the website.

Let me know if that works for you.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # Permalink
Sorry, the discussion is currently locked. You will not be able to post a reply or a comment at the moment.