Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Magelon Export

Description

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

Installation

  1. Download the plugin and extract it into your WordPress plugins directory (wp-content/plugins/magelon-export).
  2. Activate the plugin from the WordPress admin panel under Plugins.
  3. Configure the export settings under Tools > Magelon Export.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Magelon Export » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Magelon Export » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.