> ## Documentation Index
> Fetch the complete documentation index at: https://www.twicecommerce.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to install the TWICE plugin on WordPress

> Install the TWICE plugin on a WordPress site and place your TWICE 1.0 store on a page with the Twice Shop Block.

> [!WARNING]
>
> **The TWICE plugin for WordPress runs on TWICE 1.0.** TWICE 1.0 is the earlier version of TWICE Commerce, and it does not support every feature these docs describe. Use the [online store](https://www.twicecommerce.com/docs/guides/sales-channels/set-up-the-online-store.md) on the current version instead. It does not embed in another site.

Install the plugin, then add the **Twice Shop Block** to the page that will hold your store. [TWICE plugin for WordPress](https://www.twicecommerce.com/docs/concepts/sales-channels/twice-plugin-for-wordpress.md) explains the block's settings.

## Prerequisites

> [!NOTE]
>
> **Have ready before you start:**
>
> * **A WordPress site** and a WordPress user who can install plugins.
> * **Your shop name**, the **Twice domain path** under **Account → Domains → Urls** in the TWICE 1.0 admin. It must be letters and numbers only.
> * **The page** the store goes on. Create it in WordPress first, or use an existing one.

## The walkthrough

**1. Open Plugins**

In the WordPress dashboard, open **Plugins** in the left menu and choose to add a new plugin. The plugin directory search opens.

**2. Search for Twice Commerce**

Enter `Twice Commerce` in the search field. The TWICE plugin appears in the results.

**3. Install and activate the plugin**

Click **Install Now** on the TWICE plugin, then **Activate** when the installation finishes. The plugin is listed under **Plugins**.

**4. Turn on auto-updates**

In the list under **Plugins**, enable auto-updates for the TWICE plugin. WordPress then installs each new version of the plugin for you.

**5. Open the page in the block editor**

Open the page that will hold your store. The WordPress block editor opens.

**6. Insert the Twice Shop Block**

Click **+**, search for `Twice Shop Block` and insert it. The block is placed on the page, and its settings open in the panel on the right.

**7. Enter your shop name**

Enter your shop name in the block's settings on the right, then click **Publish** or **Update**. The block shows your store.

## How do I know it worked?

The published page shows your TWICE store. A customer can open a product on it and add it to the cart.

## Troubleshooting / common pitfalls

> [accordion] The page shows no store
>
> The plugin, WordPress, Elementor or your theme can each be the cause. See the FAQ on [TWICE plugin for WordPress](https://www.twicecommerce.com/docs/concepts/sales-channels/twice-plugin-for-wordpress.md).

> [accordion] My page builder has no block editor
>
> Use the shortcode instead. See [Embed the store with a shortcode](https://www.twicecommerce.com/docs/guides/sales-channels/embed-the-twice-store-with-a-shortcode.md).

## Related articles

> [card] [TWICE plugin for WordPress](https://www.twicecommerce.com/docs/concepts/sales-channels/twice-plugin-for-wordpress.md)
>
> How the plugin works, its settings and where to find each value.

> [card] [Show one category on a WordPress page](https://www.twicecommerce.com/docs/guides/sales-channels/show-one-category-on-wordpress.md)
>
> Narrow the embedded store to one category, product or location.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.