I need to create a custom template for shipping method item view/frontend/web/template/shipping-address/shipping-method-item.html However, this template file has allready been overwritten by another module, so this method is not working. DM_Checkout/shipping-method-item The other module looks like this: vendor/quickpay/magento2/view/frontend/layout/checkout_index_index.xml QuickPay_Gateway/shipping/shipping-method-item What would be the best approach to accomplish this task?
Magento2
I don’t want to load the product to get the product type. How could I get the product type by id? Today I’m using the get product type by SKU using the interface: MagentoInventoryCatalogApiModelGetProductTypesBySkusInterface Using: $this->getProductTypeBySku->execute([$item->getSku()])
This is a regarding a Magento 2.3.3 running on Digital Ocean’s server 4GB memory droplet, which should be plenty as it is the only thing hosted on there. However, I have observed since upgrade to 2.3.3 from 2.3.0, there are some instability in memory usage which then leads to the […]
We have a custom module that executes a php script. When running the script through an observer event, the script runs without a problem. When running the script through Cron, the script runs but does not work correctly. In the script, there is reference to a file in the magento […]
I’m using Magento 2 with Moloni plugin, and I need that the invoice have the free value but if I’m not wrong when it’s free it does not send the data so it does no appear in the invoice, if I define a value it works just fine but when […]
i need to add text swatch attribute value through script. I’am able to add the attribute but swatch value is not adding. Below is the code i using – $attributeDetails = $objectManager->create('MagentoEavModelConfig')->getAttribute("catalog_product", $attributeCode); //print_r($attributeDetails->getId()); exit(); $attributeId = $attributeDetails->getId(); $languageValues[0]=$label; $languageValues[1]=$label; /* @var $attr MagentoEavModelEntityAttribute */ $attr = $objectManager->create('MagentoEavModelEntityAttribute'); $attr->load($attributeId); $option […]
How do I configure the Magento2 can do below promotion? Free shipping with coupon code: (order >= $50)? I did google some result, some ask to enable free shipping method and set min-order-amount $50. that’s not work. Coz, I don’t want to show free shipping as a shipping method selection. […]
I have been using PayPal Payflow Pro for several months now and it often takes 30 seconds for a payment to be processed. I am running Payment Action as “Sale”, Debug Mode is disabled, PayPal Credit is disabled. No errors in my log (when debug was enabled). Magento 2.3.1 Is […]