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
Related
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.
My question is How to make woocommerce single product page Additional information Tab attributes name Clickable. Please review this screen shot -> http://nimb.ws/8PyQbM
If user click on "Rose" then i want to open Rose attributes page. So URL is SITEURL/?filter_color=rose
So if any one have idea for this solution then please update me.
Thanks,
Ketan Patel.
Don't need any custom code for this. If the attribute is public, WooCommerce will now show a link instead by default.
You can enable archive then attribute link automatically come in additional tab.
I have added custom fields to my product. I don't want to display those into "WooCommerce Thankyou Order" email. Please, can someone tell me, how to hide the custom fields?
For ex: I want to hide the details that are highlighted email template
Go WooCommerce in the wordpress Dashboard, click on Email tab. At the end you have Email Template.
In order to override the default email template edit woocommerce/templates/emails/customer-process-proshop/woocommerce/emails/customer-processing-order.php
At least that's WooCommerce instructions says. I do not have a wordpress with commerece to test or check that file but I suppose in there you could decide what information is actually sent to the customer.
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.
This what I am expecting:
If the user filled the textbox, and if the user checked means, while displaying the content on that time, content should show as a link, if the user is not checked, then it need not to show the link while that content in view mode. See the following image for an illustration.
Not an exact solution to what you want to do but I believe the Link Module will display only text if no url is entered.
You can give users a message saying to leave URL field blank and only enter a TITLE if they want plain text.
UPDATE:
You don't need to code any hooks. The CCK Module adds fields to content types. The Link Module adds link functionality to CCK.
No coding is necessary; this can all be done from the admin panel. If you have no idea what I'm talking about see this video.
http://drupal.org/project/conditional_fields module does exactly what you are trying to accomplish. You can use the link_field of cck along with the conditional fields module. So based on the value in the check-box you can choose to display it in the node view.