I wish to export all the attribute and its options in magento 2 via script. Please provide me a solution, How to export attributes and its options
-
2have a look at github.com/BssGroup/magento-2-custom-product-attribute-export– nicolalliasCommented Jun 1, 2018 at 15:32
-
If you can adapt this magento.stackexchange.com/questions/11520/… to magento2 (there is also a lot of links to read)– nicolalliasCommented Jun 1, 2018 at 15:38
1 Answer
I was looking for the same thing and came here. The comment of nicolallias was actually helpful and solved my problem.
I Download and instaled this module https://github.com/BssGroup/magento-2-custom-product-attribute-export
After installing the extension, go to Store ⇒ Configuration ⇒ BSS Extension ⇒ Product Export Column and in"Allowed Attributes", a list of all custom attribute will be shown. Admins can choose all or specific attributes which will be in separate columns while exporting products.
You can export the products as CSV from System-> Data Transfer -> Export.
Read this for more details.. https://bsscommerce.com/blog/how-to-export-custom-product-attributes-in-magento-2/