> For the complete documentation index, see [llms.txt](https://leebrosusthemes.gitbook.io/majextic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leebrosusthemes.gitbook.io/majextic/woocommerce/vehicle-attributes-config.md).

# Vehicle Attributes Config

The Majextic theme provides some enhancements to the base attribute system of the WooCommerce plugin. This section describes these enhancements.

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.

<figure><img src="https://3384325573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRustSkW8PAKXmNI2Ju7i%2Fuploads%2F6ifBqNL5SqQ5Ch5iLOSj%2Fatribute1.png?alt=media&amp;token=93732262-e80a-42fe-b043-2dfa9233940d" alt=""><figcaption></figcaption></figure>

### 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).

<figure><img src="https://3384325573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRustSkW8PAKXmNI2Ju7i%2Fuploads%2FbDj0P051Wp45We8LQ4Bp%2Fattibutr.png?alt=media&amp;token=79e06b4f-2a79-4fa5-93a1-699e617f0ba7" alt=""><figcaption></figcaption></figure>

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).

<figure><img src="https://3384325573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRustSkW8PAKXmNI2Ju7i%2Fuploads%2FsGQvnK3gDyBs01XuJ1f6%2Fattribute3.png?alt=media&amp;token=877f46c6-2f07-4b0f-ad5a-7a2e9203b427" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3384325573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRustSkW8PAKXmNI2Ju7i%2Fuploads%2FfCq2LUjTqoLYQVlwAkjc%2Fspaces_Fxmio3NaG9Bq2qqNuuFq_uploads_DRlzg073j7gWqaVQCuLy_vehicle1.webp?alt=media&amp;token=ddecefec-c09b-4faa-ae61-9c38a32d024b" alt=""><figcaption></figcaption></figure>

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

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

<figure><img src="https://3384325573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRustSkW8PAKXmNI2Ju7i%2Fuploads%2FFfI6UCpEu5ELwe40Cw1R%2Fvehcile2.png?alt=media&amp;token=827301d2-4526-4e5b-a987-291936cb10bc" alt=""><figcaption></figcaption></figure>
