Skip to content

magento man

Select items in multiselect on Product form in adminhtml

On the Product edit form in adminhtml, I have added a multiselect field by overwriting the modifyMeta() method on MagentoCatalogUiDataProviderProductFormModifierAbstractModifier as so: <?php namespace DotancohenFoobarUiDataProviderProductFormModifier; use MagentoCatalogUiDataProviderProductFormModifierAbstractModifier; use MagentoUiComponentFormElementInput; use MagentoUiComponentFormElementSelect; use MagentoUiComponentFormFieldset; use MagentoUiComponentFormElementDataTypeText; use MagentoUiComponentFormField; use MagentoUiComponentFormElementMultiSelect; class… Read More »Select items in multiselect on Product form in adminhtml

can not create db_schema_whitelist.json file in magento 2.4.4

I have issue to create custom mysql table from xml schema. i have create app/code/Vendor_Name/Module_Name/etc/db_schema.xml db_schema.xml <?xml version=”1.0″?> <schema xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd”> <table name=”test_table” resource=”default” engine=”innodb” comment=”Test blog table”> <column xsi:type=”int” name=”entity_id” unsigned=”true” nullable=”false” identity=”true” comment=”Entity ID”/> <column xsi:type=”varchar” name=”title” length=”70″… Read More »can not create db_schema_whitelist.json file in magento 2.4.4