I create custom module for add rule condition in custom module but not get condition data on edit time here i share my files vendor_module_form.xml <fieldset name="conditions_fieldset"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="label" xsi:type="string" translate="true">Conditions</item> <item name="collapsible" xsi:type="boolean">false</item> </item> </argument> <container name="conditions_serialized_container" > <argument name="data" xsi:type="array"> <item name="config" […]
Magento1
i am using this for sending email <event name="sales_order_shipment_save_after"> <observer name="sales_order_shipment_after" instance="BananCheckoutObserverSalesOrderShipmentAfter" /> </event> <event name="email_shipment_set_template_vars_before"> <observer name="Additional_Variable_For_ShipmetEmail" instance="BananCheckoutObserverAdditionalVariable"/> </event> namespace BananCheckoutObserver; use Exception; use MagentoFrameworkEventObserverInterface; use MagentoFrameworkEventObserver; use MagentoShippingModelCarrierFactory; use BananMarketplaceHelperData as MarketPlaceHelper; use BananSellerHelperData as SellerHelper; use PsrLogLoggerInterface; use MagentoFrameworkAppRequestHttp; //class for set additonal variable class AdditionalVariable implements […]
Hi I am using mageplaza OSC in my store and they have 3 custom field included in the extension for orders. I would like to convert custom field 1 (Sales Representative) to an option select field with a few fixed values (sales rep names) to choose from in the admin […]
API URL : http://website.local.com/rest/V1/rma/rma/:100000008 Method : PUT Request : { "rma": { "status":"approved", "reply": "Your Package will be ", "rma_id": 8 } } When this API is called, I need to update “status” in table1 and “reply” in table2. Even I don’t have column “Status”, I will update that by […]
I try to write a own module. After 1 week of searching I hope u can help to go on. Its a very simple admin page. module_dir: app/code/famberg/module_afterbuysync/ … Controller/Adminhtml/Settings/Index.php: <?php namespace FambergAfterbuySyncControllerAdminhtmlSettings; use MagentoBackendAppActionAction; use MagentoBackendAppActionContext; use MagentoFrameworkAppActionHttpGetActionInterface; use MagentoFrameworkViewResultPage; use MagentoFrameworkViewResultPageFactory; class Index extends Action implements HttpGetActionInterface { […]
So I have this weird behavior on the product page. When I add a product to the cart without filling in all the required information, a message should be displayed! Everything works fine, but the error message is disappearing quickly, I can barely see it. I have tried this solution […]
I am trying to install Magento 2.4.6 with elastic search, I am using the following --search-engine elasticsearch8 --elasticsearch-port 9232 --elasticsearch-index-prefix "test" but I just keep getting the error Could not validate a connection to the OpenSearch. No alive nodes found in your cluster Can anyone see what I am doing […]
Shipping Region ID is missing in checkout after upgrading from Magento 2.4.2 to Magento 2.4.5. Existing address no issue but if I am adding new address got an error. https://prnt.sc/6xWT69vefIN4
Is it possible insert not update (update is simple) image roles (base, small , thumnail) in catalog_product_entity_varchar table if in the table missing attribute row for the products images