In WooCommerce checkout, the phone field has a basic validation provided by WooCommerce. When alphabets are entered, an error message is shown but the input field is not shown in red border. Is there any filters or options to make input phone field to behave as other validation required fields ?
I have searched for this and couldn't find any option.
Related
In the Woocommerce product Backend, I got under the general tab an “EAN” Field (coming from my theme) and I got a “GTIN” Field (coming from Germanized pro) which automatically gets filled threw the JTL connector.
But just the “EAN” field gets displayed on the product page.
So I want to synch both post meta fields. So the “EAN” field should automatically get filled with the value of the “GTIN” field.
How do I get this done?
I only need Name and Email at checkout page so for that I'm using this WordPress plugin Checkout Field Editor to disable other fields but when I enter name and email and press place order its "This field may not be blank" and also at checkout page there is no Product Image Showing at checkout page.
p.s. I did researched for the solution from my side but didn't found any.
I created a button like this:
I have a text field but in my test transaction I was not able to undestand where can I see this info in the payment.
Is the only way to collect this data to activate the option
'Can your customer add special instructions in a message to you?' ?
The "special instructions in a message to you" is a legacy PayPal checkout thing that not shown during checkouts anymore, so that won't actually matter whether you ahve it enabled or not.
The "Add text field" you have enabled in the above will show the entered value in the regular Transaction Details screen, and in reports or activity downloads that have enabled the option to show shopping cart or line item details (this is a checkbox when generating certain activity download reports)
I have checkout page in woocommerce at the following link:
https://combosports.com/checkout/
Now the problem is I want the phone field to be marked as required as other fields. How can I make this phone field mandatory. I have tried through the theme options but it does not work through it. I also want the optional text removed from the field and add asterisk mark on it. Please tell me how can I do that. Thank you in advance.
This is the pic of phone field I have marked as required in theme options but it does not work
Full page pic
i want to have a content type with a phone number field that user can select it be shown to all or not. so i need a field after this field in add content page to give the user this option. but how can i check if user has checked it and then show the phone number in view page??
do i need some php coding for it?
You just need to create a custom template for your content type :
http://drupal.org/node/17565
Or a custom template for your phone cck field :
http://drupal.org/node/62466
In this template you will display phone field depending on the value of the other field, you will need a little bit of php code.
Install Conditional fields, and then set the Make phone number public? field as the trigger field and Phone number filed as the dependent field.
So that only if the first field is set to yes, phone number will be displayed.