Tzu ng
Tzu ng

Reputation: 9244

magento - import configurable product with magmi

Before posting this question, I've tried ways to make this work but it doesn't.

This is the csv structure:

|model - map to sku
|name
|price
|category - map to categories
|loc
|image - use image plugin - works fine
|description
|weight
|option_type
|option_value
|suggested_retail
|special_handling
|manufacturer
|manufacturer_code
|packaging
|in_stock
|last_updated
|active
|visibility : default mapper plugin, value: 'Catalog, Search'
|configurable_attributes : default mapper plugin, value: 'manufacturer,color'

example csv file: http://pastebin.com/kRW2vQrY.

All simple products are imported fine but the configurable ones don't. I already activate the configurable items with these settings:

Perform simples/configurable link Yes
auto match simples skus before configurable Yes
Force simples visibility No

I want to know why it doesn't work and solution for this problem ? Thanks for reading :)

Upvotes: 2

Views: 5499

Answers (2)

IanP
IanP

Reputation: 11

As I understand the automatic mapping, it is based on the attributes you specify for configurable_attributes (in your case manufacturer,colour). However, your csv structure does not seem to include values for the colour attribute

Upvotes: 1

Tzu ng
Tzu ng

Reputation: 9244

Since I solve the problem by writing my own parser to map some specifics column from original csv to magmi's csv structure. And I also create another file for configurable product with new two columns :

  type : 'configurable'
  simples_skus: list of simple skus

Thanks for reading and discussing :)

Upvotes: 1

Related Questions