🔧 Bug Fixes: - Fixed product image structure to match Miravia API requirements - Updated MiraviaProduct.php getData() method to wrap images in {"Image": [...]} format - Updated MiraviaCombination.php getData() method to wrap SKU images properly - Resolved error "[4224] The Main image of the product is required" 📋 Changes: - Modified getData() methods to transform flat image arrays to nested structure - Product images: images[] → Images: {"Image": [...]} - SKU images: images[] → Images: {"Image": [...]} - Maintains backward compatibility for empty image arrays 🎯 Impact: - Product uploads will now pass Miravia's image validation - Both product-level and SKU-level images properly formatted - Complies with official Miravia API documentation structure 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
51 lines
558 B
Plaintext
51 lines
558 B
Plaintext
# WordPress
|
|
wp-config.php
|
|
wp-content/uploads/
|
|
wp-content/cache/
|
|
wp-content/backup-db/
|
|
wp-content/advanced-cache.php
|
|
wp-content/wp-cache-config.php
|
|
wp-content/plugins/hello.php
|
|
wp-content/plugins/akismet/
|
|
.htaccess
|
|
|
|
# OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# IDE files
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Logs
|
|
*.log
|
|
error_log
|
|
debug.log
|
|
logs/
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
*.bak
|
|
*.backup
|
|
|
|
# Node modules (if any)
|
|
node_modules/
|
|
npm-debug.log*
|
|
|
|
# Composer
|
|
vendor/
|
|
composer.lock
|
|
|
|
# Plugin specific
|
|
*.zip
|
|
data/
|