Skip to content

Comments

Add dynamic family filter option based on updated products to optimize large catalog import#59

Merged
claudio-ferraro merged 2 commits intomasterfrom
feature/dynamic-family-filter
Jan 16, 2026
Merged

Add dynamic family filter option based on updated products to optimize large catalog import#59
claudio-ferraro merged 2 commits intomasterfrom
feature/dynamic-family-filter

Conversation

@claudio-ferraro
Copy link
Member

Problem

For catalogs with many product families (e.g., 936 families), the Akeneo product import processes all families sequentially, even when only a few products have been updated. This results in unnecessarily long import times.

Solution

Added a new option Dynamic Family Filtering that queries Akeneo for products updated within the configured "Updated Mode" period, extracts their family codes, and only imports those families.

How it works

  1. Before import starts, the DynamicFamilyFilter service queries Akeneo API for updated products and product models
  2. Extracts unique family codes from the results
  3. Intersects with the existing family list (after excluded families are removed)
  4. Only matching families are processed

Configuration

Stores > Configuration > Catalog > Akeneo Connector > Products Filters > Dynamic Family Filtering

The feature uses the existing "Updated Mode" settings (e.g., "Since Last N Hours", "Since Last N Days", etc.)

Example

  • Catalog: 936 families
  • Updated Mode: "Since Last 1 Hour"
  • Products updated: 5 (across 5 different families)
  • Result: Only 5 families are imported instead of 936

@claudio-ferraro claudio-ferraro merged commit b231d91 into master Jan 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants