After the installation of the Martfury Magento theme on my server, we attempted to make changes to these two files but were unable to locate them within the theme directory. I found these files in, /pub/static/frontend/MageBig/martfury_layout01/en_US/css/styles-m.css /pub/static/frontend/MageBig/martfury_layout01/en_US/css/styles-l.css Unfortunately, the modifications made to these files have not been successfully reflected on […]
Magento1
I am struggling in figuring out how to filter a drop down address field at checkout based on the selection of another one. We have created an address table containing region, city and post code. We want the customer to choose only the ones available in our table. We got […]
This method is calling at checkout step but with plugin using after method it’s not calling, core method is calling. etc/di.xml <type name="MagentoCheckoutModelPaymentInformationManagement"> <plugin name="k365_payemnt_management_plugin" type="K365CheckoutPluginModelPaymentInfoManagement" /> </type> PaymentInfoManagement.php <?php namespace K365CheckoutPluginModel; use MagentoCheckoutModelPaymentInformationManagement; class PaymentInfoManagement { public function afterSavePaymentInformationAndPlaceOrder( PaymentInformationManagement $subject, $result, $cartId, MagentoQuoteApiDataPaymentInterface $paymentMethod, MagentoQuoteApiDataAddressInterface $billingAddress = null […]
So I am overriding collect() using etc/sales.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Sales:etc/sales.xsd"> <section name="quote"> <group name="totals"> <item name="somediscount" instance="VendorModuleModelTotalQuoteTotalsWithBonusProducts" sort_order="480"/> </group> </section> </config> Having placed an order, from the success page, I immediately go to a category page and add a product to the cart, effectively starting a new order/cart. […]
I would like to increase my development productivity. Is it possible to add breakpoints in Magento 2 server files in Visual Studio? Because there is a plugin called XDEBUG in VS code. I installed it but I do not know how to connect and debug my Magento 2 instance ? […]
I have magento 2.4.5 and my own dedicated server with elastic search installed. my catalogue page takes forever to load (16 sec). I have 18K products. Magento profiler shows me: TEMPLATE:/var/www/magento2/app/design/frontend/mytheme/mytheme/Magento_Catalog/templates/product/list/toolbar.phtml. with a 14.405653s time · EAV:load_collection 0.679354 · load_entities 0.571876 · set_orig_data 0.010517 · after_load 0.096795 There is nothing […]
In var/log both in exception.log and in system.log I have this type of error that I don’t know what is due and I have no idea how to debug it, can someone give me clarification on what is due and possibly how to fix it. main.ERROR: Warning: stripos(): needle is […]
I have created the custom graphql in magento 2.4.4 and working fine.Response looking like below { "data": { "showDetails": [] } } but i need the response structure like below { "results": { "showDetails": [] } } How can we replace "data" with "results" in response.?