In this tutorial, we are presenting you the way to update Magento 2 theme.
I. Proper preparation for update:
Before updating magento 2 theme, we need to have a well preparation including 4 small steps below:
II. Detailed process for Theme File Updating:
After the preparation stage, now are you willing to update to last version of theme files?
Here is the best part:
In this tutorial, we will use the theme_files.zip to update the new version for the site.
Step 1:Â Download latest theme package on our site or on Themeforest.net. Then decompress the package on your PC.
 Step 2: Decompress the file “Theme Files/magento 2.1.0/theme_files.zip†– in the file we stored theme files, theme’s extensions files, sample theme media files.
 Step 3: Upload the files in theme_files.zip which you just decompressed into the webroot folder in your site (it will override the app/ and pub/ folders in your site).
 Step 4: Open SSH Terminal of your site, then run there commands:
php bin/magento setup:upgrade --keep-generated php bin/magento setup:static-content:deploy php bin/magento cache:clean
But there’s a catch:
Sometimes your site is broken, after run this command, it’s because of you ran this command with the incorrect user. If your site was broken, it’s very important to set the file’s permissions and ownership correctly, after run this command line. You can refer this command chown -R : .
Typical examples:
chown -R apache:apache /var/www/html/magento2/venustheme chown -R www-data:www-data /home/domain/public_html
Table of Contents
Magento 2 is an open-source premier eCommerce platform. Its extensibility and flexibility make it a…
Let’s face it: acquiring a new customer isn’t easy. It takes tremendous amounts of time,…
The proliferation of digital technologies has ushered in an era of unprecedented innovation and connectivity…
The world of web developers often revolves around deft visual editors and IDEs. But have…
Whether you're just starting in the eCommerce business or you've been here for a long…
Suppose you are an e-commerce business owner or a service provider. In that case, the…