# Installing Demo Data

Fancy Lab comes with demo data that you can install in order to make your theme look like the theme's screenshot.png file. Follow the steps below if you want to install demo data.

* Click on "Begin installing plugin".

![](https://1627608223-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_JnIDcjHhkCE5dGrqU%2F-L_JxdNBC0NIioNTWft6%2F-L_JyFihVgDIj-Nxhe6R%2Ftgmpa3.png?alt=media\&token=3352d230-0b1b-4f34-8b02-0cd6a82f9499)

* Install the plugin called "One Click Demo Import".
* Click on "Return to Required Plugins Installer".
* Activate the plugin.
* Return to the WordPress dashboard
* Click on Appearance -> Import Demo Data

{% hint style="info" %}
You can choose between a manual import and an automatic import (recommended).

Both processes won't delete any existing post, page, category, images, custom post type or any other data. The process will only create new posts, pages, images, widgets, menus and theme settings.
{% endhint %}

* Click on "Import Demo Data" once and wait until you see the following message:

![](https://1627608223-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_JnIDcjHhkCE5dGrqU%2F-L_JxdNBC0NIioNTWft6%2F-L_K-XCumfy7WqijL15p%2Focdi1.png?alt=media\&token=2bc35e57-8d44-4343-9f03-3c683a51a472)

{% hint style="danger" %}
Don't click the "Import Demo Data" more than once! Sometimes the import process can take longer because the theme needs to create thumbnails for all of the images. Just be patient.
{% endhint %}

### Further Steps

After importing the demo data, you need to set up your WooCommerce shop if it's the first time you install WooCommerce on your site. Otherwise, some of the links won't work.&#x20;

Go to WooCommerce -> Settings and configure at least these items:

* General guide: set your store information
* Product guide: assign a shop page, choosing a page called "Shop"
* Advanced guide: assign cart, checkout and my account pages

### Troubleshooting

#### Problems during importing

In some occasions the import will fail due to some permission issues. If that is the case, you can try to do the following. Open your config.php file and, above the line that says:

```
/* That's all, stop editing! Happy blogging. */
```

Add the following:

```php
define('ALLOW_UNFILTERED_UPLOADS', true);
```

#### Menus are not automatically assigned

If the menus are not automatically assigned during import, follow these steps:

* Go to Appearence -> Menus
* Click on "Manage locations" and assign each menu according to the image below:

![](https://1627608223-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_JnIDcjHhkCE5dGrqU%2F-L_TPVJpZlpcBA-bmVqH%2F-L_TQXii_WXGQ8OsZ16O%2Focdi2.png?alt=media\&token=d491b81a-9bdb-4655-9adb-31cf1bf9a6d1)

#### Filter by Price widget not displaying

This issue is caused by WooCommerce or by the importer. It does not have to do with the theme.&#x20;

For some reason, the widget is not able to recognise the product prices. You can force it to get the price range by going to WooCommerce -> Status -> Tools tab. Under "Product lookup tables", simply click the "Regenerate" button. The WooCommerce product lookup table, once empty, will be recreated.&#x20;

#### Widget areas move/inactive after theme switch

There's nothing we can do about that, unfortunately. It seems like that's the way WordPress behaves.

You can see more info here: <https://wordpress.org/support/topic/widgets-can-go-missing-switching-themes-and-deactivating-plugins/>


---

# 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://fancy-lab.gitbook.io/fancy-lab/untitled.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.
