Jump to content

1.7.6.7 New import field multilanguage


jega

Recommended Posts

Hi,

Presta 1.7.6.7

I have a additional product object (called 'condition_extra') which exists in 3 languages.

 

Now I have a problem:

I made a new column 'condition_extra' in the import document. When importing in a language the other languages are overwritten in the column ps_product_lang.

 

What I did:

a. Add a new column in ps_product_lang called 'condition_extra'

b. I made an override in override/controllers/admin/AdminImportController.php:

I added:

about line 78:

'condition_extra' => array('AdminImportController', 'createMultiLangField'),

about line 305:

'condition_extra' => array('label' => $this->l('Zustand Zusatz')),

about line 475:

'condition_extra' => array('AdminImportController', 'createMultiLangField'),

 

Can anybody help me to solve this problems?

Thanks

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...