Output input field


[wcj_input_field] shortcode outputs input field.


(required) Unique name.

Default: None
(optional) Input field type. Possible values:

  • text
  • number
  • password
  • date
  • month
  • week
  • time
  • datetime-local
  • email
  • color
  • range
  • tel
  • url
Default: text
(optional) Admin label.

Default: None


[wcj_input_field name="custom_name_1" type="number"]
Accessible through:
  • [wcj_input_field]
Tested on WooCommerce 3.5.3 and WordPress 5.0.2
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply



  1. Zahed July 5, 2016 at 5:40 pm #

    IF i Put this Command [wcj_input_field]
    It shows “Attribute “name” is required!”
    I am Using Free Version
    Please help me about this.
    I am So much New at WordPress

    Reply to thread

    • Booster Support Team July 5, 2016 at 5:43 pm #


      You’ll need to give some custom unique name to your field: [wcj_input_field name="custom_name_1"].

      Best regards,

      Booster Support Team
  2. Zahed July 6, 2016 at 9:52 am #

    After Making order at “Order Receive” page and “thank you page” I want to collect “Customer Transaction Number” , so Need to create a input Text/Number with submission Button
    So that I can track the payment
    What i have to Do? Following commands give only Input. Looking for Both input and Submission Button
    [wcj_input_field name="custom_name_1" type="number"]

    I have attached a sample picture

    Reply to thread

  3. Andreas July 22, 2016 at 8:51 am #


    where does the input of this field go? How can I put it in an confirmation-email?

    Reply to thread

  4. Joomla Candy December 2, 2016 at 2:06 pm #

    Please clarify what should be in the name field. In the example you suggest custom_name_1, but where do I get that from? Is it the input field title? Or the number, as they are numbered “#3” for example? Where else can I give a name to an input field?

    Reply to thread

    • Stewart Howell November 14, 2018 at 1:02 am #

      I had the same question Joomla Candy. I managed to get the product input fields to appear in the INVOICE by adding a them into their own column of the items table. See third column below…

      WooCommerce > Booster > PDF INVOICING & PACKING SLIPS > Templates > Tax Invoice > HTML Template

      [wcj_order_items_table table_class=”pdf_invoice_items_table”

  5. Jason February 27, 2017 at 5:53 pm #

    How do I get the meta_data for a custom input field?
    [wcj_input_field name="custom_name_1" type="number"]

    Reply to thread

  6. Hing Tithsya July 31, 2017 at 1:57 am #


    Related to [wcj_input_field], I want to know if there are some possible ways to:

    1. make the input (Required)
    2. Upload file (image, screenshot)


    Best regards,


    Reply to thread

    • Booster Support Team July 31, 2017 at 7:27 pm #


      Unfortunately no at the moment. However I will add it to the plugin. Making it required will be quite easy – so I will do that tomorrow. Regarding file upload – this may be more complicated, I will have to check the code before knowing how long will it take.

      Best regards,

      Booster Support Team
    • Booster Support Team August 1, 2017 at 7:54 pm #


      1. As promised, I’ve added option to make fields required. Please download the development version here – https://booster.io/dev/. You will need to uninstall the old plugin version first (don’t worry your saved settings won’t disappear). Now you can make field required by adding required="yes" to the [wcj_input_field] shortcode, e.g.:

      [wcj_input_field name="test_input_field" label="Test Input Field" required="yes"]

      2. Regarding file uploads – didn’t have time to check it yet.

      Best regards,

      Booster Support Team
  7. nrapiera August 15, 2017 at 7:57 pm #

    Answer to all the questions :

    The data from the custom field is only visible on Woocommerce > Orders
    When you click view the order theres a widget on the top left with the field name and value.

    Hope it helped

    It would be great if we could show those data in the email aswell just to confirm the informations that was sent.

    Reply to thread

    • nrapiera August 15, 2017 at 7:59 pm #

      *On top right. Sorry

  8. nnpus May 20, 2018 at 5:03 pm #

    Can I show the data what the customer put in the field to email and order details for confirming the information that they sent?
    Now admin can see those data only.

    Reply to thread

  9. lhoucine June 10, 2018 at 6:24 am #

    WPML don’t render the translated version of this shortcode whn it used inside the custom gatway,
    and the custom gateway Email Instructions not reconized by WPML, not found when we try to translate it.

    Reply to thread

    • Booster Support Team June 11, 2018 at 10:05 am #


      Could you please try using Booster’s [wcj_wpml] shortcode (https://booster.io/shortcodes/wcj_wpml/) with [wcj_input_field] and custom gateway’s email instructions.

      Please let me know if that helped.

      Best regards,

      Booster Support Team
  10. mohd June 30, 2018 at 4:42 pm #

    i was trying to use your input field feature code with ‘required’= yes, it doesn’t seem to work. And i was wondering if you guys are willing to provide special acceptance checkboxes for the cart page with express checkout,
    That would be awesome.

    Reply to thread

    • RokasJ July 3, 2018 at 5:48 pm #

      Hi Mohd,

      Can you contact us at support@booster.io with more information (for example where you used this shortcode, what theme are you using etc)?

      Best regards,
      Rokas – Support Team