[Skip to main content](#vessel-content)

#   bug ACL button stay visible

##

- **[master\_b](/forum/user/5077-master-b "View master&#95;b's Profile")**
- [![master&#95;b's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5077-master-b "View master&#95;b's Profile") Topic Author
- [ Offline](/forum/user/5077-master-b)

Less More

- Posts: 540
- Thank you received: 49
-
-
-
- [](https://benefit.in.ua)
-

13 years 2 weeks ago [\#130414](#130414) by [master\_b](/forum/user/5077-master-b "View master&#95;b's Profile")  *[bug ACL button stay visible](/forum/22-market-bug-report/863278-bug-acl-button-stay-visible#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")* was created by *[master\_b](/forum/user/5077-master-b "View master&#95;b's Profile")*

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

---

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

- [ ![h84afb72.jpg](/forum/attachment/13338) ](/forum/attachment/13338 "h84afb72.jpg") [ ](/forum/attachment/13338?download=1 "h84afb72.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg2MzI3OC1idWctYWNsLWJ1dHRvbi1zdGF5LXZpc2libGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 2 weeks ago [\#130431](#130431) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[bug ACL button stay visible](/forum/22-market-bug-report/863278-bug-acl-button-stay-visible#130431 "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")*

Hi,

Right,
Please replace in the view "productmarket &#124; form_price" Code:

&lt;td class="hikam_currency"&gt;&lt;?php echo $this-&gt;currencyType-&gt;display('price[{id}][price_currency_id]', $this-&gt;main_currency_id); ?&gt;&lt;/td&gt; &lt;td class="hikam_qty"&gt;&lt;input size="3" type="text" name="price[{id}][price_min_quantity]" value="" /&gt;&lt;/td&gt; &lt;?php if(hikashop_level(2)) { ?&gt; &lt;td&gt;&lt;?php echo $this-&gt;joomlaAcl-&gt;displayButton('price[{id}][price_access]', 'all'); ?&gt;&lt;/td&gt; &lt;?php } ?&gt;

By Code:

&lt;?php if($acls['currency']){ ?&gt; &lt;td class="hikam_currency"&gt;&lt;?php echo $this-&gt;currencyType-&gt;display('price[{id}][price_currency_id]', $this-&gt;main_currency_id); ?&gt;&lt;/td&gt; &lt;?php } if($acls['quantity']){ ?&gt; &lt;td class="hikam_qty"&gt;&lt;input size="3" type="text" name="price[{id}][price_min_quantity]" value="" /&gt;&lt;/td&gt; &lt;?php } if(hikashop_level(2) &amp;&amp; hikamarket::acl('product_edit_price_acl')){ ?&gt; &lt;td&gt;&lt;?php echo $this-&gt;joomlaAcl-&gt;displayButton('price[{id}][price_access]', 'all'); ?&gt;&lt;/td&gt; &lt;?php } ?&gt;

It will be include in the next build.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg2MzI3OC1idWctYWNsLWJ1dHRvbi1zdGF5LXZpc2libGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[master\_b](/forum/user/5077-master-b "View master&#95;b's Profile")**
- [![master&#95;b's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5077-master-b "View master&#95;b's Profile") Topic Author
- [ Offline](/forum/user/5077-master-b)

Less More

- Posts: 540
- Thank you received: 49
-
-
-
- [](https://benefit.in.ua)
-

13 years 2 weeks ago [\#130464](#130464) by [master\_b](/forum/user/5077-master-b "View master&#95;b's Profile")  Replied by *[master\_b](/forum/user/5077-master-b "View master&#95;b's Profile")* on topic *[bug ACL button stay visible](/forum/22-market-bug-report/863278-bug-acl-button-stay-visible#130464 "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")*

ok, fixed

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg2MzI3OC1idWctYWNsLWJ1dHRvbi1zdGF5LXZpc2libGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
