Update price acl

  • Posts: 287
  • Thank you received: 22
8 years 4 months 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: 81379
  • Thank you received: 13037
  • MODERATOR
8 years 4 months 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: 287
  • Thank you received: 22
8 years 4 months 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
8 years 4 months 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.068 seconds
Powered by Kunena Forum