Find out if an attribute is set with setCustomAttribute() or not
I am really pulling out my hair. I have a function to return all product attributes in my Magento 2 Module: public function getAllProductAttributes(): array { $attributes = []; $collection = $this->attributeCollectionFactory->create(); foreach ($collection as $attribute) { $attributes[$attribute->getAttributeCode()] = $attribute;… Read More »Find out if an attribute is set with setCustomAttribute() or not