Open levelzero-magento opened 3 years ago
Hi,
If you're getting only headers, that means that the script does not detect any a
$categories = Mage::getModel('catalog/category')->getCollection();
This is probably returning an empty collection.
Could you please add this just after the above line?
var_dump($categories->getSize());
This way you'll see if you have any categories. It's a pretty straight forward command. It should return a value...
Missatge de levelzerohost @.***> del dia dc., 14 de jul. 2021 a les 13:07:
Hi, M1 script for export categories in .csv file export only headers ...
https://gist.github.com/paugnu/2c680ea9f452a5b671e8d3c0f35ca34f paugnu/exportCategoriesCsv.php
what am I doing wrong?
Tanks Pau
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/catgento/magento-2-category-importer/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD3UGNVUIZEFASACMG5JZDTXVVXRANCNFSM5ALHIODA .
-- Pau Iranzo www.yogalacant.com https://www.facebook.com/yogalacant/ https://twitter.com/yogalacant
Hi, M1 script for export categories in .csv file export only headers ...
https://gist.github.com/paugnu/2c680ea9f452a5b671e8d3c0f35ca34f paugnu/exportCategoriesCsv.php
what am I doing wrong?
Tanks Pau