# General setup

### **Product Index**

In Uccelerate we have provided you with an example definition for an index. It can be found in your App\_Code folder, too hook it up you can simply add this to your Custom.config in Ucommerce:

```markup
  <component
    id="ProductsIndexDefinition"
    service="Ucommerce.Search.IIndexDefinition`1[[Ucommerce.Search.Models.Product, Ucommerce.Search]], Ucommerce.Search"
    type="UccelerateProductIndexDefinition" />
```

For more info about index definitions please visit the Ucommerce documentation <https://docs.ucommerce.net/ucommerce/v9.0/Search-and-indexing/IndexDefinitions.html>.

### **Product Definition**

In Uccelerate we have prepared a few features that are optional and you need to add some fields to your product definition to be able to use them.

| Field Name    | Field Type                |
| ------------- | ------------------------- |
| ExtraImages   | Image Picker Multi Select |
| Stock         | Number                    |
| GlobalContent | Content                   |

**ExtraImages**

ExtraImages will show more images on the product pag&#x65;**.**

**Stock**

Here you can add how many products you have in stock or just use 1 or 0 to toggle out of stock message on the product.

**GlobalContent**

With this you can point toward a GlobalContent block so you can show content widgets on your productpages.
