DEFAULT STORE ACCESS bug

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
6 years 1 month ago #298496

-- HikaShop version -- : 3.5.1
-- HikaMarket version -- : 2.1.1
-- Joomla version -- : 3.8.12
-- PHP version -- : 7.0

hi!
I just re installed hikamarket after several years and remarked one issue. I need in front edition when you edit a product to hide prices . but when you add to show the fileds. Screenshots show my config. Please replicate the issue because i thing that the page works with edit product acl ad not new.
Thank you

Attachments:

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

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
6 years 1 month ago #298504

I read my post and maybe its confisung. So I ll try to explain. Front end product add -> Show prices. Front end product edit-> don t show prices. Is it possible?

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
6 years 1 month ago #298522

Hello,

Yes, your first message was very confusing.
Unfortunately, your second message do not explain the nature of your issue.
I can see that you have configured ACL for "product/edit" and "product/new" but you do not say what is the problem.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
6 years 1 month ago #298541

Oh , I mean on edit is it possible to edit price and on new hide the price section. So i can give the ability to frontend administration to only edit prices . Not create give prices on new product

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
6 years 1 month ago #298545

Hello,

The configuration you have indicate that the vendor cannot edit the price while he create a product ; but once the product is validate, he can edit them.
The ACL "product / add" is when you create a new product and "product / edit" is when you edit an existing (and approved) product.
Goal of that distinction is for the product approval and product creation ; you might want to give more access during the product creation than after its approval.

The current ACL on prices do not have the "logic" on "add" or "remove" ; it would require the addition of new ACL(s) and right now I don't know which would be the best "names" (to not generate issues during updates).
Afterwards, with the major release coming ; it might be the best moment to add such kind of ACL...
It needs some thinking (and use cases).

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
6 years 1 month ago #298641

For example lets begin with a simple case. I need to hide description field on product edition. And on new also if its not possible on edit only.

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
6 years 1 month ago #298644

Hello,

I need to hide description field on product edition

So you have to remove (uncheck) product/edit/description.

And on new also

So you have to remove (uncheck) product/new/description.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
6 years 1 month ago #298651

1.I can see that option yes. But I want to hide it only for one access level . Admins has to see that field. Is it possible?

2. I have made 2-3 restores of db. Because every time I change options in hikamarket even admin cannot access products. I revert the changes to the ones after restore from the backend but still only restore does the job

Last edit: 6 years 1 month ago by verzevoul.

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
6 years 1 month ago #298662

Hello,

If you call "admin" the main vendor ; you have a setting to set-up specific ACL for the main vendor different than the default vendor settings.
It is just near the "default store access", you have to remove the "inherit" so you will be able to set the rights for the main vendor.

Please note that you can also set-up ACL for a specific vendor, for vendor groups (via the "access" HikaMarket menu), etc.
www.hikashop.com/support/documentation/1...l#tuto_configure_acl

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.080 seconds
Powered by Kunena Forum