Billing address depending of "Private" or "Company"

  • Posts: 177
  • Thank you received: 1
7 years 6 months ago #270176

-- HikaShop version -- : 3.0.1
-- Joomla version -- : latest
-- PHP version -- : 7.0

Hi Guys,
i'm tring to read something about it but i find nothing about it.
So, during the checkout i need to show or hidden some fields depending witch kind of user is it.
For exemple:

field named "tipo_cliente" has 2 values: 1 and 2
if the choose is 1 i need to hide the field "Vat Number" otherwise i need tho show it.

So... how can i do this?
Maybe i lost some part of forum tread??

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
7 years 6 months ago #270177

Hello,

Can you please clarify the context ?
Is it the display of the fields during the adresse edition or is it the display of the address as pure text ?

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: 177
  • Thank you received: 1
7 years 6 months ago #270246

Hi,
i mean when a customer create a new address for billing.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 6 months ago #270250

Hi,

In the settings of the VAT number custom field, you have the option "display limited to" that you can use to only display the custom field based on the value of another custom field.

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

  • Posts: 177
  • Thank you received: 1
7 years 6 months ago #270322

Thank you Nicolas, I understand the "issue".
There is a little error to the italian translate about this string because could be create some missunderstanding.
The correct translate is:

DISPLAY_LIMITED_TO="Limita la vista del campo a:"

Damn Google Translate ::P:

Thanks again.

A.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 6 months ago #270327

Thanks, I'll update the translation on our end.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum