Tag: Magento 2
-
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…
-
Magento 2 cli commands [continued]
1. Setting GD2 as defualt image adapter from command line Magento >= 2.2 Magento >= 2.2 2. Disable Minify CSS Files option from command line Magento >= 2.2 Magento < 2.2 3. Disable Merge CSS Files option from command line Magento < 2.2
-
How to install theme in Magento 2
Download the theme and copy the app folder and paste it in your magento root directory Open Shell, in the root directory, enter php bin/magento setup:upgrade . This will upgrade all the magento files. 2. Also, Clear cache ,type php bin/magento cache:clean . 3. Now force deploy the static files by typing php bin/magento setup:static-content:deploy -f . It will take a while. 4. Now,…
-
Magento File Directory
/app The etc folder contains the di.xml configuration file The di.xml file contains class mapping and interface preferences Contains the design folder for themes. /bin The directory contains the magento file or a Command Line Interface script /dev Magento 2 testing and development tools are placed in this folder. /lib The internal and web subfolders…
-
[SOLVED] Magento 2 Error: A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later.
Sometimes debugging on Magento can be annoying, specially if something just arises out of the blue, not while you are actually writing a code. This is something that occurs on Magento admin panel. As of now, it can be one out of 3 reasons, let us discuss them: 1. Admin Password Try to change admin…
-
Magento 2 : How to fix tablespace for table exists | base table or view already exists
Fixing General error: 1813 Tablespace for table xx Please DISCARD the tablespace before IMPORT and SQLSTATE[42S01]: Base table or view already exists Recently I encountered this error while upgrading an extension on Magento 2.2.2 The error was When I tried to fix the above error, I received: So here is how to fix it: Important…
-
Magento 2 how to show configurable options stock availability on product page
addtocart.phtml Another important file is Magento_ConfigurableProduct/web/js/configurable.js modified function _getSimpleProductId and added function _dofichoo
-
Magento 2 temporary fix for Alphabetical sorting of Configurable product options
Just re-write the file vendor/magento/module-configurable-product/Model/ConfigurableAttributeData.php
-
How to update Magento community edition using CLI
if you receive any errors post installation, try this hard fix
-
How to add custom attributes in Magento 2 product CSV export
Core Method is to edit the file /vendor/magento/module-catalog-import-export/Model/Export/Product.php and Edit the variable $_exportMainAttrCodes Add your attributes in the array like “custom1″,”custom2”, etc and save the file. Next time you export the csv, you will see new columns in the file.