# 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-unpublish
   pnpm 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`.
