Force adding categories (product_type)

This commit is contained in:
Michael RICOIS 2017-11-21 10:23:53 +01:00
parent d593832d38
commit 6f35329b24

View File

@ -394,9 +394,15 @@ class SenseFuelFluxExport
'g:product_type');
}
}
// Bebeboutik : force categories
foreach ($currentProduct['conso_categories'] as $currentCategory) {
$this->addContentLine($currentCategory, 'g:product_type');
}
$this->addContentLine('Ventes privées', 'c:sale_type');
$this->addContentLine($currentProduct['catname'], 'c:private_sale_name');
}
print_r($currentProduct)."\n";
$this->addContentLine(round((float)$currentProduct['ecotax'], 2), 'c:eco_tax');
$this->addContentLine($currentProduct['date_start'], 'c:private_sale_start');