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

#   ACL default setting

##

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

Less More

- Posts: 18
- Thank you received: 1
-
-

10 years 1 month ago [\#251009](#251009) by [ebordes](/forum/user/27731-ebordes "View ebordes's Profile")  *[ACL default setting](/forum/26-product-category-display/886640-acl-default-setting#251009 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : Firefox and Chrome  Hi there,  I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?  Thanks for any input!")* was created by *[ebordes](/forum/user/27731-ebordes "View ebordes's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.26
-- Browser(s) name and version -- : Firefox and Chrome

Hi there,

I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?

Thanks for any input!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14321
-
-

10 years 1 month ago [\#251091](#251091) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ACL default setting](/forum/26-product-category-display/886640-acl-default-setting#251091 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : Firefox and Chrome  Hi there,  I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?  Thanks for any input!")*

Hi,

You can edit the file administrator/components/com_hikashop/views/product/view.html.php and add the line:
$obj-&gt;price_access = ',XXX,YYY,ZZZ,';
after the line:
$obj-&gt;price_value = 0;
where XXX, YYY and ZZZ are the user groups id that you want by default (note the starting and ending commas).

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

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

Less More

- Posts: 18
- Thank you received: 1
-
-

10 years 1 month ago -  10 years 1 month ago [\#251107](#251107) by [ebordes](/forum/user/27731-ebordes "View ebordes's Profile")  Replied by *[ebordes](/forum/user/27731-ebordes "View ebordes's Profile")* on topic *[ACL default setting](/forum/26-product-category-display/886640-acl-default-setting#251107 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : Firefox and Chrome  Hi there,  I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?  Thanks for any input!")*

Hi Nicolas, thanks for your reply but I can't find the line : $obj-&gt;price_value = 0; in the file /components/com_hikashop/views/product/view.html.php

Please advice, thanks!

OEPS, wrong file, got it! ![;)](/media/kunena/emoticons/24.png ";)")

Last edit: 10 years 1 month ago by [ebordes](/forum/user/27731-ebordes "View ebordes's Profile"). Reason: correction on question...

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

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

Less More

- Posts: 18
- Thank you received: 1
-
-

9 years 49 minutes ago [\#282960](#282960) by [ebordes](/forum/user/27731-ebordes "View ebordes's Profile")  Replied by *[ebordes](/forum/user/27731-ebordes "View ebordes's Profile")* on topic *[ACL default setting](/forum/26-product-category-display/886640-acl-default-setting#282960 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : Firefox and Chrome  Hi there,  I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?  Thanks for any input!")*

Since the update to HikaShop Business 3.2.1 on Joomla 3.8.2 teh default setting for the ACL is not working anymore as edited? I've added the line as suggested before in the file view.html.php but teh default for new products is not effected now?

Please advise.

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODY2NDAtYWNsLWRlZmF1bHQtc2V0dGluZz90bXBsPW1hcmtkb3du) 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)
-

8 years 11 months ago [\#282963](#282963) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[ACL default setting](/forum/26-product-category-display/886640-acl-default-setting#282963 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : Firefox and Chrome  Hi there,  I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?  Thanks for any input!")*

Hello,

Can you please provide details about your product (price) configuration ?

Regards,

---

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

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

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

Less More

- Posts: 18
- Thank you received: 1
-
-

8 years 11 months ago [\#282983](#282983) by [ebordes](/forum/user/27731-ebordes "View ebordes's Profile")  Replied by *[ebordes](/forum/user/27731-ebordes "View ebordes's Profile")* on topic *[ACL default setting](/forum/26-product-category-display/886640-acl-default-setting#282983 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : Firefox and Chrome  Hi there,  I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?  Thanks for any input!")*

Thanks for the quick reply! What details do you need?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14321
-
-

8 years 11 months ago [\#282989](#282989) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[ACL default setting](/forum/26-product-category-display/886640-acl-default-setting#282989 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : Firefox and Chrome  Hi there,  I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?  Thanks for any input!")*

Hi,

Since HikaShop 3.1.0, the prices edition area of HikaShop has been redone to be more dynamic and flexible.
As the code changed, the modification is a bit different.
You need to add that line of code :
$price-&gt;price_access = ',XXX,YYY,ZZZ,';
after the line:
$price-&gt;price_id = 0;
in the same administrator/components/com_hikashop/views/product/view.html.php to do that.

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

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

Less More

- Posts: 18
- Thank you received: 1
-
-

8 years 11 months ago -  8 years 11 months ago [\#283095](#283095) by [ebordes](/forum/user/27731-ebordes "View ebordes's Profile")  Replied by *[ebordes](/forum/user/27731-ebordes "View ebordes's Profile")* on topic *[ACL default setting](/forum/26-product-category-display/886640-acl-default-setting#283095 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.26 -- Browser(s) name and version -- : Firefox and Chrome  Hi there,  I'm looking for the option to set the ACL value's when creating a new product by default allon except guests. Now it's by default alloff and I need to set them on by hand with every new product?  Thanks for any input!")*

Thanks! Issue has been solved.

Last edit: 8 years 11 months ago by [ebordes](/forum/user/27731-ebordes "View ebordes's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODY2NDAtYWNsLWRlZmF1bHQtc2V0dGluZz90bXBsPW1hcmtkb3du) 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?

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

Time to create page: 0.098 seconds

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