i am using magento version 2.2.3 . when I want to save new category in other language from English I get invalid URL key error . this is my log in var folder of magento project Invalid URL key {“exception”:”[object] (MagentoFrameworkExceptionLocalizedException(code: 0): Invalid URL key at E:wamp64wwwmagentovendormagentomodule-catalog-url-rewriteObserverCategoryUrlPathAutogeneratorObserver.php:61)”} [] how to […]
Magento1
A retail sells their products on their Magento Commerce site and in physical stores, they want to give customers the ability to purchase and use gift cards online or in-store, including cards which have already been sold through both channels. Their in-store point-of-sale (POS) has built-in gift card capabilities and […]
A merchant would like a promotional content block on the cart which changes by customer segment. the content should only appear when you cart total is $50 or more excluding shipping What solution will meet the requirement? Create a widget with a static block assign to a customer price rule. […]
Deprecated: Method ReflectionParameter::getClass() is deprecated in C:xampphtdocsmagento2.3.3vendormagentoframeworkCodeReaderClassReader.php on line 29
After a lot of struggle , I could finally install Magento 2.3.5 p2 but now when I try to login to magento admin , it shows me the error message given below : Exception #0 (MagentoFrameworkExceptionInputException): Please correct the target currency. Please help me resolve this issue as I tried […]
I have tried to install magento 2.4 using below commands composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition m24 bin/magento setup:install --backend-frontname="admin" --db-host="localhost" --db-name="m24" --db-user="root" --db-password="password" --language="en_US" --currency="GBP" --timezone="Europe/London" --use-rewrites=1 --use-secure=0 --base-url="http://localhost/magento/m24/" --base-url-secure="https://localhost/magento/m24/" --admin-user=admin --admin-password=admin@111 --admin-email=any@any.com --admin-firstname=admin --admin-lastname=admin --cleanup-database It installed but when i visit http://localhost/magento/m24/ it shows 404 not found On http://localhost/magento/m24/pub/ it […]
I’m trying to get the current category id (the id of the category I’m browsing on frontend). public function __construct( Context $context, Resolver $layerResolver, PsrLogLoggerInterface $logger, array $data = [] ) { parent::__construct($context, $data); $this->layerResolver = $layerResolver; $this->logger = $logger; } public function getCurrentCategory() { return $this->layerResolver->get()->getCurrentCategory(); } public function […]
I call for your help to solve a big problem on my Magento 2 site. Every night this one crashes due to a memory problem. Putting a memory limit at -1 is not the solution in my case otherwise it bugged my entire server after 48 hours. Here are the […]