hide details

  • Posts: 82
  • Thank you received: 0
13 years 7 months ago #13904

hi nicolas,
how are u?

i want to build for my client a shop usig hika, i dont want that my customer will get access to the configuaratin panel, how can i do it?

BR

Amit

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

  • Posts: 82865
  • Thank you received: 13372
  • MODERATOR
13 years 7 months ago #13916

Hi,

There is no front end management of HikaShop for now. It will come in the future. For now, it can only be done in the back end and there is no easy trick to make it work on the front end.

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

  • Posts: 82
  • Thank you received: 0
13 years 7 months ago #13927

thanks for the reply,
so, if i want that the customer will have access just to add products / categories, its cant be done now? even if i will give him an authorization just as an editor at the backend of joomla? and if the answer is no, is there a way to make that for each order in addition to his email acknowledge for the order, i will get an email too, and that the customer cant erase that? i dont mind to add this possibility direct to the code.
thanks
Amit

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

  • Posts: 82865
  • Thank you received: 13372
  • MODERATOR
13 years 7 months ago #13937

Hi,

There is no options to restrict functionalities in the back end either. If you want to do that you can add a small modification to the code of the file administrator/components/com_hikashop/admin.com_hikashop.php after the first <?php tag:

$user =& JFactory::getUser();
if($user->id == 662){ // hear, I suppose that the ID of your client is 662 on your website so you need to change it to the real ID of your client
  if(!in_array(JRequest::getWord('ctrl'),array('product','category'))){
   $app =& JFactory::getApplication();
   $app->enqueueMessage('You can only access products and categories pages');
   return;
  }
}

For the notification emails, you can set the email addresses in the config under the tab mail in the options "Payment notifications email address" and "Order creation notifications email address". You need to separate the email addresses with a comma and the emails will be sent to all the emails in there.

Last edit: 13 years 6 months ago by nicolas.

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

  • Posts: 82
  • Thank you received: 0
13 years 7 months ago #13993

hi nicolas,
so, if i will do that, my customer will not see the configuration, but i will not see that as whell?
and about the mail, the customer can delete it. is there a way that i can add an email that the customer cant change it?

thanks
Amit

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

  • Posts: 82865
  • Thank you received: 13372
  • MODERATOR
13 years 7 months ago #14005

That PHP code will remove all the accesses to the views of hikashop (except to the products and categories) ONLY for the user with the ID 662. So, if your client username has the id 662, he won't be able to access the config, nor the emails, nor anything else in hikashop except products and categories.
Since that check is only for the user 662, other users accessing the back end won't have such restrictions.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum