I have a client selling shirts that can be customized with a name, but WooCommerce doesn’t give you a way to add custom text to a product by default, so I gave WC Fields Factory a try. It allowed me to easily add a custom text field.
Here’s how it looks on the product page:
Here’s how I set it up.
Once I installed the plugin, it created a new menu item on the dashboard called “Fields Factory”.
I then went into Product Fields and created a label for the text field. Under the field are options for place holder (which I filled in to add instructions), and whether or not the field should be required.
There are also options for if this field should be shown on the cart page and if it should only be shown to logged in users. I thought those were really nice options! You can even add a CSS class to the field to help with styling!
Finally there is an option about where you want this field to show up- on all products or specific products. It would have been nice to choose that on the product page, but since this is a free plugin, I’m grateful that it is an option at all!
One really tiny criticism is that you have to remove the placeholder text to add the name, but again, it’s a free plugin, and it’s a relatively minor issue.
Custom fields can be shown in the cart!
Here’s an example of what the shopping cart looked like when I added my custom name:
I had chosen to make the field editable in the cart, but for me, it doesn’t seem to be. Maybe I’m missing something, although looking at the support threads, it seems like there are problems with this option.
See how it works here.
Summary
Overall, this is a really nice plugin. I only used it for a simple text field, but it works great for me. I would love to hear what you think of it.
Paranjothi says
You need to check (YES) editable in admin section
Paranjothi says
Global Enable
Field wise Enable
Laura Hartwig says
Hi, Thanks for these comments, but I did check to make it editable. I see that it looks like it should be editable, but I couldn’t get it to work. Thanks for checking in!
Patrick Sturge says
How to manually add the field data to the database?
example:
$order->add_wc_post_meta($post_id,’_badge_name’, $value)
Laura Hartwig says
Not sure if this is a question or a statement? Info is added to the database with this plugin automatically.
Edward says
Hi. Can you please tell me how to display one custom field on Orders page?
For the moment, in Orders page i have: Order / Date / Status / Total and i want to add/show one custom field. Thank you 🙂
Laura Hartwig says
Hi Edward,
If you take a look at the 3rd screenshot above, you will see an option to “show in cart & checkout page”. To find this, on the left hand menu in your dashboard go to Fields Factory > Product Fields, then choose the field that you want to show in the cart and click on it. Then scroll down to about the middle of that page. At the bottom of the tutorial above, there is a link to a product page where you can see this in action. Hope this helps!
Vatan says
I added a username on the cart page, which is mandatory. But even after adding a username, it is showing an error. Logs says it is not compatible with the latest woocommerce update. Plz help. My website is Twicerr.com
Laura Hartwig says
It looks like you got this working? At least it worked for me when I tested it. Let me know if you are still having problems.
Jayson says
Hi,
I am using this for one of my website. I choose the group product variation, but the option is not visible when I am logged out. The option only visible when I am logged in. I choose No in the option but still not showing up the options when I am logged out.
Could you please help me to resolve this issue?
Thank you very much.
Laura Hartwig says
Hi Jayson, Can you give me the URL of this so I can take a look?
Alison says
hello, how can we show those fields in order emails and backend?
Laura Hartwig says
It should be added to the order email automatically. Have you tested it?
Nazmul says
Hello!! I want to show value of custom field in one of my pages. How can I do that?? Like I have added a custom field as “identity”. I want to show the value of what typed in identity by the user in one of my pages. Please help.
Laura Hartwig says
This plugin is for WooCommerce. The field will show up when you show the woocommerce product. If you want a regular custom field to show on a page, you should use something like Toolset Types or Advanced Custom Fields.
Sheridan says
I would like to change the appearance/structure of the fields. I would simply like to have the label above the field value instead of having it beside the value. How to do I change the structure?
Laura Hartwig says
Hi there! That can probably be done with some CSS. Can you send me a link to your site where this is showing? I might be able to help.