# Shopify integration overview

> Understand what the Shopify integration does and which guides to read, in which order, to connect your store, sync styles and stock, and show the Product Journey.

Source: https://docs.vestislabs.com/integrations/shopify-overview/

The **Shopify** integration links your Vestis brand to your Shopify store. Once linked, a style can be sent to Shopify as a product, its production batches feed the Shopify stock, and the Product Journey can be shown on your product pages.

**Where to find it:** Settings → Integrations → Shopify

**Requires:** permission `UPDATE_SHOPIFY_INTEGRATION`

> [!NOTE]
> The **Integrations** item in **Settings** and the **Shopify** tile on the **Integrations** page only show when Shopify is switched on for your brand. Ask your Vestis contact if you do not see them.

## What the integration does

- **Connects the brand to one Shopify store.** You install the Vestis Labs app in Shopify, then enter the 5-character code it gives you in Vestis.
- **Sends styles as Shopify products.** For each style you can create a new Shopify product or link a product that already exists in your store.
- **Keeps stock in step.** Shopify stock comes from the **Additional for Shopify** quantities of the production batches of the style.
- **Shows differences.** On the style, each synced field is compared side by side and you can **Push** the Vestis value to Shopify.
- **Shows Product Journey.** You paste a code snippet into your Shopify theme once, and every product that is linked to a Vestis style shows the journey.

## Read the guides in this order

### 1. Connect your store

Do this once per brand.

1. [Integrating Vestis Labs with Shopify for product management](https://docs.vestislabs.com/integrations/integrating-vestis-labs-with-shopify-for-product-management/) walks through the connection starting from **Settings → Integrations**.
2. [Connect Vestis Labs to Shopify, connect styles and manage production batches](https://docs.vestislabs.com/integrations/connect-vestis-labs-to-shopify-connect-styles-and-manage-production-batches/) covers the same connection starting from the Shopify App Store, then continues to styles and batches.

You only need one of the two for the connection. Pick the one that matches where you start.

### 2. Send a style to Shopify

Do this for each style.

1. [Style with production batch sync configuration](https://docs.vestislabs.com/integrations/style-with-production-batch-sync-configuration/) creates the Shopify product from a style that already has production batches.
2. [Connect your style production batches in Vestis Labs to Shopify](https://docs.vestislabs.com/integrations/connect-your-style-production-batches-in-vestis-labs-to-shopify/) connects pictures to colours, adds the first production batch with a Shopify quantity and sends the style and its stock to Shopify.

### 3. Keep stock up to date

Use these when stock changes.

1. [Add another style production batches in Vestis Labs to Shopify](https://docs.vestislabs.com/integrations/add-another-style-production-batches-in-vestis-labs-to-shopify/) adds a new batch and its quantity.
2. [Manage style production batches in Vestis Labs to Shopify](https://docs.vestislabs.com/integrations/manage-style-production-batches-in-vestis-labs-to-shopify/) changes the Shopify quantity of an existing batch.
3. [Delete style production batches in Vestis Labs to Shopify](https://docs.vestislabs.com/integrations/delete-style-production-batches-in-vestis-labs-to-shopify/) removes a batch and its stock.

### 4. Keep product data up to date

1. [Updating synced data from Vestis Labs to Shopify](https://docs.vestislabs.com/integrations/updating-synced-data-from-vestis-labs-to-shopify/) compares fields, images and colours with Shopify and pushes changes.

### 5. Show the Product Journey on your store

1. [Integrate product journey into Shopify](https://docs.vestislabs.com/integrations/integrate-product-journey-into-shopify/) copies the embed code from a style.
2. [Integrating VestisLabs custom Liquid code into Shopify themes](https://docs.vestislabs.com/integrations/integrating-vestislabs-custom-liquid-code-into-shopify-themes/) copies the same embed code from the Shopify settings page of Vestis.

Use one of the two. Both end with a **Custom Liquid** section in your Shopify theme.

## Disconnect Shopify

On the **Shopify Integration** page, the **Danger Zone** has a **Disconnect Shopify** action. It removes the Vestis-to-Shopify product connections, clears the image and tag associations and uninstalls the Vestis Labs app from your store. Your Shopify products are not deleted, and you can reconnect at any time by installing the app again.

> [!WARNING]
> The **Danger Zone** only shows to users who are allowed to update the brand.
