Merge branch 'ticket-14698-sensefuel' into develop

This commit is contained in:
Michael RICOIS 2017-11-28 10:34:11 +01:00
commit 7c54192b46

View File

@ -78,8 +78,8 @@ class SenseFuelFluxExport
$this->hydrateProductCategories($language);
//echo 'Getting brands' . "\n";
//$this->hydrateProductBrands();
echo 'Getting menu tags' . "\n";
$this->hydrateTagCategories($language);
//echo 'Getting menu tags' . "\n";
//$this->hydrateTagCategories($language);
echo "Getting family\n";
$this->hydrateProductFamily($language);
echo 'Getting availability' . "\n";
@ -478,7 +478,7 @@ class SenseFuelFluxExport
if (isset($currentProduct['classic_categories'])) {
// Bebeboutik : brand
$firstKey = key($currentProduct['classic_categories']);
if ($key !== null) {
if ($firstKey !== null) {
$this->addContentLine($currentProduct['classic_categories'][$firstKey], 'g:brand');
}
foreach ($currentProduct['classic_categories'] as $depth => $name) {