Nous sommes actuellement le 21 Avr 2018, 13:41


Upload Magento 2 theme in 4 easy ways

Modérateurs: Cyanide Team, Story Staff

  • Auteur
  • Message
Hors-ligne

wadewilson

  • Messages: 37
  • Inscrit le: 09 Jan 2018, 10:08

Upload Magento 2 theme in 4 easy ways

Message26 Mars 2018, 05:59

So now you’ve browsed and successfully downloaded the theme for your Magento Store. Congratulation! Your website is about to have a whole new Interface, which may excites your visitors and probably brings you more leads and sales this month.

However, you have two more steps to successfully have your theme work for you: Upload and Install it. This may sound easy at first, but without coding knowledge and Magento Module Installation experience, this work could become hours of finding the bug, fixing the errors, giving the wrong command and even mistakenly delete your website’s precious customer data.

This article presents to you 4 main ways to upload your just-downloaded-theme to your server, even without the help of a developer. These 4 ways are: Upload by uploading unzipped file via FTP, upload by uploading zipped file via FTP, upload via cPanel, and lastly upload using Composer. To ensure you would not lose your previous work, we encourage you to setup a new branch to come back when you want.

Upload Magento 2 theme by uploading unzipped file via FTP
Log in to your FTP Account using FileZilla

Go to <theme> folder in your computer, it’s where you see something like this
Select all files, and drag them to Server Root Directory in Filezilla
drag unzipped Magento 2 theme here
Wait (may take up to 30 minutes, depends on which theme you have) until all files are transferred successfully
Upload Magento 2 theme by uploading zipped file via FTP
Log in to your FTP Account using FileZilla
Select your zipped theme file
Upload the fileLog In Filezilla to upload Magento theme
Unzip Theme file using SSH:
unzip [theme name].zip
Upload Magento 2 theme via cPanel
Log in to your cPanel account
Find File Manager
Find File Manager in cPanel to upload magento 2 theme
Select site directory
Click UploadClick Upload magento 2 theme
Choose your zipped Theme file
Extract the uploaded file
Upload Magento 2 theme via Composer
Get the theme’s Composer name.
you can find the name and version of any module (whether or not you purchased it on Marketplace) in the module’s composer.json file. Open App > Code > [Theme name] > Setup > composer.json in a text editor and find the values of "name" and "version".
Change to your Magento root directory and enter the command:
composer require [vendor]/[theme name]:[version]


For example,

composer require BSS/THINNK-THEME:1.0.0
Wait for dependencies to update.


After uploaded and unzipped the theme successfully, you have to install the theme regarding upgrade setup, import demo data, deploy, and flush cache to have your theme installed just the way you see the theme demo. Those procedure results from Magento’s natural system.

Install after uploading Magento 2 Theme
Go to your Magento Admin > Content > Design > Configuration > Edit Main Website Store > Enable Magento 2 theme after upload
Then Select your theme > Save Configuration
select your magento 2 theme to enable after upload
Upgrade Setup: Input
php bin/magento setup:upgrade


Import Demo Data
Click Import Data from your magento 2 theme after upload

Deploy
In case you use Magento version 2.2.x and above, input
php bin/magento setup:static-content:deploy –f
In case you use Magento version 2.1.x and lower, input

php bin/magento setup:static-content:deploy


Flush Cache
There you have your theme fully uploaded with full CMS, Blocks and functions just like your demo. You can now configure your theme to match your industry’s taste.

https://bssthemes.com/thinnk-theme.html/

Retour vers Récits / Stories

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit et 2 invité(s)