Cannot remove shipping/billing address from Vendor's customer view.

  • Posts: 38
  • Thank you received: 0
4 years 7 months ago #310385

I'm trying to remove the access rights for vendor to view the address of the customer. It works in the order view, but not in the customer listing where there is an edit button (I don't want/need the edit button, but that won't disappear either). I've had perfect success in configuring everything else, but this just refuses to work. I even have all the shipping module shut down because it's simply not required. The fact there is a button to access/deny this function means it is supposed to be switchable, yet when I attempt this it refuses to deny the shipping address on show or edit. It reverts back to green access.

Ideas?

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
4 years 7 months ago #310401

Hello,

Would it be possible to have a screenshot of what remains visible and also the ACL configured ?

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: 38
  • Thank you received: 0
4 years 7 months ago #310403

Hi Jerome
Here are the screenshots you requested.





Attachments:

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
4 years 7 months ago #310417

Hello,

Indeed there is an ACL for that section but it's not available via the interface.
In the file "administrator/components/com_hikamarket/type/market_acl.php" you have to replace

	'user' => array(
		'edit' => array(
			'email',
			'customfields',
			'address'
		),
		'listing',
		'show'
By
	'user' => array(
		'edit' => array(
			'email',
			'customfields',
			'address'
		),
		'listing',
		'show' => array(
			'general',
			'address'
		)
Then you will be able to give the "user/show/general" ACL but not the "user/show/address" one.

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.074 seconds
Powered by Kunena Forum