Category: Magento
-
How to speed up slow Magento indexer process? Maria DB 10.4
Category Products index taking too much time? bin/magento index:reset bin/magento index:reindex Stuck at category products index … Here is the solution if you are using MariaDB 10.4 You need to update options/parameters for your db. If using RDS, edit “DB instance parameter group” that you are using and update these 2 values: After these changes,…
-
Condition types for addAttributeToFilter in Magento2 Collections
-
How to fix Magento2 apis not working? fix coupon apis and other PUT OPTIONS APIs
The issue is actually related to your server’s configuration. By default all types of requests are not allowed. Please add the following to your .htaccess file
-
How to fix Invalid template file error in Magento2 after version upgrade?
This is a very common issue you will face if you using windows machine for development. Usual error message is: So whats the solution? In case of windows, just replace this function isPathInDirectories in vendor/magento/framework/view/element/template/file/validator.php Reference: https://magento.stackexchange.com/a/255585/32283
-
How to update customer password in Magento 2 database?
Please note that if SPJ9WIp7 is the salt and User’s password is 7qLzX33ETxYE, the following will be your query: 7615 is the customer id
-
Installing a testing instance for Magento CLI only
Prerequisite: Magento repo access keys Mysql Database, username and password a domain name pointing to a server if you dont have access key, get a pair here : https://marketplace.magento.com/customer/accessKeys/ In the above command, you can change version/subversion of magento repo. You can also change the install directory After the successful run of above command: YOu…
-
How to migrate Customers from Magento2 to WordPress?
Lets break it into 2 parts: a. Migrate Customer datab. Migrate Customer Passwords 1) Migrate Customer Data from Magento2 to WordPress This is rather easy to be honest, there are several plugins for importing data from CSV and then mapping the CSV fields. My recommended plugin is Customer/Order/Coupon CSV Import Suite by SkyVerge It basically…
-
Convert dropdown attribute to text swatch in Magento2 Admin Panel
Run the following code in console:
-
How to change attribute dropdown type to multi-select in Magento 2?
Short Answer: Not possible via Magento2 Admin Backend. Solution: You need to update eav_attribute table and edit information about backend_source, frontend_input etc. Simple query for that is: Replace YOUR_ATTRIBUTE_ID_INTEGER with your attribute_id like 355 Reference: https://stackoverflow.com/a/57701845/2229148