bug ACL button stay visible
13 years 2 weeks ago #130414
by master_b
сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
bug ACL button stay visible was created by master_b
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
Please Log in or Create an account to join the conversation.
13 years 2 weeks ago #130431
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic bug ACL button stay visible
Hi,
Right,
Please replace in the view "productmarket | form_price"
By
It will be include in the next build.
Regards,
Right,
Please replace in the view "productmarket | form_price"
Code:
<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 } ?>
Code:
<?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 } ?>
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 2 weeks ago #130464
by master_b
сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Replied by master_b on topic bug ACL button stay visible
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.053 seconds