Skip to main content

Category Management

The Magento 2 Connector synchronizes product categories between Odoo and Magento, preserving the parent-child hierarchy. Categories can be pulled from Magento or created in Magento directly from Odoo.

Accessing Magento Categories

Navigate to Magento > Magento Data > Categories to view all synced categories.

Magento Data menu showing Categories option

Category List View

The category list displays all synchronized categories with their hierarchy:

Magento Categories list view

ColumnDescription
InstanceThe Magento instance this category belongs to
MagentoThe Magento category ID
NameCategory name
ParentParent category name (for subcategories)
Is ActiveWhether the category is active in Magento

The list view clearly shows the category hierarchy. For example:

  • Default Category (root)
    • farhan (child of Default Category)
      • electronics (child of farhan)
    • cloth (child of Default Category)
    • Plastic (child of Default Category)
  • Magento Category 1 (root)
    • Limon (child of farhan)

Category Form

Click New to create a new category or click an existing category to edit it.

Magento Category form view

FieldDescription
InstanceSelect the Magento instance
MagentoThe Magento category ID (auto-populated on sync)
NameCategory name
ParentSelect the parent category for hierarchy placement
Is ActiveEnable or disable the category

Category Actions

ActionDescription
Sync Categories (from Instance)Pull all categories from Magento into Odoo, preserving hierarchy
Create in MagentoPush a new category from Odoo to Magento

Syncing Categories

Pull Categories from Magento

  1. Navigate to Magento > Instances.
  2. Open your instance.
  3. Click Sync Categories.
  4. The connector imports all Magento categories with their parent-child relationships.

Create a Category in Magento

  1. Go to Magento > Magento Data > Categories.
  2. Click New.
  3. Select the Instance.
  4. Enter the Name.
  5. Select a Parent category (or leave blank for a root category).
  6. Ensure Is Active is checked.
  7. Click Create in Magento.
info

Category hierarchy is fully preserved during synchronization. When you sync categories, child categories are automatically linked to their parent categories in Odoo.

tip

Categories synced from Magento can be used in product records to maintain consistent categorization across both platforms.

Next Steps