Hot answers tagged

1

First! confirm your store is in an local envrionment, Use below SQL to Reset Database Category data; SET FOREIGN_KEY_CHECKS = 1; TRUNCATE TABLE catalog_category_entity; TRUNCATE TABLE catalog_category_entity_datetime; TRUNCATE TABLE catalog_category_entity_decimal; TRUNCATE TABLE catalog_category_entity_int; TRUNCATE TABLE catalog_category_entity_text; ...


1

I had this issues few months back and after searching on google I found: Design Configuration Not Saving showing 404 page on sub-directory And it works fine for me. Hope this helps!


1

Im not sure why, but after executing composer update and then setup:upgrade and setup:di:compile it works again.


1

In shipping carrier class, there's a method to validate additional rules proccessAdditionalValidation, searching for that method in the code base will reveal processAdditionalValidation (less than 1 'c'). Then continue searching with that will lead collectCarrierRates So in my opinion, there will be 2 approaches for this: Extend the current Carrier, add ...


1

I haven't done something similar but as I checked the code right now, you can create an after Plugin for this method \Magento\Shipping\Model\CarrierFactory::createIfActive or also this method \Magento\Shipping\Model\Shipping::isShippingCarrierAvailable, there you can add your validation and return true or false for the shipping method you allow or not. ...


1

First create a Import Button in your Ui-component File vendor_name\module_name\view\adminhtml\ui_component uiComponenetFileName.xml <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Ui/etc/ui_configuration.xsd&...


1

I think the best way to do this is to edit this before it gets to the model and the collection. My suggestion is to create an observer on the controller_action_predispatch_catalogsearch_result_index event: in your module, in etc/frontend/events.xml file, add: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...


1

The issue has been fixed, but the commit has not been merged yet. You can see the changes you need to make here: https://github.com/magento/magento2/pull/30515/commits/40df5c84d1a91c1a0892a70de1b27edb087c2fd5 Further, I discovered the darnest thing today... some magento errors will only appear in view-source in the browser. Right click on view source on your ...


1

I think adding the translation with a language pack should do the trick + changing the language on the admin store to be the one you need.


1

Create a module. Add a preference for class \Magento\Catalog\Block\Adminhtml\Category\Tab\Product in etc/adminhtml/di.xml: <preference for="Magento\Catalog\Block\Adminhtml\Category\Tab\Product" type="[Vendor]\[Module]\Block\Adminhtml\Category\Tab\Product"/> Set 100 as setDefaultLimit in _construct() function. ...


1

Create The New Smpt Detail in Aws Instance and used it the aws provide you that service in just 2$ .


1

This error occurs due to Magento 2’s security system. Magento 2 will temporarily disable accounts that do not meet it’s password complexity requirements. SET @salt = MD5(UNIX_TIMESTAMP()); UPDATE admin_user SET password = CONCAT(SHA2(CONCAT(@salt, 'NewP@ssword'), 256), ':', @salt, ':1') WHERE username = 'adminusername'; For more details - https://www....


Only top voted, non community-wiki answers of a minimum length are eligible