Skip to content

magento man

How to pass value of custom dynamicRows select field in category_form.xml

I want to save the data in of a custom dynamicrows field. which i added on admin category page. my custom_form.xml: <?xml version=”1.0″?> <form xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Ui:etc/ui_configuration.xsd”> <fieldset name=”general”> <dynamicRows name=”dynamic_rows”> <settings> <addButtonLabel translate=”true”>Add Record</addButtonLabel> <additionalClasses> <class name=”admin__field-wide”>true</class> </additionalClasses> <componentType>dynamicRows</componentType> </settings>… Read More »How to pass value of custom dynamicRows select field in category_form.xml

how to save data to my custom column in customer_address_entity

i have made custom column called coord in customer_address_entity using db_schema.xml <!– add coordinate to customer address entity –> <table name=”customer_address_entity” resource=”default” engine=”innodb” comment=”Customer Address Entity”> <column xsi:type=”text” name=”coord” nullable=”true” comment=”Coordinate”/> </table> to save the data i make an observer… Read More »how to save data to my custom column in customer_address_entity

Magento2.4.4 override class not working on windows

This is my di.xml: <preferencefor=”MagentoCustomerSegmentControllerAdminhtmlIndexSave” type=”MyModuleCustomerSegmentControllerAdminhtmlIndexSave”/> <preferencefor=”MagentoCustomerSegmentModelSegmentConditionCombine” type=”MyModuleCustomerSegmentModelSegmentConditionCombine” /> When I execute bin/magento setup:di:compile,I didn’t find code in generated files. But first preference is executed.This is generated fidle in customerSegment: