I am using Redis cache for session storage in my Magento 2.4.3-p2 based store. The app/etc/env.php setting looks like 'session' => [ 'save' => 'redis', 'redis' => [ 'host' => '<private-ip>', 'port' => '6380', 'password' => '', 'timeout' => '5', 'persistent_identifier' => '', 'database' => '2', 'compression_threshold' => '2048', 'compression_library' […]
Magento
Currently, I am not getting the out-of-stock products from the configurable product on the product page (product/view controller). File : <?php /** * Product view controller */ namespace MagentoProductRedirectionControllerIndex; use MagentoCatalogApiProductRepositoryInterface; use MagentoCatalogModelDesign; use MagentoFrameworkAppActionHttpPostActionInterface as HttpPostActionInterface; use MagentoFrameworkAppActionHttpGetActionInterface as HttpGetActionInterface; use MagentoFrameworkAppActionContext; use MagentoFrameworkAppObjectManager; use MagentoFrameworkControllerResultForward; use MagentoFrameworkControllerResultForwardFactory; use […]
I installed magento2 with LEMP (nginx + php8.1-fpm) magento root: /var/www/html/ I am trying to add a seperate folder and execute a phpfile inside this folder in magento root: /var/www/html/mynewfolder but when i try to open https://example.com/myfolder/connect.php i am having : 404 error: Page not found. what should i do?
I have a CMS-created page where I used the “Insert Widget” option to insert a static block into the textarea field, which ended up as: {{widget type="MagentoCmsBlockWidgetBlock" template="widget/static_block/default.phtml" block_id="78"}} When I save and reload the the front-end page, it renders as the above code instead of the block (which is […]
I get “The value specified in the URL Key field would generate a URL that already exists.” but I checked the table “url_rewrite” and there is no entry with that key. The URL is “verbrauchscalculator“. If I call the URL in the browser, then a page opens. There is also […]
I am having a huge problem with my Magento 2.2. and I’d like to ask for your help. Frontend works perfectly, customers can login too. I am unable to login to the Admin Panel. I can type the login details but after that I get this error message: I made […]
Is there a way to make a custom catalog rule condition in magento 2 because adobe’s documentation is not helpful at all. I created an after plugin and successfully added the condition but when I save the rule magento throws an error that the rule cannot be saved because I […]
I have developed a custom module for displaying a contact form. On form submission, I am sending an email and redirecting back to the same page with a success message. The message was showing until I integrated a Google recaptcha as described here https://magently.com/blog/recaptcha-in-magento-custom-form/. After that the message is not […]