Is it possible to hide Phone Number with Shipping address?
9 years 1 month ago - 9 years 1 month ago #277305
by renem
Is it possible to hide Phone Number with Shipping address? was created by renem
-- HikaShop version -- : 3.1.1
I want to hide the Phone number on the invoice for the Shipping Address.
How to handle?
Kind regards René
I want to hide the Phone number on the invoice for the Shipping Address.
How to handle?
Kind regards René
Last edit: 9 years 1 month ago by renem.
Please Log in or Create an account to join the conversation.
9 years 1 month ago #277353
by renem
Replied by renem on topic Is it possible to hide Phone Number with Shipping address?
Got it.
Add a class to Phone number ( Address format: <div class="example"><?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?></div>
So with a little CSS i got it hide in the shipping address.
Add a class to Phone number ( Address format: <div class="example"><?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?></div>
So with a little CSS i got it hide in the shipping address.
The following user(s) said Thank You: Jerome
Please Log in or Create an account to join the conversation.
9 years 1 month ago #277311
by nicolas
Replied by nicolas on topic Is it possible to hide Phone Number with Shipping address?
Hi,
If the field is not required, you can edit the view file checkout / show_block_address.php via the menu Display>Views and add some custom code to hide the field based on the situation.
But there is no easy way to do it since an address can be used as shipping and / or billing address.
If for example you create a address for the shipping that doesn't have the phone number, then the phone number will also be missing for the billing address if the customer selects that address for the billing.
If the field is not required, you can edit the view file checkout / show_block_address.php via the menu Display>Views and add some custom code to hide the field based on the situation.
But there is no easy way to do it since an address can be used as shipping and / or billing address.
If for example you create a address for the shipping that doesn't have the phone number, then the phone number will also be missing for the billing address if the customer selects that address for the billing.
Please Log in or Create an account to join the conversation.
9 years 1 month ago #277378
by renem
Replied by renem on topic Is it possible to hide Phone Number with Shipping address?
Hi Nicolas,
I fixed it with some css magic see earlier post.
I fixed it with some css magic see earlier post.
Please Log in or Create an account to join the conversation.
Time to create page: 0.189 seconds