### This Plugin provides multistore connection to support product, collections, variants. This is built upon https://github.com/robwatkiss/datocms-plugin-shopify-instance-selector

[

**This is a Community Plugin!** Learn how create your own plugin, or copy and remix existing ones in our documentation

](https://www.datocms.com/docs/plugin-sdk/introduction.md)

## Shopify Multi Store Connector

This Plugin provides multistore connection to support product, collections, variants

## Features

-   Allows Selection of Products,Collections,Variants from Shopify
-   Support Multistore configurations.

## Setup

1.  **Install dependencies**
    
    Go to the plugin directory:
    
    ```sh
    cd prevent-unpublishpnpm install
    ```
    
2.  **Start the development server**
    
    ```sh
    pnpm dev
    ```
    
3.  **Register the plugin in DatoCMS**
    
    -   Go to your DatoCMS project \> Settings \> Plugins \> Add new plugin
    -   Use the local development URL provided by `pnpm dev` (usually `http://localhost:5173`)
4.  **Add Applicable Shopify Stores**
    
    -   Add Applicable Shopify Stores and their Storefront API Details.

## Development

-   The main logic is in `src/main.tsx`.
-   The plugin uses the DatoCMS Plugin SDK and React UI components.

---

For more details, see the code and comments in `src/main.tsx`.