Tag: magento2
-
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
-
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…
-
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
-
How to remove sign in popup from Magento 2 checkout page?
Magento2 has this authentication pop up on checkout page, which many store owners wont like to see on their checkout page. Background of this pop up area and Related files The pop up itself is generated by Magento_Customer::account/authentication-popup.phtml But this pop up works very differently on checkout page. In fact this is a separate pop…
-
How to show correct item count in Magento 2 Checkout Order summary?
By default, app/design/Magento/Checkout/view/frontend/web/template/summary/cart-items.html file is being usedOr vendor/magento/module-checkout/view/frontend/web/template/summary/cart-items.html To overload this file, create file cart-items.html in your theme folder. Make sure you place the file in Magento_Checkout/web/template/summary/ Edit the line And replace it with Reference Files: https://github.com/magento/magento2/blob/2.2/app/code/Magento/Checkout/view/frontend/web/template/summary/cart-items.html https://github.com/magento/magento2/blob/2.2/app/code/Magento/Checkout/view/frontend/web/js/view/summary/cart-items.js
-
How to dump all options for any attribute in Magento 2 programmatically?
The following code does not adhere to Magento’s developer recommendations. Using object manager in such a way externally is a TERRIBLE idea. Comment out line number 2 and then run the script. Edit line 11 and put the attribute code you want to dump
-
How to customize Magento 2 Maintenance mode page?
Edit the file pub/errors/default/503.phtml and put the following code
-
How to hide a specific category from Google Index in Magento 2?
In Magento Admin Panel, Go to Catalog in Left Menu > CategoriesSelect the category you want to edit and in Design Section > Layout Update XML, put this value: Save the category and then Clear the cache
-
Fix Magento 2 – php cli error on cpanel or other hostings
The problem: On a fresh install of Magento2 on cpanel based hosting, you receive the following error while running any command on SSH The Solution: You have to point php to correct binary;Use the following code in order:First, open the file which can alter the runtime variables like .bash_profile or .bashrc Go to last line…