# Vehicle Attributes Config

See the official WooCommerce documentation: [Add global attributes to product](https://docs.woocommerce.com/document/managing-product-taxonomies/#add-global-attributes-to-product).

### Creating vehicle attribute

You can go to Admin and add new Attributes the same:

1. Go to `Products -> Attributes`.
2. Enter `Name` (for ex: Compatibility) and `Slug` (for ex: compatibility). Then check the `Enable Archives?` and click on the `Add attribute` button.

![](https://814188227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFxmio3NaG9Bq2qqNuuFq%2Fuploads%2FQXlFP47VAAC7UnMTN0a4%2Fatribute1.png?alt=media\&token=a1809f5d-af19-448b-8377-8d80d96a3a43)

### Adding Vehicles

After making the appropriate settings, we can start adding vehicles.

1. Go to `Products -> Attributes` and click `Configure terms` opposite the previously created attribute (Compatibility).

![](https://814188227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFxmio3NaG9Bq2qqNuuFq%2Fuploads%2FNpsizdLs3PrL4E7dQf18%2Fattibutr.png?alt=media\&token=857a30a9-7524-45c0-93e7-f4dc8dc94a83)

2\. Finally it's time to add the first vehicle. Fill in the following fields:

* **Name** - Just a vehicle name. Can be of any value, but not empty.
* **Vehicle year (since)** - The Year in which vehicle production began (for ex: 2016).
* **Vehicle year (until)** - The year the vehicle ended production (for ex: 2020). Leave blank if the vehicle is still in production.
* **The Vehicle makes** - Vehicle make (for ex:  Ford, BMW, Audi, etc).
* **Vehicle Model** - Vehicle modification name (for ex: Audi 1.5L Turbo).

![Add as many vehicle as you need. When you're done, catch up, we'll be waiting for you in the next section.](https://814188227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFxmio3NaG9Bq2qqNuuFq%2Fuploads%2F23RxihHBFX711iSiG5VH%2Fattribute3.png?alt=media\&token=5fe794de-7d20-4e16-8088-1cb08dd91bb6)

Add as many vehicle as you need. When you're done, catch up, we'll be waiting for you in the next section.

![](https://814188227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFxmio3NaG9Bq2qqNuuFq%2Fuploads%2FDRlzg073j7gWqaVQCuLy%2Fvehicle1.png?alt=media\&token=c05a4ec0-1b17-4d58-b19c-9d524d31f609)

## **Assign attribute vehicle for each products**

You can add this attribute to the each product the same:

![](https://814188227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFxmio3NaG9Bq2qqNuuFq%2Fuploads%2FXL8p0pFcYgsBQFovo803%2Fvehcile2.png?alt=media\&token=0085293e-4246-492f-8c06-20dda0838c81)

<br>
