I read about this issue a few posts below, but what I trying to guage is what sort of information does the CVS needs to feed the import.

I see the field (fabrics) and I know I can map it...But what is the information that the CVS needs to feed? The term name or the TID? I have a CVS with both, just not sure which one should be used. Makes me thing the TID would be the one.

Any info on this one?

Comments

pcambra’s picture

Status: Active » Fixed

First, note that commerce feeds only takes care of the commerce part, that is the product entity itself (sku and properties such author) and the commerce fields, price & reference, all the rest is feeds generic module.

If you look to the taxonomy mapper of Feeds, you'll see this:

    if ($term instanceof FeedsTermElement) {
      $tid = $term->tid;
    }
    elseif (is_numeric($term)) {
      $tid = $term;
    }
    elseif (is_string($term)) {
      $tid = taxonomy_term_check_term($term, $vocabulary->vid);
    }

So if you've got the tid, use that, it will be way faster, but if you don't have it you can use the term name and taxonomy_term_check_term function will try to guess which tid you're looking for.

spanac’s picture

You should look at: Importing Products and Reference Nodes (with screencasts) by rfay. It will give you all the answers on how to use this module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.