Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Mercaline2024/Ecomdrop-ia-connector-2/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Theme Management feature enables you to install the Ecomdrop Theme 2.5 directly from a Git repository to your Shopify store. The theme is optimized for dropshipping, features Ecomdrop AI integration, and can be updated through version control.Theme Features
The Ecomdrop Theme 2.5 includes:- Design
- Performance
- Integration
- Customization
- Modern, responsive design that works on all devices
- Customizable color schemes and typography
- Multiple layout options for product pages
- Professional, conversion-optimized checkout flow
Installing the Theme
Confirm Installation
Confirm that you want to install “Ecomdrop Theme 2.5” in the confirmation dialog.
Wait for Installation
The app will:
- Download the theme from the Git repository
- Extract theme files
- Upload to your Shopify store
- Create a new unpublished theme
Git Repository Configuration
The theme is sourced from a Git repository configured via environment variables:GitHub Configuration
Public Repository
Public Repository
For public GitHub repositories:The app constructs a download URL:
Private Repository
Private Repository
For private GitHub repositories, include a personal access token:The app uses the GitHub API with authentication to download the repository.
GitLab Configuration
For GitLab repositories:Direct URL
Alternatively, provide a direct download URL:Direct URLs bypass Git configuration and download directly from the specified location.
Installation Process
Behind the scenes, the app performs these steps:Download Theme
The app fetches the theme ZIP file from:
- Git repository (GitHub/GitLab API)
- Direct URL
- Public repository archive URL
Prepare Theme Assets
The app organizes theme files into Shopify’s expected structure:
assets/- CSS, JavaScript, imagesconfig/- Theme settings JSONlayout/- Layout Liquid fileslocales/- Translation filessections/- Section Liquid filessnippets/- Reusable Liquid snippetstemplates/- Page templates
Upload to Shopify
Using the Shopify GraphQL Admin API, the app:
- Creates a new unpublished theme
- Uploads all theme files via the
ThemeFilesUpsertmutation - Sets the theme name to “Ecomdrop Theme 2.5”
Activating the Theme
After installation:Preview the Theme
Click Customize to preview and customize the theme before publishing.
Use Shopify’s theme editor to adjust colors, fonts, sections, and settings.
Theme Preview
The app includes a built-in theme preview feature:Viewing Preview
In the Vista Previa (Preview) section:- The app displays an iframe showing your active theme
- The preview URL includes the theme ID parameter:
- Click Abrir en nueva pestaña (Open in new tab) to view in a full browser window
Preview Limitations
Some Shopify stores may have iframe restrictions. If the preview doesn’t load, use the “Open in new tab” button.
Version Management
Updating the Theme
To update to a new version:Reinstall Theme
Click Instalar Tema again in the app. This creates a new unpublished theme with the latest version.
Multiple Versions
You can have multiple theme versions installed:- Production (active)
- Staging (unpublished)
- Development (unpublished)
- Backup versions
Theme Configuration Files
The Ecomdrop Theme includes configuration inconfig/settings_schema.json:
- General Settings
- Homepage
- Product Pages
- AI Integration
- Logo and favicon
- Color schemes
- Typography
- Layout options
Customizing the Theme
After installation, customize through Shopify’s theme editor:- Theme Settings: Global settings like colors and fonts
- Sections: Add, remove, or reorder page sections
- Navigation: Configure menus and navigation structure
- Checkout: Customize checkout appearance (Shopify Plus only)
API Integration
The theme installation uses Shopify’s GraphQL Admin API:Creating Theme
Uploading Files
Troubleshooting
Installation fails
Installation fails
- Check that environment variables are configured correctly
- Verify Git token has read access to the repository
- Ensure repository and branch names are correct
- Check server logs for detailed error messages
- Verify network connectivity to GitHub/GitLab
Theme appears broken after installation
Theme appears broken after installation
- Ensure all theme files were uploaded (check file count)
- Verify theme structure matches Shopify requirements
- Check for missing assets (images, CSS, JavaScript)
- Review theme errors in Shopify admin
Preview not loading
Preview not loading
- Try opening preview in a new tab instead of iframe
- Check browser console for errors
- Verify the theme ID is correct
- Ensure store allows theme previews
Cannot download from private repository
Cannot download from private repository
- Verify Git token is valid and not expired
- Ensure token has appropriate repository read permissions
- Check that repository name includes owner (e.g., owner/repo)
- For GitHub, use Personal Access Token (classic) with
reposcope
Theme not appearing in Shopify admin
Theme not appearing in Shopify admin
- Wait a few minutes for Shopify to process the upload
- Refresh the Themes page in Shopify admin
- Check for API errors in server logs
- Verify API permissions include theme write access
Best Practices
Backup First
Always duplicate your current theme before publishing a new one to avoid data loss.
Test Thoroughly
Preview and test all pages before publishing the theme to production.
Version Control
Use Git branches for theme development, staging, and production versions.
Staged Rollout
Install new versions as unpublished themes and test before making them live.
Monitor Performance
Check theme performance metrics after installation using Shopify’s analytics.
Related Features
- Configuration - Configure app settings before installing theme
- AI Configuration - Set up AI assistant to work with the theme