# Add Custom Fields – Settings of WordPress

**Available for WooCommerce Integration Plugin Version 2.1.5 to 2.2.0**

**For WooCommerce Integration Version 2.2.1 and above we have added new custom field plugins. For more details, you may refer to the following** [**setup guide**](https://edwiser.org/documentation/edwiser-bridge-custom-fields/add-custom-fields-settings-of-wordpress/)**.**

**Follow the instructions to add Custom fields on the WooCommerce checkout page and synchronize the same to Moodle™.**

*Navigate to the WordPress site > Edwiser Bridge > Custom Fields > Add New Field > **Field Settings***

**Types**

A)      **Text** – Allows users to add information in the form of plain text.

B)      **Number** – Allows users to add information in the form of numbers.

C)      **Textarea** – Allows users to add brief information in the form of plain text.

D)      **Select** – Allows the user to select the option from the drop-down list will help you collect user inputs. Upon selection, it will add additional settings below Class named as Options. Option Value should resemble the value in Moodle user profile fields.

E)      **Checkbox** – It is a standalone checkbox option. For recording user’s input. For Example, some common phrasing you’ll often see with the checkbox option includes: “I agree to the Terms and Conditions” or “I agree to the Privacy Policy” “I have read and agree to the Terms” or “I have read and agree to the Privacy Policy” “I accept the Terms of Service” or “I accept the Privacy Statement”

**1) Name** – It should resemble the Moodle user profile field’s short name.&#x20;

***Important! When entering the Short Name of the User Profile, make sure the name is short and one word.***

**WordPress**

<img src="data:image/svg+xml;nitro-empty-id=NDc4Njo0OTg=-1;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNjE2IDIxNyIgd2lkdGg9IjYxNiIgaGVpZ2h0PSIyMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PC9zdmc+" alt="sQ4 H5fF3KAAEQAKvZePP0ZZH3XbqolNImFndIJQYTdF4 7iisBlt6poyULkny2TbFgpJNDoD8y7sQmwpOPYizbPz2j6rsafe JHMRNk rn2kwmU7h55ktsKYMDRFiwY92uF4QGV" height="217" width="616">

**Moodle**

<img src="data:image/svg+xml;nitro-empty-id=NDc5NDoyNDE=-1;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNjEzIDEwMyIgd2lkdGg9IjYxMyIgaGVpZ2h0PSIxMDMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PC9zdmc+" alt="" height="151" width="613">

2\) **Label** – You may add a classifying text for the field.

3\) **Class** – Can be used to apply unique formatting to the field.

4\) **Enabled** – The custom field will be only displayed if this setting is checked.

5\) **Required** – Will make the field mandatory for the user to respond to it.

6\) **Sync on Moodle** – Only when checked will sync the information on Moodle.

**“Note: The synchronization will only work from WordPress to Moodle and not from Moodle to WordPress for custom fields”**

7\) **Show on Woocommerce My Account Page** – If enabled, it will display the custom field on the WooCommerce Account page.[ Please ensure WooCommerce account page is integrated with Edwiser solution](broken://pages/0YSAxju6SwU3HK8xk4B6).

8\) **Show on Edwiser User Account Page –** If enabled, it will display the custom field on the Edwiser Bridge Account page.

**Important: Please click on Save Changes after adding the new field or the changes will be lost.**

#### Doc navigation

[< Woocommerce Integration Checkout](broken://pages/acOWLhUXZ4q6oWXukX5d) [Add Custom Fields – Settings for Moodle™ >](broken://pages/E2v7T2EColNNO3QByHno)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://remui-docs.edwiser.org/eb-woocommerce-integration/add-custom-fields-settings-of-wordpress.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
