I’m pretty new to Magento 2, so most probably I’m missing something simple here. I’ve defined a new module, and inside its etc/frontend folder I created a config.xml file with this content: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <example> <values> <shipping_method>fedex</shipping_method> <payment_method>paypal</payment_method> </values> </example> </default> </config> I’ve also created an […]
Magento1
I am doing dry runs before final migration from Magento 1.9.2.4 to 2.4.2. I have configured the migration tool so that I don’t import products, only customer data and orders. But my problem is that after I run the migration all my changes to custom attributes gets reset. The products […]
If there’s a way in Magento 2 to get the average price for a product collection. Or should I loop over the collection? Thanks
Right now we have on the address form 2 inputs: Use as My Default Billing Address and Use as My Default Shipping Address in the file edit.phtml. Is there any chances to add those 2 inputs to address book in file book.phtml? Now it’s only a button under every address […]
In Magento 2.3 we override below file and add “addAttachment” Method. But in Magento 2.4 I don’t know how to send attachment?? anyone knows?? MagentoFrameworkMailTemplateTransportBuilder
I’m trying to replace native minicart quantity field with my own ui component. I created an override of vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html. My code : <div class="details-qty qty"> <div class="field qty" data-bind="scope:'miniCartQtyUpdater', attr: {id: 'cart-item-'+item_id+'-qty'}"> <!-- ko template: getTemplate() --><!-- /ko --> <script type="text/x-magento-init"> { "*": { "Magento_Ui/js/core/app": { "components": { "miniCartQtyUpdater": { […]
I am using Magento 2.4 on AWS and I have been noticing that there are many MySQL connections in sleep, is this normal? Should I be looking into this to fix it, if yes then where can I look to fix this? This website is running one store with around […]
I have tried to read about redirecting the customer to their Associated website after they logged-in here: Login and redirect customer to his website But I am using Magento 2.4 and wonder if it can do the same?
I have Create custom CSV import functionally. But How to check which row data is blank and i want to show error like :- Required field is empty in row(s). So Please help me how to check which row is blank in import CSV. THANKS.