=== StoreShift Lite — Shopify Migration for WooCommerce ===
Contributors: willpowertechusa
Tags: shopify, woocommerce, migration, import, shopify to woocommerce
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Migrate products and categories from Shopify to WooCommerce — free, no license required.

== Description ==

StoreShift Lite connects directly to your Shopify store via the API and imports your products and categories into WooCommerce — no CSV exports, no file uploads, no manual work.

**What's included in Lite (free):**

* Products importer — simple and variable products, variants, images imported to your media library, tags
* Categories importer — Shopify custom and smart collections mapped to WooCommerce product categories with thumbnails
* Shopify OAuth connection — click Connect Shopify, authorize in a popup, and you're done — no tokens to copy
* Cursor-paginated imports — handles large catalogs safely without timeouts

**Upgrade to StoreShift (paid) to also import:**

* Coupons — Shopify price rules mapped to WooCommerce coupons (%, fixed, free shipping)
* Redirects — 301 URL redirects so your SEO is preserved after migration
* Orders — full order history with line items, addresses, and status mapping
* Customers — WP user accounts with WooCommerce billing and shipping meta

[Upgrade to StoreShift →](https://storeshift.io/pricing.html)

**How it works:**

1. Click **Connect Shopify** in the Settings tab and authorize via the popup
2. Click Import Products or Import Categories — StoreShift does the rest

No CSV exports, no manual token copying. Your store stays live throughout the migration.

== Installation ==

1. Upload the `storeshift-lite` folder to `/wp-content/plugins/`, or install via the WordPress plugin directory
2. Activate the plugin through the **Plugins** menu in WordPress
3. Navigate to **StoreShift Lite** in your WordPress admin menu
4. Go to the **Settings** tab and click **Connect Shopify** — a popup will open to authorize your Shopify store
5. Once connected, go to the **Import** tab and run your imports

== Frequently Asked Questions ==

= Does this affect my live Shopify store? =

No. StoreShift Lite only reads data from Shopify — it never writes, modifies, or deletes anything in your Shopify store. Your store stays fully operational throughout the migration.

= How many products can I import? =

Unlimited. StoreShift Lite uses cursor-based pagination to handle catalogs of any size without timeouts.

= Are product images imported? =

Yes. Product images are downloaded from Shopify and added to your WordPress media library, then attached to the imported WooCommerce products.

= What about variable products? =

Yes, variable products and their variants are fully supported in the free version.

= Can I re-run an import? =

Yes. Re-running an import will update existing products (matched by SKU) rather than creating duplicates.

= What do I need from Shopify? =

Just your Shopify store login. Click **Connect Shopify** in the Settings tab — a popup opens, you log in to Shopify and click Authorize, and StoreShift handles the rest. No tokens or custom apps required.

= Can I import orders and customers too? =

Orders and customers require the paid version of StoreShift. [See pricing →](https://storeshift.io/pricing.html)

= Does this work with WooCommerce HPOS (High-Performance Order Storage)? =

Yes, StoreShift Lite is compatible with WooCommerce HPOS.

== Screenshots ==

1. The Import tab — run product and category imports with a single click
2. The Settings tab — connect your Shopify store via OAuth with one click
3. Upsell banner showing the importers available in the paid version

== Changelog ==

= 1.1.4 =
* Fix: OAuth install URL now correctly identifies Lite plugin type to backend

= 1.1.3 =
* Replaced manual Admin API token entry with Shopify OAuth — click Connect Shopify, authorize in a popup, done
* Added Disconnect button to Settings tab

= 1.1.2 =
* Reverted Shopify auth to Admin API access token (shpat_) — OAuth client credentials require a server-side redirect handler not viable in a self-contained plugin
* Settings tab now collects a single access token field; token is verified against shop.json on connect
* Updated instructions and placeholders to reflect shpat_ token workflow

= 1.1.1 =
* Switched Shopify auth from access token (shpat_) to OAuth client credentials (Client ID + Client Secret)
* Settings tab now collects Client ID and Client Secret; credentials are exchanged for an access token on connect
* Updated instructions and placeholders to reflect new credential fields

= 1.1.0 =
* Replaced CSV drag-and-drop with direct Shopify API connection
* Added Settings tab for Shopify store URL and access token
* Added cursor-paginated Products importer — simple + variable products, images to media library
* Added cursor-paginated Categories importer — custom + smart collections with thumbnails
* Added upsell banner for paid importers (coupons, redirects, orders, customers)

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.1.4 =
Fix: reconnect your Shopify store to apply the updated OAuth install URL.

= 1.1.3 =
Auth update: reconnect your Shopify store using the new Connect Shopify button in the Settings tab.

= 1.1.2 =
Auth update: re-enter your Shopify Admin API access token (shpat_...) in the Settings tab after upgrading.

= 1.1.1 =
Auth update: re-enter your Shopify credentials (Client ID and Client Secret) in the Settings tab after upgrading.

= 1.1.0 =
Major update: CSV import replaced with direct Shopify API connection. Re-enter your Shopify credentials in the Settings tab after upgrading.
