Configurable Products Setup Guide
Setting up two-dimensional configurable products (like shoes with Color AND Size) in KatanaPIM Connect. This guide explains how to structure products in KatanaPIM with Parent and GrandParent relationships, and how to configure Magento to properly import them as configurable products with multiple variation attributes.
Understanding the Product Hierarchy
KatanaPIM uses a three-level hierarchy for products with multiple variation dimensions:
| KatanaPIM Type | Example | Magento Product |
|---|---|---|
| GrandParent | "Running shoes" | Configurable Product |
| Parent | "Running shoes - Red" | No product created (data only) |
| Child | "Running shoes - Red - 43" | Simple Product |
Important: Parent products appear in the KatanaPIM grid but no Magento product is created for them. Parents serve as data containers that hold the first variation attribute value (e.g., Color). This value is inherited by their Child products.
Visual example - Running shoes with Color and Size:
KatanaPIM Structure:
────────────────────
GrandParent: Running shoes (SKU: 000-RS)
├── Parent: Running shoes - Blue (SKU: 000-RS-B) [Color: Blue]
│ ├── Child: Running shoes - Blue - 42 (SKU: 000-RS-B-42) [Size: 42]
│ ├── Child: Running shoes - Blue - 43 (SKU: 000-RS-B-43) [Size: 43]
│ └── Child: Running shoes - Blue - 44 (SKU: 000-RS-B-44) [Size: 44]
├── Parent: Running shoes - Red (SKU: 000-RS-R) [Color: Red]
│ ├── Child: Running shoes - Red - 42 (SKU: 000-RS-R-42) [Size: 42]
│ ├── Child: Running shoes - Red - 43 (SKU: 000-RS-R-43) [Size: 43]
│ └── Child: Running shoes - Red - 44 (SKU: 000-RS-R-44) [Size: 44]
└── Parent: Running shoes - Yellow (SKU: 000-RS-Y) [Color: Yellow]
├── Child: Running shoes - Yellow - 42 (SKU: 000-RS-Y-42) [Size: 42]
├── Child: Running shoes - Yellow - 43 (SKU: 000-RS-Y-43) [Size: 43]
└── Child: Running shoes - Yellow - 44 (SKU: 000-RS-Y-44) [Size: 44]
In Magento, this becomes:
Magento Structure:
──────────────────
Configurable: Running shoes (SKU: 000-RS)
├── Simple: Running shoes - Blue - 42 (Color: Blue, Size: 42)
├── Simple: Running shoes - Blue - 43 (Color: Blue, Size: 43)
├── Simple: Running shoes - Blue - 44 (Color: Blue, Size: 44)
├── Simple: Running shoes - Red - 42 (Color: Red, Size: 42)
├── Simple: Running shoes - Red - 43 (Color: Red, Size: 43)
├── Simple: Running shoes - Red - 44 (Color: Red, Size: 44)
├── Simple: Running shoes - Yellow - 42 (Color: Yellow, Size: 42)
├── Simple: Running shoes - Yellow - 43 (Color: Yellow, Size: 43)
└── Simple: Running shoes - Yellow - 44 (Color: Yellow, Size: 44)
The GrandParent becomes the configurable product, and all Children become its simple product variants. Parent products are skipped - they only exist to organize the hierarchy and pass Color values to Children.
Prerequisites in KatanaPIM
Before importing, ensure your KatanaPIM products are structured correctly:
1. Product Structure
- GrandParent products must exist as the top-level product (the "master" product)
- Parent products must have a
ParentIdpointing to the GrandParent - Child products must have:
- A
ParentIdpointing to their Parent - A
GrandParentIdpointing to the GrandParent
- A
2. Variation Attributes
Each level holds specific variation attribute values:
- GrandParent: No variation attributes (this is the base product)
- Parent: First variation attribute value (e.g., Color = "Red")
- Child: Second variation attribute value (e.g., Size = "43")
Attribute inheritance: Children inherit the Color value from their Parent. So a Child under "Running shoes - Red" automatically gets Color = "Red", and you only need to set Size = "43" on the Child itself.
This means when the Child is created in Magento, it will have both attributes:
- Color: Red (inherited from Parent)
- Size: 43 (set on Child)
3. Verify in KatanaPIM
Check your product structure in KatanaPIM:
- Open a Child product
- Verify it has both
ParentIdandGrandParentIdfields populated - Check that variation attributes (Color, Size) have values
Step 1: Import Attributes from KatanaPIM
First, import all attributes including your variation attributes.
- Navigate to Katana PIM → Attributes
- Click Import Attributes
- Wait for import to complete
- Locate your variation attributes (e.g., "Color", "Size")
Step 2: Mark Attributes as Configurable
This is the crucial step. Attributes used for product variations MUST be marked as configurable.
- In Katana PIM → Attributes grid
- Find your first variation attribute (e.g., "Color")
- Click the Magento Attribute Code cell
- Select existing Magento attribute OR
- Select "Create New" to auto-create
- Click the Is Configurable cell
- Set to Yes
- Repeat for all variation attributes (e.g., "Size")
Example configuration:
| Katana Attribute | Magento Attribute | Is Configurable |
|---|---|---|
| color | color | Yes |
| size | size | Yes |
| brand | brand | No |
| material | material | No |
Important: If "Is Configurable" is not set to Yes, the module cannot create configurable product relationships.
Step 3: Create Magento Attributes
After mapping and setting "Is Configurable = Yes", create the attributes in Magento:
- Select the mapped variation attributes (checkboxes)
- Use mass action Update/Create Magento Attribute
The module automatically:
- Creates attributes with
katanapim_prefix if they're new - Sets "Use in Configurable Products" to Yes for attributes marked as configurable
- Sets the correct input type (Dropdown)
Step 4: Import Products
Now import the products from KatanaPIM.
- Navigate to Katana PIM → Products
- Click Sync Full to import all products
- Wait for import to complete
After import, you'll see products with different "Katana Type" values:
- GrandParent - Your master configurable products
- Parent - Intermediate level (color variants in our example) - appears in grid but no Magento product is created
- Child - The actual simple products with all variations
What you'll see in the grid:
| Name | SKU | Katana Type | Type (Magento) |
|---|---|---|---|
| Running shoes | 000-RS | GrandParent | Configurable Product |
| Running shoes - Blue | 000-RS-B | Parent | (empty - no product) |
| Running shoes - Red | 000-RS-R | Parent | (empty - no product) |
| Running shoes - Blue - 42 | 000-RS-B-42 | Child | Simple Product |
| Running shoes - Red - 43 | 000-RS-R-43 | Child | Simple Product |
Notice that Parent rows have an empty "Type" column - this is expected. The module uses Parents only for data inheritance (the Color attribute), not for creating products.
Step 5: Create Magento Products
Create products in the correct order:
Automatic Creation
If Auto create new products is enabled in Automation settings:
- Products are created automatically during sync
- The module handles the correct creation order
- Parent products are automatically skipped (no Magento product needed)
Manual Creation
If creating manually:
- First: Select all Child products → Update/Create Magento Products
- Second: Select all GrandParent products → Update/Create Magento Products
- Skip: Parent products - do not create them (they're data containers only)
Why this order? The configurable product (GrandParent) needs its simple products (Children) to exist first so it can link them as variants.
Tip: You can filter by "Katana Type" to easily select all Children or all GrandParents.
Verifying the Setup
After creation, verify in Magento:
Check Configurable Product
- Go to Catalog → Products
- Find your GrandParent product (e.g., "Running Shoe")
- Verify Type is "Configurable"
- Edit the product
- Go to Configurations section
- Verify all child products are linked
- Verify variation attributes (Color, Size) are shown
Check on Frontend
- Navigate to the product page
- Verify both variation dropdowns appear (e.g., Color and Size)
- Test selecting different combinations
- Verify correct SKU/price updates per selection
Common Configurations
Two Variations: Color + Size (Apparel/Footwear)
| Attribute | Type | Is Configurable |
|---|---|---|
| color | Dropdown/Swatch | Yes |
| size | Dropdown/Swatch | Yes |
Two Variations: Material + Length (Hardware)
| Attribute | Type | Is Configurable |
|---|---|---|
| material | Dropdown | Yes |
| length | Dropdown | Yes |
Two Variations: Flavor + Package Size (Food)
| Attribute | Type | Is Configurable |
|---|---|---|
| flavor | Dropdown | Yes |
| package_size | Dropdown | Yes |
Troubleshooting
Configurable product not linking children
Symptoms: GrandParent creates as configurable but has no variants
Solutions:
- Verify Children were created first (check Magento Product ID in grid)
- Check "Is Configurable" is Yes for variation attributes in the Attributes grid
- Re-run sync: Select GrandParent → Update/Create Magento Products (force)
If still not working:
-
Recreate the Magento attributes:
- Go to Katana PIM → Attributes
- Select the variation attributes
- Use mass action Update/Create Magento Attribute
- This ensures attributes are created with correct settings
-
Check debug logs for errors:
- Enable debug mode: Stores → Configuration → Katana PIM → General → Debug Mode → Yes
- Re-run the sync
- Check logs at
var/log/katanapim/debug.logandvar/log/katanapim/error.log - Look for attribute or configurable product related errors
-
Verify Magento attribute settings manually:
- Go to Stores → Attributes → Product
- Find your variation attributes (e.g.,
color,size) - Confirm Catalog Input Type for Store Owner is "Dropdown" or "Visual Swatch"
- Confirm Use in Configurable Products is set to "Yes"
- If you had to change these, re-sync the GrandParent product
Products created as Simple instead of Configurable
Symptoms: GrandParent product is Simple, not Configurable
Solutions:
- Check product has correct Katana Type = "GrandParent" in grid
- Verify GrandParentId is set on Child products in KatanaPIM
- Delete the incorrectly created Magento product
- Fix the KatanaPIM structure
- Re-sync and recreate
Missing variation attribute in dropdown
Symptoms: Only one variation shows on frontend (e.g., Color but not Size)
Solutions:
- Verify both attributes are marked "Is Configurable = Yes"
- Check Magento attribute settings (must be Dropdown type)
- Ensure Child products have values for both attributes
- Re-sync the GrandParent product
Children showing wrong GrandParent relationship
Symptoms: Products linked to wrong configurable parent
Solutions:
- Check
GrandParent IDcolumn in Products grid (enable if hidden) - Verify KatanaPIM data has correct GrandParentId values
- Delete and re-import affected products
Products Grid Columns
Enable these hidden columns for debugging configurable products:
| Column | What it shows |
|---|---|
| Parent ID | KatanaPIM Parent ID (first level parent) |
| GrandParent ID | KatanaPIM GrandParent ID (top level) |
| Katana Type | Simple, Child, Parent, or GrandParent |
| Type | Resulting Magento product type |
To enable: Click Columns button in grid toolbar → check the columns you need.
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team