Files
Miravia Connector Bot 28c2d4d1f0 Fix image upload structure for Miravia API compliance
🔧 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>
2025-07-21 15:06:20 +02:00
..

Miravia Feed API Connector

WordPress/WooCommerce plugin for Miravia marketplace integration using the official Feed API.

Features

  • Upload products to Miravia using the official Feed API
  • Job queue system with real-time status monitoring
  • Bulk product submission with error handling
  • Order import from Miravia to WooCommerce
  • Multi-account support for multiple Miravia sellers

Requirements

  • WordPress 5.0+
  • WooCommerce 3.0+
  • PHP 7.4+
  • Miravia seller account with API credentials

Installation

  1. Upload plugin files to /wp-content/plugins/miravia-feed-connector/
  2. Activate plugin in WordPress admin
  3. Go to Miravia > Configuration
  4. Enter your API credentials:
    • App Key
    • Secret Key
    • Access Token
  5. Enable "Use Feed API Only"
  6. Test your connection

Usage

Upload Products

  1. Go to Miravia > Products
  2. Select products using checkboxes
  3. Click "Submit Selected to Feed API"
  4. Monitor progress in Miravia > Jobs

Monitor Jobs

  • View job status in Miravia > Jobs
  • Filter by status (Pending, Processing, Completed, Failed)
  • Resubmit failed jobs
  • View error details

Configuration

Navigate to Miravia > Configuration to set up:

  • API credentials
  • Default product settings
  • Order import options
  • Debug mode

Support

Version History

2.0.0 - Complete rebuild with official Feed API 1.x - Legacy version (deprecated)


CloudHost.es | https://cloudhost.es