I want to upload image in admin form by using my DataInterfaceFactory and DataRepositoryInterface Classes, i have create and my interfaces and and form in admin dashboard but don’t know how i apply save functionality? This is my ui component form and what is next step after this, how to […]
Magento
After upgrading Magento to 2.4.4 with PHP 8.1 and resolving most of the errors. I can’t login to the admin panel. After submitting the credentials it redirects me back to login, while I can see the URL showing admin/dashboard/key/xxxxxxx I can see the generated token key but it’s not passing. […]
I have enabled the cookie restriction mode and the bar at the bottom of the page is being overlapped by the content on the page. Has anyone ever had this before and has a solution to this? Thank You
I have a Magento 2 store and everything was ok with the default theme. Then I installed Porto theme and now I get this errors in the console and the page (especially the top menu) doesn’t load properly: The Content-Security-Policy directive 'frame-ancestors' does not support the source expression ''unsafe-inline'' Refused […]
how it is possible to keep a forward slash in the product url slug? Everytime Magento changes the “/” to “-“, but we need a fake subpath for robots.txt rules for certain products. We cant use category path mechanic, because only some products need this special urls.
I have installed everything needed for magento-2 to run on xampp on windows. php.ini is also edited properly and have enabled all the extensions needed. When I try to run the localhost/magento link i get the error in browser, 1 exception(s): Exception #0 (DomainException): The default website isn't defined. Set […]
Magento 2 i want qoute id in order crete page admin, but i got null in quote id. I’m Using MagentoCheckoutModelSession $this->checkoutSession->getQuote()->getId();
I have installed xampp and trying to install magento 2 via command line, php bin/magento setup:install --base-url="http://project.magento.com" --db-host="localhost" --db-name="magento" --db-user="magento" --db-password="asdasd" --admin-firstname="admin" --admin-lastname="admin" --admin-email="coderemail@gmail.com" --admin-user="admin" --admin-password="Admin@123456" --language="en_US" --currency="USD" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin" --search-engine=elasticsearch7 --elasticsearch-host="localhost" --elasticsearch-port=9200 and I have also enabled the libraries in php.ini, however my php.in code looks like this, […]