Ecomify Shopify Migrator - OAuth cPanel Version
================================================

This version works with Shopify Dev Dashboard apps that show Client ID and Client Secret.

UPLOAD:
1. Upload all files to:
   public_html/shopify-migrator/

CONFIG:
2. Edit config.php and add real cPanel database details.
3. Make sure BASE_URL is correct and ends with slash.

INSTALL:
4. Open:
   https://shopify-migration.ecomifyofficial.com/shopify-migrator/install.php
5. After successful install, delete install.php.

SHOPIFY APP SETTINGS:
6. In BOTH Shopify apps, set Redirect URL:
   https://shopify-migration.ecomifyofficial.com/shopify-migrator/oauth-callback.php

7. App URL:
   https://shopify-migration.ecomifyofficial.com/shopify-migrator/

SOURCE SCOPES recommended:
read_products,read_inventory,read_locations,read_content,read_files,read_customers,read_orders,read_metaobjects,read_discounts,read_themes

DESTINATION SCOPES recommended:
read_products,write_products,read_inventory,write_inventory,read_locations,read_content,write_content,read_files,write_files,read_customers,write_customers,read_orders,write_orders,read_metaobjects,write_metaobjects,read_discounts,write_discounts,read_themes,write_themes

USE:
8. Open dashboard:
   https://shopify-migration.ecomifyofficial.com/shopify-migrator/
9. Add source/destination store URL + Client ID + Client Secret.
10. Connect Source.
11. Connect Destination.
12. Queue Product Migration.
13. Run cron manually or set cron job.

CRON:
Every 1 minute:
/usr/local/bin/php /home/YOUR_CPANEL_USERNAME/public_html/shopify-migrator/run-cron.php

NOTES:
- This OAuth version currently migrates basic products: title, description, vendor, product type, tags, handle, status, SEO.
- Images, variants, collections, customers, pages, theme will be added in the next advanced ZIP.
- Keep Client Secret private.
