Skip to main content

Billing address depending of "Private" or "Company"

More
9 years 4 months ago #270176 by andreasuriani
-- 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.

More
9 years 4 months ago #270177 by Jerome
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.

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

More
9 years 4 months ago #270246 by andreasuriani
Hi,
i mean when a customer create a new address for billing.

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

More
9 years 4 months ago #270250 by nicolas
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.

More
9 years 4 months ago #270322 by andreasuriani
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:
Code:
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.

More
9 years 4 months ago #270327 by nicolas
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.166 seconds
Powered by Kunena Forum