Pool Configurator - no-composer cPanel version

1. Upload the folder to your web host public directory:
   e.g. public_html/PTL/shopifyApp/

2. Ensure folder structure and create writable data/ folder:
   chmod 755 or 775 on data/

3. Edit .env.php with your APP_URL, SHOPIFY_API_KEY and SHOPIFY_API_SECRET.

4. In Shopify App settings:
   - App URL: https://<your-domain>/PTL/shopifyApp/app/install
   - Redirect URL: https://<your-domain>/PTL/shopifyApp/app/callback
   - Scopes: read_products, write_products, read_product_listings, write_product_listings

5. Install the app via the Install link (Dev Dashboard -> Distribution -> generate link).

6. After installation, token is saved to data/shop_<your-shop>.json

7. Go to https://<your-domain>/PTL/shopifyApp/app/import to upload CSV(s).
   Each CSV should have header row including: Title, SKU, Price, Step 1 Products, Step 2 Products, ...

8. Add Liquid snippet to product template:
   <div id="product-configurator" data-steps='{{ product.metafields.custom.steps_json | escape }}'></div>
   <script src="https://<your-domain>/PTL/shopifyApp/assets/configurator.js"></script>

9. Deploy a Shopify Function (Cart Transform) to read 'properties[Configurator Addons]' and apply price changes (separate step).
