Backend modifications

  • Posts: 21
  • Thank you received: 2
9 years 9 months ago #222157

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.6

Hi again Hika Forum,

I would like to arange and not display some of the product panels in the Backend for certain users, is that possible?
Thanks in advance,

Wolfram

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #222160

Hi,

This is not possible with the default ACL rules, but thanks to some modifications this is possible.

The view to edit is "product / form" in the backend template, the different blocks are called thanks to code like:

	if(hikashop_acl('product/edit/price')) {
?>
		<div class="hikashop_product_price"><?php
			echo $this->loadTemplate('price');
		?></div>
<?php
	}

So you can add a check on the usergroup in order to display or not the parts.

ps: as you can see we are doing a check on "hikashop_acl", this means that we have on our todo list to manage the ACLs for these different parts.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum