Update price acl

  • Posts: 290
  • Thank you received: 22
9 years 1 month ago #218954

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.6

Hi,

I cannot seem to get the mass-action update for the acl on the prices right.
What I would like to do is remove all the default access levels and change is to a specific one.

Thanks for any tips.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
9 years 1 month ago #218977

When you set the "update the values" action on the "price_access" column, you need to enter the ACL like that:
,XXX,YYY,
where XXX and YYY are the ids of the user groups for the price.

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

  • Posts: 290
  • Thank you received: 22
9 years 1 month ago #219250

Thanks Nicolas,

Using the id works.

To keep my access levels clean, can I replace the current access levels of do a clear of some sort before I update the new?
Now I have 2 access levels with the same value.

Could I use the option "remove elements" for this purpose (without breaking it :P ) ?
And on the next line do the update of the field with the new value?

Thanks

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #219257

Hi,

To replace one price_access value by another one, you have to filter on the desired price_access.
That way, you replace the values as you want instead of editing all the price_access.

take.ms/RyL9i

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

Time to create page: 0.070 seconds
Powered by Kunena Forum