On the backend login page and within the backend itself the following files from https://store.example/static/adminhtml/Magento/backend/en_US/ are not being found (404): jquery.min.js, js/theme.min.js, mage/backend/bootstrap.min.js, mage/adminhtml/globals.min.js, Magento_Catalog/catalog/product.min.js, Magento_Translation/js/mage-translation-dictionary.min.js, underscore.min.js, mage/backend/tabs.min.js, and mage/adminhtml/grid.min.js. The .min.js files do indeed not exist within pub/static/adminhtml, but their .js counterparts do. All static files in the frontend […]
Magento
is there any way to reload the payment Methods when change Address field. for example if the customer change the Region i want the payment methods to reloaded. as we want to make COD not working in Alaska. “Hide COD when select Alaska”.
I upgraded from Magento 2.3.4 to 2.4.3-p3. But I cannot see products and categories. here is composer.json { "name": "magento/project-community-edition", "description": "eCommerce Platform for Growth (Community Edition)", "type": "project", "license": [ "OSL-3.0", "AFL-3.0" ], "config": { "preferred-install": "dist", "sort-packages": true, "allow-plugins": { "magento/magento-composer-installer": true, "magento/inventory-composer-installer": true, "dealerdirect/phpcodesniffer-composer-installer": true, "laminas/laminas-dependency-plugin": true, […]
I would like to change the variable – $validate to false from before the plugin. May I know how to do it? app/code/MyModule/ReviewCheck/Plugin/ReviewModel.php <?php namespace MyModuleReviewCheckPlugin; use MagentoFrameworkMessageManagerInterface as MessageManagerInterface; class ReviewModel { protected $messageManager; protected $request; public function __construct( MessageManagerInterface $messageManager, MagentoFrameworkAppRequestHttp $request ) { $this->messageManager=$messageManager; $this->request=$request; } public […]
I have 2 columns in xml with js component, but i want display each column if condition is true, so if precio_anterior is not empty and value is different to 0 show precio_anterior column if not, show precio_suscriptor: This is my code: /app/code/Vendor/Catalog/view/frontend/ui_component/widget_recently_viewed.xml <column name="precio_suscriptor" component="Vendor_Catalog/js/product/precio_suscriptor" sortOrder="3" displayArea="details-area"> <settings> <label […]
In Magento 2 di.xml we can inject an array to a class like this: <type name="VendorModuleModelFoo"> <arguments> <argument name="data" xsi:type="array"> <item name="item1" xsi:type="string">Item 1</item> <item name="item2" xsi:type="string">Item 2</item> </argument> <arguments> </type> How can we inject the same data array to another class VendorModuleModelBar without duplicating it like this? <type name="VendorModuleModelBar"> […]
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' […]
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 […]