Jump to content

Importar available_date por csv


Recommended Posts

Hola,

 

Estoy usando version 1.5.5 y necesito importar por csv el campo available_date ( Fecha de disponibilidad).

Por defecto no sale en la lista/campos importables.

Alguien sabe algun parche para modificarlo, o me puede indicar como modificar el Adminimportcontroller para que lo acepte?

 

gracias

Link to comment
Share on other sites

Hola,

 

AdminImportController.php

 

add

                    'available_date' => array('label' => $this->l('Product available date')),

to

            case $this->entities[$this->l('Products')]:
                self::$validators['image'] = array(
                    'AdminImportController',
                    'split'
                );

                $this->available_fields = array(
                    'available_date' => array('label' => $this->l('Product available date')),

products_import.csv

Product available date

2013-11-12

Edited by indesign (see edit history)
  • Like 1
Link to comment
Share on other sites

Hola, gracias por la respuesta pero da el siguiente error:

 

Property Product->available_date is not valid

 

a que te refieres con:

products_import.csv

Product available date

2013-11-12

 

He estado mirando, ahora ya no da error, me importa correctamente, pero no actualiza la fecha

 

gracias

Edited by scvic (see edit history)
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...