I want to add Installed version of current extension/module in admin menu like below screenshot. https://i.imgur.com/0P7QZSA.png Note: For creating menus in m2 admin, I am using following code from /etc/adminhtml/menu.xml file. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd"> <menu> <add id="My_Module::main" title="My Module" module="My_Module" sortOrder="999" parent="Magento_Backend::stores" resource="Magento_Backend::stores" /> <add id="My_Module::storeCredentials" title="Store Credentials" […]
Magento2
The code I used for my 2.4.2 Installation no longer works in my 2.4.6 Installation. It seems they deprecated HMAC-SHA1 in favour of HMAC-SHA256. requests_oauthlib doesn’t support HMAC-SHA256 as far as I can see. I can’t get anything else to work (authomatic, OAuthLib,…). Can anybody help with some code snippets […]
We use Magento 2.4.6-p3, php8.2… I want to do mass edit of products attributes in backend grid. After choosing select All – confirmation is visible saying for example: 7565 records found (7565 selected). So, I select Update attribute, do editing and click Save. Unfortunately only first in the line/grid product […]
Im trying to override the resolver by using a plugin in Magento 2 to change text. vendor/magento/module-quote/Model/CouponManagement.php – I need to change this class ApplyCouponToCart implements ResolverInterface { ... public function resolve(Field $field, $context, ResolveInfo $info, array $value = null, array $args = null) { ... /* Check current cart […]
I am trying to install magento 2.4 on my local machine. When i try to access through url it shows directory structure https://prnt.sc/1jbghbf . I found that index.php is missing in the root directory. What can be done for this? Please help me with the installation.
I tried to translate Card •••• %1 has been deleted. from StripeIntegration_Payments, but it’s not working. I assume it’s because of those bullets that should be escaped maybe, but I’m not sure. My translation: “Card •••• %1 has been deleted.”,”My translation here”,”module”,”StripeIntegration_Payments” The path is good and everything else gets […]
I’m trying to follow the guide https://developer.adobe.com/commerce/php/development/components/add-admin-grid/ to add a custom admin grid however I’m stuck in a situation where there’s no error and the spinner keeps loading forever without loading the grid. Log files system.log, debug.log, exception.log are empty Javascript console only shows this clean of errors screen Finally […]