Hello I´ve made my own module for magento backend for a new attribute set module from the menu just like the one magento uses, but I don´t know how to get the list for the attribute sets to print it, in order for it to appear, when someone enters the module.

I used this tutorial to create the new module Creating a Magento admin page tutorial.

But when I try to call the block from magneto, in the xml to get the attribute sets list and print it, I get an empty search.

(in layout) <block class="Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Toolbar\Main" name="adminhtml.catalog.product.set.container"/>

So im lost into how to make this work with the same structure from the example in the turotial.

File structure enter image description here

I´ve tried these, to no success How to get all attribute set list Magento 2? How do I get attribute set name?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.