FeedCraft Product Feed

Plugin Banner

FeedCraft Product Feed

by ahme1016

Download
Description

This plugin generates a standards-friendly product feed (XML and JSON) via REST API for use with shopping engines, marketplaces, and analytics tools. It includes ready-made mappings for Google Merchant Center and works with platforms that accept XML/JSON product data.

Key Features:

  • Dedicated Settings Page: A new settings panel under WooCommerce > Product Feeds lets you configure default values and feed behavior.
  • Adds Custom Product Fields:
    • GTIN (EAN/UPC)
    • MPN
    • Brand
    • Color
    • Age Group (per product or variation)
    • Gender (per product or variation)
    • Google Product Category
  • Supports Simple & Variable Products: Add data to simple products or override at the individual variation level.
  • Configurable Attribute Mapping: Tell the plugin which of your attributes correspond to Color and Size.
  • Flexible Defaults: Set store-wide default values for Age Group and Gender to avoid setting them on every product.
  • Generates Two Feed Types:
    • A standards-friendly XML feed for shopping engines and marketplaces, fully compatible with Google Merchant Center.
    • A flexible JSON feed for custom integrations and third-party platforms.
  • Performance Conscious: Includes a configurable memory limit warning to prevent timeouts on large stores.
  • Smart Feed Generation:
    • Correctly uses item_group_id for product variations.
    • Builds the full product_type category path.
    • Optionally excludes products without images.

License

This plugin is licensed under the GPLv3.
See: https://www.gnu.org/licenses/gpl-3.0.html

  1. Upload the plugin folder to your /wp-content/plugins/ directory, or install via the WordPress plugin installer.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Ensure WooCommerce is active.
  4. Navigate to WooCommerce > Product Feeds to configure default settings, attribute mappings, and find your feed URLs.
  5. Edit a product in WooCommerce. You will see the new fields under the General tab (for simple products) and in the variation editor.
  6. Fill in GTIN, MPN, Brand, Color, etc., as needed.
  7. Access your feed at the URLs provided on the settings page:
    • XML Feed: https://example.com/wp-json/feedcraft-product-feed/v1/xml
    • JSON Feed: https://example.com/wp-json/feedcraft-product-feed/v1/json
  8. Submit the XML feed URL in your Google Merchant Center or any platform that accepts XML or JSON Product Feeds.
  1. The dedicated plugin settings page under WooCommerce.

    The dedicated plugin settings page under WooCommerce.

  2. Custom fields in the WooCommerce Simple product editor.

    Custom fields in the WooCommerce Simple product editor.

  3. Age Group & Gender dropdowns in product variations.

    Age Group & Gender dropdowns in product variations.

  4. Example XML feed (GMC-compliant).

    Example XML feed (GMC-compliant).

Where do I configure the plugin?

You can find the settings page under the WooCommerce menu: WooCommerce > Product Feeds. Here you can set defaults, map attributes, and find your feed URLs.

Do I need to set Age Group and Gender for every product?

No. The plugin uses the defaults you configure on the settings page (e.g., ‘adult’ and ‘unisex’). You only need to set these fields on products or variations that differ from the default.

What if a product has no image?

By default, the plugin will skip products without images, since Google requires them. You can change this behavior on the plugin’s settings page to include products even if they don’t have an image.

How does the plugin get the Color and Size for variations?

The plugin will first check for the custom “Color” field. If that’s empty, it will check the product attributes you’ve specified on the settings page (e.g., pa_color, pa_size).

Is the feed URL public?

Yes. Anyone with the feed URL can view your product data. This is standard for most Google Merchant Center feed plugins.

2.0.2

  • Initial public release.
Back to top