Attribute Mapping for Magento 2
How to map KatanaPIM attributes to Magento attributes in KatanaPIM Connect. Proper attribute mapping is essential for correct product data synchronization.
Overview
Attribute mapping connects PIM attributes to Magento attributes. There are two levels of mapping:
- Core field mapping - In configuration (Name, Description, GTIN, etc.)
- Custom attribute mapping - In the Attributes grid (inline editing)
Core Field Mapping
Configure in Stores → Configuration → Katana PIM → Product Data → Attributes.
These map KatanaPIM attributes to Magento's built-in product fields:
| Magento Field | What to Map |
|---|---|
| Name | Product title attribute from PIM |
| Short Description | Brief product description |
| Description | Full product description (can be HTML) |
| GTIN | EAN/UPC/ISBN barcode |
| MPN | Manufacturer Part Number |
| Meta Title | SEO page title |
| Meta Description | SEO meta description |
| Meta Keywords | SEO keywords |
| Attachments | Product documents/PDFs |
Select the corresponding KatanaPIM attribute from the dropdown for each field.
Custom Attribute Mapping
For all other attributes, use the Attributes grid at Katana PIM → Attributes.
Step 1: Import Attributes
- Go to Katana PIM → Attributes
- Click Import Attributes button
- Wait for all PIM attributes to be imported
- The grid shows all available KatanaPIM attributes
Step 2: Map Attributes Using Inline Edit
For each attribute you want to sync:
- Find the attribute in the grid
- Click on the Magento Attribute Code cell
- Select an existing Magento attribute OR select "Create New"
- Click elsewhere to save
Step 3: Set Configurable Attributes
For attributes used in configurable products (like Size, Color):
- Find the attribute in the grid
- Click on Is Configurable cell
- Set to Yes
- Click elsewhere to save
Configurable attributes must be set before creating configurable products.
Step 4: Skip Unwanted Attributes
For attributes you don't want to sync:
- Select the attributes using checkboxes
- Use mass action Mark Attributes as Skipped
Attribute Types
The module handles different PIM attribute types:
| PIM Type | Magento Type |
|---|---|
| Text | Text Field |
| Textarea | Text Area |
| Select | Dropdown |
| Multiselect | Multiple Select |
| Boolean | Yes/No |
| Date | Date |
| Price | Price |
When creating new Magento attributes, the correct type is determined automatically.
Auto-Created Attributes
When you select "Create New" in the mapping, the module creates a new Magento attribute:
- Attribute code:
katanapim_+ original code - Label: From PIM attribute name
- Type: Based on PIM attribute type
- Scope: Global
- Visible on frontend: No (can be changed later)
You can modify these attributes in Stores → Attributes → Product after creation.
Mapping to Existing Attributes
To map to an existing Magento attribute:
- The attribute must exist in Magento first
- Select it from the dropdown in the Attributes grid
- Ensure attribute types are compatible
Common existing attributes:
brand- For manufacturer/brandcolor- For color variantssize- For size variantsweight- For shipping weightmanufacturer- For manufacturer name
Attribute Sets
Imported products use the Default attribute set. To use custom attribute sets:
- Create attribute sets in Stores → Attribute Sets
- Add your mapped attributes to the sets
- Products will inherit attributes from their assigned set
Best Practices
Do's:
- ✅ Map all essential attributes before first product sync
- ✅ Set "Is Configurable" for variant attributes early
- ✅ Use existing Magento attributes when possible
- ✅ Skip attributes you don't need to reduce sync time
- ✅ Review attribute mapping after PIM changes
Don'ts:
- ❌ Change mappings after products are created (causes data issues)
- ❌ Map multiple PIM attributes to the same Magento attribute
- ❌ Forget to set configurable flag for variant attributes
- ❌ Create duplicate Magento attributes
Troubleshooting Mapping Issues
Attribute not showing in dropdown
- Run Import Attributes to refresh the list
- Check if the attribute exists in your PIM channel
- Verify API connection is working
Attribute values not syncing
- Confirm the attribute is mapped (not set to "-- Not Mapped --")
- Check if the attribute is marked as "Skipped"
- Verify the PIM product has a value for that attribute
- For select attributes, ensure option values match
Configurable products not creating
- Verify "Is Configurable" is set to Yes for variant attributes
- Ensure parent/child relationships exist in PIM
- Check the Sync Log for specific errors
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team