Jump to content

[Résolu] Problème d'importation au niveau des catégories


Recommended Posts

Un petit UP..

 

J'ai vraiment besoin de régler ce problème

Edit : Le problème a été résolu.

 

Voici la solution : 

 

Après les lignes suivantes (~ lignes 1045) :

AdminImportController::setEntityDefaultValues($product);
AdminImportController::arrayWalk($info, array('AdminImportController', 'fillInfo'), $product);


Placé ce code-ci :
if(!count($product->category)) {
$product->category= array();
$product->category= explode(',', $info['category']);
foreach ($product->category as $key => $value)
$product->category[$key] = trim($value);
}

Edited by parfumonsnous (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...