skip to Main Content

Magento 2 Custom drop down attribute added options not shown

I created a new Product drop-down attribute (Typ) programmatically : $eavSetupFactory->addAttribute( Product::ENTITY, $name, [ 'type' => 'int', 'label' => $name, 'input' => 'select', 'required' => true, 'backend' => 'MagentoEavModelEntityAttributeBackendArrayBackend', 'global' => ScopedAttributeInterface::SCOPE_STORE, 'visible' => true, 'searchable' => true, 'filterable' =>…

VIEW QUESTION

Magento2 setValue() of a text field in System.xml

I've created a configuration screen for my Magento2 module, on this file (System.xml) I've an input text field like following: <field id="postback_url" type="text"...> <backend_model>VendornameModulenameModelConfigSourceConfigs<backend_model> </field> I need to insert a default value. This value will the BaseUrl + /some-endpoint How…

VIEW QUESTION

Magento2 Settings

When I toggle Client Side Less Compilation and save it on a Magento 2.2.2 site, it throws the following error: 500 internal server error This is the log: [Fri Jul 27 13:13:36.324051 2018] [:error] [pid 20125] [client 5.255.250.135:46655] PHP Fatal…

VIEW QUESTION
Back To Top
Search