Home / Magento / Magento 2x (page 3)

Magento 2x

Refused to apply style because its MIME type (‘text/html’) is not a supported stylesheet MIME type

After installtion magento 2 you can see a error like MIME type not supported. To fix this: Use 2 comment: php bin/magento setup:static-content:deploy -f -s standard php bin/magento cache:clean *** Exception: If you use xampp server and you see “Xampp Warning: Module ‘openssl’ already loaded in line 0” Please visit …

Read More »

How to install Magento 2 Module/Extension without cmd only External php file

How to run cmd command using magento 2 url not use command prompt. Create a php file on you magento 2 root directory & just run localhost/file.php or domain/php_file_name.php In the code line number 14 you can add your magento 2 command here. After running the php file it take …

Read More »

Update Magento 2 Customer Programmitically

Create a php file on you magento 2 root path and past this code. Now Type Localhost/your_file_name.php or domain/your_file_name.php. First we include app/bootstrap.php. now we can use magento 2 all functionality. Its inform to you, This is very unsecured and break the magento rules. use only if you must need …

Read More »

Create Magento 2 Customer Programmitically | How to add a customer programmatically in Magento 2 ?

Create a php file on you magento 2 root path and past this code. Now Type Localhost/your_file_name.php or domain/your_file_name.php. First we include  app/bootstrap.php. now we can use magento 2 all functionality. Its inform to you, This is very unsecured and break the magento rules. use only if you must need …

Read More »

Magento 2 Command List

If you want to run command on magento 2. You need to first follow the step. Step 1: Need to use cmd command. so go to your start menu > RUN then type cmd & open it. Type which drive you you have xampp/local server where you have magento 2.  …

Read More »