Skip to main content

Disable billing address for user group

More
3 years 7 months ago #349422 by aulavirtualmusica
-- 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.

More
3 years 7 months ago #349426 by nicolas
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.

More
3 years 7 months ago #349499 by aulavirtualmusica
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.

More
3 years 7 months ago - 3 years 7 months ago #349500 by Philip
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: 3 years 7 months ago by Philip.

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

More
3 years 6 months ago - 3 years 6 months ago #349655 by aulavirtualmusica
Hi, i have attached an example of one address Custom Field setting and I'm not using an override on my template.
Regards.
Last edit: 3 years 6 months ago by aulavirtualmusica.

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

More
3 years 6 months ago #349658 by nicolas
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.196 seconds
Powered by Kunena Forum