- Posts: 272
- Thank you received: 13
Disable access level in prices for vendors
- deltafidesign
-
Topic Author
- Offline
Less
More
13 years 3 months ago #120136
by deltafidesign
Disable access level in prices for vendors was created by deltafidesign
-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.1
Is it possible to disable the assignment of different prices according to ACL groups? At moment I see that vendor can set different prices and assign them to different users group. How can I disable the access level for vendor so he can just assign only 1 price for everyone and cannot even see access level parameter?
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.1
Is it possible to disable the assignment of different prices according to ACL groups? At moment I see that vendor can set different prices and assign them to different users group. How can I disable the access level for vendor so he can just assign only 1 price for everyone and cannot even see access level parameter?
Please Log in or Create an account to join the conversation.
13 years 3 months ago #120143
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Disable access level in prices for vendors
Hi,
If you want to disable the ACL, for the moment the best is to use a view override and remove the column from the view.
It's a shame because we just release a new version of HikaMarket today, if you asked it some days before I would be able to include this feature in the build.
Because the idea to have options (vendor right) for setting the product price currency/acl is a good idea !
So I will put it in my TODO list for the next version.
In the view "productmarket | form_price", find and remove these blocks:
Regards,
If you want to disable the ACL, for the moment the best is to use a view override and remove the column from the view.
It's a shame because we just release a new version of HikaMarket today, if you asked it some days before I would be able to include this feature in the build.
Because the idea to have options (vendor right) for setting the product price currency/acl is a good idea !
So I will put it in my TODO list for the next version.
In the view "productmarket | form_price", find and remove these blocks:
Code:
<?php if(hikashop_level(2)){ ?>
<th class="title"><?php
echo JText::_( 'ACCESS_LEVEL' );
?></th>
<?php } ?>
Code:
<?php if(hikashop_level(2)){ ?>
<td class="hikam_acl"><?php
if(!empty($price->price_id)) {
echo $this->joomlaAcl->displayButton('price['.$i.'][price_access]', @$price->price_access);
} else {
echo '--';
}
?></td>
<?php } ?>
Code:
<?php if(hikashop_level(2)) { ?>
<td><?php echo $this->joomlaAcl->displayButton('price[{id}][price_access]', 'all'); ?></td>
<?php } ?>
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- deltafidesign
-
Topic Author
- Offline
Less
More
- Posts: 272
- Thank you received: 13
13 years 3 months ago #120258
by deltafidesign
Replied by deltafidesign on topic Disable access level in prices for vendors
Thanks Jerome,
hope this feature will be implemented in next release.
hope this feature will be implemented in next release.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.064 seconds