Page 64 of 68

Magento 2: How to compile specific theme using static content deploy command?

If you want to compile only theme (Package/Theme) with all that belongs to it, run the command: php bin/magento setup:static-content:deploy –theme Package/Theme If you want to compile the theme only .less files, run the command: php bin/magento setup:static-content:deploy –theme Package/Theme –no-javascript –no-css –no-images –no-fonts –no-html –no-misc –no-html-minify To understand how it works and to see…

Solved: Magento 2.x Component Manager Problem (Please wait loading)

Recently I installed Magento 2.1.3. The problem is that, when i am in the Component Maganer, and i Sync my account, it showns an infinite “please wait” loading, and i can’t install any extension at all. After some research and searching I found one solution as below. Please open your composer.json file and move to…

How to update your Magento 2 version?

In this article, we will explain how to upgrade your Magento 2 version from 2.1.x for 2.1.5 using Command-Line Interface (CLI). Then upgrade your Magento 2 by following these steps: 1) Access Your Server via SSH 2) Navigate to the Magento 2 Root Directory 3) Upgrade Commands composer require magento/product-community-edition 2.1.5 –no-update composer update rm…

Pixtron – New Free Magento 2 Theme From HiddenTechies

Let’s See How to 📥 Download & Install this Free Magento 2 Theme. We are back with the new electronics product selling theme called Pixtron theme, and it gives me immense joy to talk about it. Pixtron is a free, responsive, clean and modern Magento 2 theme which will be a perfect match for your…

BizKick – A Free Magento 2 Theme for Your Next eStore

Let’s See How to 📥 Download & Install this Free Magento 2 Theme. BizKick is a free, responsive, clean and modern Magento 2 theme which will be a perfect match for your online store. You’ll find very few ecommerce theme as simple and nice as smart ecommerce theme. A great theme that takes your online…

How to Configure Robots.txt in Magento 2?

As you know, configuring robot.txt is important to any online store that is working on a site’s SEO. You can configure the option by following below path in Magento 2.x admin. Go to Stores -> Configuration -> General (Left side) -> Design (section) -> Search Engine Robots -> Default Robots (Select)-> Select INDEX, FOLLOW Instructs…

Magento 2 – Dirty COW Linux OS Vulnerability

In Magento 2, you will see notification about Dirty COW Linux OS Vulnerability. So what is this ? What it means ? Dirty COW (CVE-2016-5195) is a privilege escalation vulnerability in the Linux Kernel that can allow a local user (like a web hosting account) to gain root access to the server. This can also…

Admin design configuration does not save in Magento 2.1.x

Solution Find the file \vendor\magento\module-email\Model\AbstractTemplate.php and on line number 672 replace the if condition if ($storeId) with if ($storeId !== false) Explanation When you are saving the Global Configuration for the Store, you can see in the url that the current scope id is 0 (admin/theme/design_config/edit/scope/default/scope_id/0/) This is important. Now, when you save the configuration,…

How to reset admin password in Magento 2?

In order to reset the admin password from phpmyadmin in Magento 2, please follow below simple steps. 1) Go to phpMyAdmin 2) Open table admin_user 3) Run the following sql query UPDATE admin_user SET password = CONCAT(SHA2(‘xxxxxxxxNewPassword’, 256), ‘:xxxxxxxx:1’) WHERE username = ‘admin’; Here, NewPassword -> Replace it with your password. Thats it.

How to change default sort order from ascending to descending in Magento 2?

In order to change default sort order from ascending to descending in Magento 2, first you need to copy vendor/magento/module-catalog/view/frontend/layout/catalog_category_view.xml to app/design/frontend/{{Vender_Namespace}}/{{Theme_Name}}/Magento_Catalog/layout/catalog_category_view.xml into your theme. Now copy below code to your new xml file. <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” layout=”2columns-left” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceContainer name=”content”> <referenceBlock class=”Magento\Catalog\Block\Product\ListProduct” name=”category.products.list” as=”product_list”> <action method=”setDefaultDirection”> <argument name=”dir” xsi:type=”string”>desc</argument> </action> </referenceBlock> </referenceContainer>…

« Older posts Newer posts »