Magento
I am learning hyva theme for magento 2. Learning about hyva-react-checkout and Whenever I try to run any magento cli command, I get this error, Autoload error: Module 'Hyva_ReactCheckout' from '/var/www/hyva/public/vendor/hyva-themes/magento2-react-checkout/src' has been already defined in '/var/www/hyva/public/vendor/hyva-themes/magento2-hyva-checkout/src' How Do I solve this? I only installed couple of packages relating to […]
I have this demo Magento 2 store (ver. 2.4.4) built on a Debian server and for some reason I’m not receiving emails after I make an order. In Stores > Configuration > Sales > Sales Emails I have this: My /etc/postfix/main.cf file: I didn’t even receive an email when I […]
We have a staging site which starts with magento2. I did recently dump the Magento DB from the live site into that of dev site because of which all links on the staging site redirect to the live site. I used to run the following SQL in the past to […]
Despite being enabled “Allow Gift Messages on Order Level”, it doesn’t show up in the edit cart page. Tried clearing cache, but it didn’t help.
With upgrade to Magento 2.4.4, I’m using checkout_onepage_controller_success_action to get order information that I insert into a custom table that I created in Magento. We’re allowing customers to enter gift message only in the cart page which means it is allowed at order level but not at the item level. […]
From stripe sdk I am able to create payment id successfully but when call api to create order in magento2 then getting authentication error. I am calling below API http://localhost/xxx/rest/default/V1/carts/mine/payment-information with below body { "paymentMethod": { "method": "stripe_payments", "additional_data": { "cc_stripejs_token": "pm_1LqgYeSIs8FpUNNkeMFrz05K" } }, "billing_address": { "email": "abc@gmail.com", "region": "New […]
I’m trying to use jquery in an adminhtml js file…but it seems not to be working and can’t get to understand why…any help would be appreciated ! Layout is like <head> <script src="Vendor_Module::js/logger.js"/> </head> Js file is like define([ 'jquery' ], function ($) { 'use strict'; }); But this throw […]
When I run “composer install or “composer update” command from my magento 2.4.5 root folder I am getting this error. - Installing laminas/laminas-dependency-plugin (2.4.0): Extracting archive PHP Fatal error: Uncaught Error: Class "MagentoFrameworkComponentComponentRegistrar" not found in /public_html/setup/src/Magento/Setup/registration.php:9 Stack trace: #0 /public_html/app/etc/NonComposerComponentRegistration.php(29): require_once() #1 [internal function]: MagentoNonComposerComponentRegistration{closure}() #2 /public_html/app/etc/NonComposerComponentRegistration.php(31): array_map() #3 […]