@@ -177,7 +177,7 @@ class ProductSolver extends AbstractService implements SolverInterface | |||
public function getNameExport(Product $product) | |||
{ | |||
$producer = GlobalParam::getCurrentProducer(); | |||
$producer = $this->getProducerContext(); | |||
if ($producer->option_export_display_product_reference | |||
&& $product->reference | |||
&& strlen($product->reference) > 0) { |