bug ACL button stay visible

  • Posts: 540
  • Thank you received: 49
11 years 1 month ago #130414

Hi in market - config -main options tab uncheck all ACL but when vendor add 2nd, 3rd or more prices for product, button for ACL becomes visible


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Attachments:

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 1 month ago #130431

Hi,

Right,
Please replace in the view "productmarket | form_price"

			<td class="hikam_currency"><?php echo $this->currencyType->display('price[{id}][price_currency_id]', $this->main_currency_id); ?></td>
			<td class="hikam_qty"><input size="3" type="text" name="price[{id}][price_min_quantity]" value="" /></td>
<?php if(hikashop_level(2)) { ?>
			<td><?php echo $this->joomlaAcl->displayButton('price[{id}][price_access]', 'all'); ?></td>
<?php } ?>
By
<?php if($acls['currency']){ ?>
			<td class="hikam_currency"><?php echo $this->currencyType->display('price[{id}][price_currency_id]', $this->main_currency_id); ?></td>
<?php }
	if($acls['quantity']){ ?>
			<td class="hikam_qty"><input size="3" type="text" name="price[{id}][price_min_quantity]" value="" /></td>
<?php }
	if(hikashop_level(2) && hikamarket::acl('product_edit_price_acl')){ ?>
			<td><?php echo $this->joomlaAcl->displayButton('price[{id}][price_access]', 'all'); ?></td>
<?php } ?>
It will be include in the next build.

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.

  • Posts: 540
  • Thank you received: 49
11 years 1 month ago #130464

ok, fixed


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056

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

Moderators: Obsidev
Time to create page: 0.046 seconds
Powered by Kunena Forum