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

#   Bug ? in ACL configuration for price / quantity

##

- **[activha](/forum/user/32385-activha "View activha's Profile")**
- [![activha's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32385-activha "View activha's Profile") Topic Author
- [ Offline](/forum/user/32385-activha)

Less More

- Posts: 21
- Thank you received: 0
-
-

12 years 4 months ago [\#160933](#160933) by [activha](/forum/user/32385-activha "View activha's Profile")  *[Bug ? in ACL configuration for price / quantity](/forum/19-hikamarket/869126-bug-in-acl-configuration-for-price-quantity#160933 "Hello  I have noticed that when setting ACL for a group allowing to edit price and choose currency, price tax is also displayed by default even if tax setting is not allowed in backend ACL settings  Is it a bug or something on purpose ?  We would need a way to hide price with tax as this is intended for general public, so displaying tax may trigger lots of useless questions to our client support  Thanks Jean")* was created by *[activha](/forum/user/32385-activha "View activha's Profile")*

Hello

I have noticed that when setting ACL for a group allowing to edit price and choose currency, price tax is also displayed by default even if tax setting is not allowed in backend ACL settings

Is it a bug or something on purpose ?

We would need a way to hide price with tax as this is intended for general public, so displaying tax may trigger lots of useless questions to our client support

Thanks
Jean

- [ ![h1f87e6a.png](/forum/attachment/17992) ](/forum/attachment/17992 "h1f87e6a.png") [ ](/forum/attachment/17992?download=1 "h1f87e6a.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY5MTI2LWJ1Zy1pbi1hY2wtY29uZmlndXJhdGlvbi1mb3ItcHJpY2UtcXVhbnRpdHk/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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 4 months ago [\#160942](#160942) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bug ? in ACL configuration for price / quantity](/forum/19-hikamarket/869126-bug-in-acl-configuration-for-price-quantity#160942 "Hello  I have noticed that when setting ACL for a group allowing to edit price and choose currency, price tax is also displayed by default even if tax setting is not allowed in backend ACL settings  Is it a bug or something on purpose ?  We would need a way to hide price with tax as this is intended for general public, so displaying tax may trigger lots of useless questions to our client support  Thanks Jean")*

Hi,

The price edition have two different modes, a "classical" and a "minimal".
The minimal design is used when the "currency", the "quantity" and the "acl" are not available.
Otherwise the "classical" design is used.

Even if the vendor can't edit the tax, it does not means that there is no a tax for the product (in the product template for example).
So the price with tax is display and available, to help the vendors to configure the price. It is something on purpose.

How many currencies do you have in your website ?
Do you want the vendors configure the prices for all currencies ?
Did you test the price edition without the "currency" ? Maybe the design will be more appropriate to your requirements.

To make a fast fix, it is something you can override in the price edition.
In the view "productmarket &#124; form_price" you can remove the blocks Code:

&lt;th class="title"&gt;&lt;?php echo JText::_('PRICE_WITH_TAX'); ?&gt;&lt;/th&gt;

Code:

&lt;td class="hikam_price"&gt; &lt;?php echo $pre_price; ?&gt;&lt;input size="10" type="text" id="hikamarket_price_&lt;?php echo $i;?&gt;_with_tax" name="price_with_tax_&lt;?php echo $i;?&gt;" value="&lt;?php echo @$price-&gt;price_value_with_tax; ?&gt;" onchange="window.productMgr.updatePrice(&lt;?php echo $i; ?&gt;, true)"/&gt;&lt;?php echo $post_price; ?&gt; &lt;/td&gt;

And replace the content Code:

window.productMgr.updatePrice = function(id, taxed) { /* Remove the javascript+php which is here */ } if(!window.productMgr.cpt) window.productMgr.cpt = {};

In order to not make the ajax call when the price without tax is modified.

Regards,

---

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

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

- **[activha](/forum/user/32385-activha "View activha's Profile")**
- [![activha's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32385-activha "View activha's Profile") Topic Author
- [ Offline](/forum/user/32385-activha)

Less More

- Posts: 21
- Thank you received: 0
-
-

12 years 4 months ago [\#161566](#161566) by [activha](/forum/user/32385-activha "View activha's Profile")  Replied by *[activha](/forum/user/32385-activha "View activha's Profile")* on topic *[Bug ? in ACL configuration for price / quantity](/forum/19-hikamarket/869126-bug-in-acl-configuration-for-price-quantity#161566 "Hello  I have noticed that when setting ACL for a group allowing to edit price and choose currency, price tax is also displayed by default even if tax setting is not allowed in backend ACL settings  Is it a bug or something on purpose ?  We would need a way to hide price with tax as this is intended for general public, so displaying tax may trigger lots of useless questions to our client support  Thanks Jean")*

Hi,

We will have at least 3 or 4 currencies for the website and any vendor will be allowed to choose a currency for a product and even add different prices for different currencies. So we need the currency display.

What we want to achieve is :

- for professional vendors (joomla group P), display of price, tax and currency
- for individual vendors (default registered joomla group R), display of only price and currency

We could achieve this with product template in the back end that could be affected to vendors group but I think that this is not implemented yet ?

Any idea ? or timetable for implementation of product templates to vendors group ? ![:-)](/media/kunena/emoticons/9.png ":-)")

thanks
Jean

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY5MTI2LWJ1Zy1pbi1hY2wtY29uZmlndXJhdGlvbi1mb3ItcHJpY2UtcXVhbnRpdHk/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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 4 months ago [\#161575](#161575) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bug ? in ACL configuration for price / quantity](/forum/19-hikamarket/869126-bug-in-acl-configuration-for-price-quantity#161575 "Hello  I have noticed that when setting ACL for a group allowing to edit price and choose currency, price tax is also displayed by default even if tax setting is not allowed in backend ACL settings  Is it a bug or something on purpose ?  We would need a way to hide price with tax as this is intended for general public, so displaying tax may trigger lots of useless questions to our client support  Thanks Jean")*

Hi,

Regarding the code of the page, I think that the best will be to use the "product / edit / price / tax" acl.
So, if you take the previous modifcations, you can simply put a Code:

&lt;?php if($acls['tax']){ ?&gt;

and Code:

&lt;?php } ?&gt;

in order to display the three elements only if the vendor have the right ACL.
Otherwise, the content won't be displayed and you should have the required result.
(And I will include these modification in the next HikaMarket build, for sure).

Regards,

---

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

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

- **[activha](/forum/user/32385-activha "View activha's Profile")**
- [![activha's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32385-activha "View activha's Profile") Topic Author
- [ Offline](/forum/user/32385-activha)

Less More

- Posts: 21
- Thank you received: 0
-
-

12 years 4 months ago [\#161583](#161583) by [activha](/forum/user/32385-activha "View activha's Profile")  Replied by *[activha](/forum/user/32385-activha "View activha's Profile")* on topic *[Bug ? in ACL configuration for price / quantity](/forum/19-hikamarket/869126-bug-in-acl-configuration-for-price-quantity#161583 "Hello  I have noticed that when setting ACL for a group allowing to edit price and choose currency, price tax is also displayed by default even if tax setting is not allowed in backend ACL settings  Is it a bug or something on purpose ?  We would need a way to hide price with tax as this is intended for general public, so displaying tax may trigger lots of useless questions to our client support  Thanks Jean")*

Thanks for the info !

Don't forget to also correct the new price template, I have attached the corrected form, hope I did not miss something it seems to work this way ![:-)](/media/kunena/emoticons/9.png ":-)")

Jean

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY5MTI2LWJ1Zy1pbi1hY2wtY29uZmlndXJhdGlvbi1mb3ItcHJpY2UtcXVhbnRpdHk/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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 4 months ago [\#161586](#161586) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bug ? in ACL configuration for price / quantity](/forum/19-hikamarket/869126-bug-in-acl-configuration-for-price-quantity#161586 "Hello  I have noticed that when setting ACL for a group allowing to edit price and choose currency, price tax is also displayed by default even if tax setting is not allowed in backend ACL settings  Is it a bug or something on purpose ?  We would need a way to hide price with tax as this is intended for general public, so displaying tax may trigger lots of useless questions to our client support  Thanks Jean")*

Hi,

Thanks.
Yes I will update the new price template too. I just create a note in my todo list for that !

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODY5MTI2LWJ1Zy1pbi1hY2wtY29uZmlndXJhdGlvbi1mb3ItcHJpY2UtcXVhbnRpdHk/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.205 seconds

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

[](#top)
