🔧 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>
57 lines
840 B
Plaintext
57 lines
840 B
Plaintext
# Cache and logs (Symfony2)
|
|
/app/cache/*
|
|
/app/logs/*
|
|
!app/cache/.gitkeep
|
|
!app/logs/.gitkeep
|
|
|
|
# Email spool folder
|
|
/app/spool/*
|
|
|
|
# Cache, session files and logs (Symfony3)
|
|
/var/cache/*
|
|
/var/logs/*
|
|
/var/sessions/*
|
|
!var/cache/.gitkeep
|
|
!var/logs/.gitkeep
|
|
!var/sessions/.gitkeep
|
|
|
|
# Logs (Symfony4)
|
|
/var/log/*
|
|
!var/log/.gitkeep
|
|
|
|
# Parameters
|
|
/app/config/parameters.yml
|
|
/app/config/parameters.ini
|
|
|
|
# Managed by Composer
|
|
/app/bootstrap.php.cache
|
|
/var/bootstrap.php.cache
|
|
/bin/*
|
|
!bin/console
|
|
!bin/symfony_requirements
|
|
/vendor/
|
|
|
|
# Assets and user uploads
|
|
/web/bundles/
|
|
/web/uploads/
|
|
|
|
# PHPUnit
|
|
/app/phpunit.xml
|
|
/phpunit.xml
|
|
|
|
# Build data
|
|
/build/
|
|
|
|
# Composer PHAR
|
|
/composer.phar
|
|
|
|
# Backup entities generated with doctrine:generate:entities command
|
|
**/Entity/*~
|
|
|
|
# Embedded web-server pid file
|
|
/.web-server-pid
|
|
.idea
|
|
.git
|
|
.github
|
|
.phpunit.result.cache
|