Disable billing address for user group

  • Posts: 10
  • Thank you received: 0
1 year 9 months ago #349422

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.2.6
-- PHP version -- : 7.3.1
-- Browser(s) name and version -- : Chrome

Hello,

Is there any way to disable billing address for one of joomla users group?

Thanks.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 9 months ago #349426

Hi,

In the menu Display>Custom fields, you can edit each custom address field and use its "access level" setting so that it would only appear on the address form for the selected user groups.

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

  • Posts: 10
  • Thank you received: 0
1 year 9 months ago #349499

Hello, I have tried what you have told me but it does not work. I have assigned the access levels to all the enabled fields so that a certain group of users does not get the billing data form and now I get the following error.

Warning: Invalid argument supplied for foreach() in \components\com_hikashop\views\checkout\tmpl\show_block_address.php on line 76
Thanks

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
1 year 9 months ago #349500

Hello,

Can you provide as example one address Custom Field setting screenshot ?
Other check, can you check if you use some override view on your show_block_address file ?
=> Check this in your Views listing page :
- From Main HikaShop Configuration, go to Views dropdown, and use the 3 dropdown filters with checkout/Your template/ Front end.

Awaiting your elements to progress on your subject.
Regards

Last edit: 1 year 9 months ago by Philip.

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

  • Posts: 10
  • Thank you received: 0
1 year 8 months ago #349655

Hi, i have attached an example of one address Custom Field setting and I'm not using an override on my template.
Regards.

Attachments:
Last edit: 1 year 8 months ago by aulavirtualmusica.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 8 months ago #349658

Hi,

I've made a patch which should fix that. Download again the install package of HikaShop on our website and install it again on yours and it will add the patch.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum