STEP 1:

  • First you need to Install the required version of magento2 in your local server with the PHP extensIons.
  • The Magento2 latest version is 2.4.7,but you can install which required version you want.

STEP 2:

  • Purchase the sm market theme in the official website and download the file of the sm market theme in your local and move to the magento2 directory.
  • After moved to the local server you need to compress and unzip the file .

STEP 3:

  • After unzipped the file , you need to active the sm extensions in your magento2 directory .

php bin/magento setup:upgrade

  • This command is used for the updating database schema and if you added or deleted or changed php versions this changed only required database changes.

STEP 4:

  • After upgrade the sm extensions , you need to run a deploy command,

php bin/magento setup:static -content:deploy -f

  • It is used to compiles and deploys static assests to pub/static directory . The -f is used to force the deployment static in the production mode

STEP 5:

  • After deployment you need to give permissions to required folders,

chmod -R 777 pub

chmod -R 777 generated

chmod-R 777 var

chmod-R 777 app/etc

STEP 6:

  • Then Move to magento2 admin panel and navigate to the Content ->Design -> Configuration -> Edit Default store -> Sm Market
  • In the theme section select required sm market theme and click the save configuration button.Then you need to clear the cache for the changes to see in Home page.

php/bin magento cache:clean

php/bin magento cache:flush

  • By using this command you are able to clear the cache.

STEP 7:

  • Then navigate to stores -> configuration -> sm market ,in that you need to click on the Theme installation.
  • And then select on the import static blocks option click on the Static blocks
  • In Bottom of the page there are Demo pages of sm market ,select any one of them and click on the save configuration.
  • Then you need to clear the cache, you need to give a clear cache every time you made changes.
  • After cleared the cache move to home page to see the changes were successfully done.

Leave a Reply