Jump to content

Custom fields in AdminImportController


Recommended Posts

I would like to add custom fields to CSV import. I added column real_name, varchar 168, MUL

I added to $this->available_fields 

'real_name' => array('label' => $this->l(' Real name')),

and later

            if (isset($product->real_name))
            {
                $product->real_name = $product->real_name;
            }

On import it succeeded (tried to show value as "error"), but in database is NULL

But I think, I should add some entry to Product class? Ty for advices

Link to comment
Share on other sites

×
×
  • Create New...