Skip to content

export

Auto Added by WPeMatico

Issue with exporting custom column(s) to Excel XML

This a Category.php in UiComponentListingColumn in a child module public function prepareDataSource(array $dataSource) { $fieldName = $this->getData(‘name’); if (isset($dataSource[‘data’][‘items’])) { foreach ($dataSource[‘data’][‘items’] as & $item) { //print_r($item);die; if (isset($item[‘product_id’])) { $product = $this->_productloader->create()->load($item[‘product_id’]); $cats = $product->getCategoryIds(); $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $categories… Read More »Issue with exporting custom column(s) to Excel XML

Blank fields in csv product export

I’m trying to export around 6500 products through a csv file and importing it onto another e-commerce platform. However there are blank columns which is interfering with the import. Why are their blank fields?