> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.stock-sync.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Metadata Field (WooCommerce)

Metadata is a field for updating your 

* Data that provide information about other data.
* Summarizes basic information about data, making finding & working with particular instances of data easier.
      
1. Before updating or importing products using Stock Sync, ensure you enable and create a custom field for every product in your WooCommerce store.

2. How to Enable Custom Fields for Products?

To enable Custom Fields for products, please follow the below steps:

* Navigate to **WP-admin** > **Products**.
* Either click the **Add New** button to create a new product or select **Edit** to modify an existing product.
* On the product edit page, click on **Screen Options**, which is located at the top right corner of the screen.
* In the dropdown menu, check the **Custom Fields** option to enable it for the products.

![](https://storage.crisp.chat/users/helpdesk/website/b219050a5836c000/screenshot-2024-11-18-at-10440_7bh4vg.png)

3. Once created, you can map to stock sync and enter the metadata key value you created for all the products in your store. The products that want to import or update should have the metadata key if not it won't update it.

![](https://storage.crisp.chat/users/helpdesk/website/b219050a5836c000/screenrecording2024-09-03at431_m5ypeb.gif)
4. If the metadata key hasn't been created in your store yet, you can enable the option of **auto to create new metadata if not found** to automatically create new metadata if it's not found. This ensures that it will be generated for products lacking the metadata key.
  
| For example, if you want to create a metadata key named **new_data** for all products in the store, simply fill in the metadata key as **new_data** to update or import this field.

![](https://storage.crisp.chat/users/helpdesk/website/7dd702401e481000/e467bd3d-5bc2-458d-80aa-34093a_q7ihq2.png)

5. Map the column names according to your feed file and enter the values for the key you created for the products. If some products in your store do not yet have the metadata, you can enable the auto-creation option to generate new metadata if it is not found.
  
![](https://storage.crisp.chat/users/helpdesk/website/b219050a5836c000/screenshot-2024-11-19-at-90424_vc3nmz.jpg)

![](https://storage.crisp.chat/users/helpdesk/website/b219050a5836c000/screenshot-2024-11-19-at-90515_trs25o.jpg)