Magelon Export

Magelon Export is a WooCommerce plugin that allows store owners to export product data in compliance with Google Merchant specifications.

Author:Magelon (profile at wordpress.org)
WordPress version required:
WordPress version tested:6.7.2
Plugin version:1.0.7
Added to WordPress repository:05-03-2025
Last updated:05-03-2025
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:143
plugin download
Click to start download

Magelon Export is a WooCommerce plugin that allows store owners to export product data in compliance with Google Merchant specifications.

Features

  • Export WooCommerce product data with custom field mapping
  • Schedule automatic exports (hourly, daily, weekly)
  • Endpoint for fetching the latest export
  • Extendable via WordPress hooks and filters

Usage

  1. Go to Tools > Magelon Export in the admin panel.
  2. Map WooCommerce fields to Google Product Data fields.
  3. Set the export interval (hourly, daily, weekly).
  4. Access the exported file at /wp-content/uploads/magelon-export/products.csv.

Example 1: Extending the Plugin

Developers can add custom fields using the magelon_export_custom_product_fields filter:
php
add_filter('magelon_export_custom_product_fields', function ($fields) {
$fields['_custom_field'] = 'Custom Meta Field';
return $fields;
});

Example 2: Making ACF available in mapping

“`php
add_filter(‘magelon_export_custom_product_fields’, function ($fields) {
// Ensure ACF is installed and active
if (!function_exists(‘acf_get_field_groups’)) {
return $fields;
}

// Get all ACF field groups
$acf_field_groups = acf_get_field_groups();

foreach ($acf_field_groups as $group) {
    $fields_in_group = acf_get_fields($group['key']);

    if ($fields_in_group) {
        foreach ($fields_in_group as $acf_field) {
            $fields[$acf_field['name']] = 'ACF: ' . $acf_field['label'];
        }
    }
}

return $fields;

});
`

Support
For issues, open a GitHub issue or contact support.
support@magelon.com