> For the complete documentation index, see [llms.txt](https://thembay-docs.gitbook.io/greenmart/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thembay-docs.gitbook.io/greenmart/import-sample-data-wpbakery/for-a-new-website.md).

# For a new website

{% hint style="warning" %} <mark style="color:red;">**First, delete the default pages that the WooCommerce plugin creates**</mark>
{% endhint %}

<figure><img src="/files/M5twX8sE90lOwbCCXbYo" alt=""><figcaption><p>Move the Shop, Cart and Checkout pages to the trash</p></figcaption></figure>

<figure><img src="/files/xiUo5o6sxXxLWwmWI7AE" alt=""><figcaption><p>Empty the trash to completely remove those pages</p></figcaption></figure>

* [x] <mark style="color:purple;">**Step 1**</mark> - Login to your **WordPress Dashboard**.
* [x] <mark style="color:red;">**Step 2**</mark> <mark style="color:red;"></mark><mark style="color:red;">-</mark> <mark style="color:red;"></mark><mark style="color:red;">**(Important Step) - Deactivate the plugin Elementor**</mark>

<figure><img src="/files/zN2Bl4UlLq1DJUQHPgvZ" alt=""><figcaption></figcaption></figure>

* [x] <mark style="color:purple;">**Step 3 (Options)**</mark> - **Install the Marketplace plugin that you will be using. It will make the imported data more standard. Can be ignored if you have the plugin installed or do not need to use it**

- Dokan
- WC Marketplace
- WCFM
- WC Vendors

<figure><img src="/files/gdySkuDjhJ7LZsyaHeMT" alt=""><figcaption></figcaption></figure>

* [x] <mark style="color:purple;">**Step 4**</mark>**&#x20;- Go to Appearance > Theme Setup > Click to Start**

![](/files/4FF7Hr1fH3L8ByisRJ0p)

* [x] <mark style="color:purple;">**Step 5**</mark> - **Install Child Theme**

![](/files/XkncSyqzlve6VFrg3d4C)

* [x] <mark style="color:purple;">**Step 6**</mark> - **Import Content**: Select the **Demo you want**, then click on **Import**

![](/files/ym9y7fVSH8wcCGaOYphW)

**The process may take some time. Please wait**

![](/files/ykwuNpBVbcvZbqJzrgmU)

:tada:**All done. Have fun!**

![](/files/2pNvI3w1HyE2tXGEGgQQ)

* [x] <mark style="color:purple;">**Step 7**</mark> - Choose Shop Page: Go to **WooCommerce** > **Settings** > **Products** > **General** > **Shop Page**

![](/files/3ZxfjNLf9pfXwCmrkyte)

* [x] <mark style="color:purple;">**Step 8**</mark> - Choose Cart and Checkout Page: Go to **WooCommerce** > **Settings** > **Advanced**

![](/files/7BEKlrlshOwdTupGdIOS)

* [x] <mark style="color:purple;">**Step 9**</mark> - WPBakery Page Builder Settings => Role Manager => Post types = Custom

<figure><img src="/files/fUlthxQWAckB4hlfUmr3" alt=""><figcaption></figcaption></figure>

* [x] <mark style="color:purple;">**Step 10**</mark> - Fix missing menu error when importing sample data

{% hint style="info" %}
**Sometimes the menu may not appear after the import**
{% endhint %}

<figure><img src="/files/Dks17yGYQCB0CZ7w8V5w" alt=""><figcaption><p>Menu does not appear on the home page</p></figcaption></figure>

<figure><img src="/files/5DRInXaprWuJTZigC0mv" alt=""><figcaption><p>The menu management section is also empty</p></figcaption></figure>

{% hint style="success" %}
**You just need to add any menu item, and then save. The menu will appear.**
{% endhint %}

<figure><img src="/files/dZo1oBUfVJNZ5xhCxA6Q" alt=""><figcaption><p><strong>You just need to add any menu item, and then save</strong></p></figcaption></figure>

<figure><img src="/files/rw48KlqHTbsVWphZ6K8j" alt=""><figcaption><p><strong>The menu will appear</strong></p></figcaption></figure>

<figure><img src="/files/Qunjx1sEEEk38VuXSANc" alt=""><figcaption><p>Select the locations menu and save</p></figcaption></figure>

<figure><img src="/files/hUdVIcHBgecw5iWhqHUl" alt=""><figcaption></figcaption></figure>

{% hint style="info" %} <mark style="color:orange;">**Do the same with the disappearing menus. You can watch this video tutorial:**</mark>
{% endhint %}

{% embed url="<https://youtu.be/8UOTc_L0_mc?si=GK8ch9X2BbJdhg9Y&t=68>" %}

* [x] <mark style="color:purple;">**Step 11**</mark> - Configure Mega Menu

![](/files/8MyQTZG0VyDBMQhZJ4lK)

![](/files/O3NhmA8EKO1nYwREPsGs)

![](/files/esFam3ypfTfdlS4qEtgA)

#### Please follow this video:

{% embed url="<https://www.youtube.com/watch?v=Ak0HuGKmNc8>" %}

* [x] <mark style="color:purple;">**Step 12**</mark> - Choose Footer Menu

<figure><img src="/files/SYbdmVrCnW789TcPtgwu" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9W3fLRzxiD1PDPtXDPvV" alt=""><figcaption></figcaption></figure>

* [x] <mark style="color:purple;">**Step 13**</mark> - Configure the Product Attributes

![](/files/eLEZba1XKMqGvxJ26UBB)

You need to match the types of attributes, eg: Color => Type = Color

![](/files/Xj6nyDbXWNJIXSXQGba3)

![](/files/84WaBIOcswF4UQYBvh3D)

{% hint style="info" %}
**You can read more here =>** [**https://docs.woocommerce.com/document/variable-product/**](https://docs.woocommerce.com/document/variable-product/)
{% endhint %}

{% hint style="info" %}
Watch full detailed instructions for installation and data import here:
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=zH-6pmd5pb0>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://thembay-docs.gitbook.io/greenmart/import-sample-data-wpbakery/for-a-new-website.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
