CompShop Documentation
Magento theme installation
Install theme on live store
If you already have a Magento store and want to apply the theme, follow the instruction below. To install the theme you only need to upload all the theme files to your server and then enable the theme in the admin panel. But to avoid unexpected problems after installation, you should first prepare your Magento. Please strictly follow the steps described in this guide:
- First of all, please make sure your Magento installation version meets the template requirements. The detailed Magento update guide you will find on the site Magento Wiki.
- It is recommended to install the theme on a test server before you install it on a live store.
- Backup Magento files and the store database.
- Disable all cache systems which you have in your Magento
- Disable Merge & Minify JavaScript Files in Stores > Configuration > Advanced > Developer > JavaScript Settings and Merge & Minify CSS Files in Stores > Configuration > Advanced > Developer > CSS Settings. You can enable this feature after installation..
- Copy the content of the archive [app folder] to the root folder of your online shop. After copying run the console and navigate to the root shop folder.
- Run the following commands in the command line, one by one:
- bin/magento setup:upgrade
- bin/magento index:reindex
- bin/magento cache:clean
- Then follow the instructions for setting up the theme.
Important: creating backup before installation of any themes or extensions in Magento is extremely important, especially if you are working on a live store.
Important: when developing your Magento store, in order to be able to see changes immediately, you should completely disable the cache. You can enable it after you finish configuring your store.
Attention!!!
Install Theme on Live Store
To install the theme you only need to upload all the theme files (the app folder) to your server and then enable the theme in the admin panel.
If you don't want to spend your time installing the theme, don't hesitate to order installation service using our live-chat.
But to avoid unexpected problems after installation, you should first prepare your Magento. Please strictly follow the steps described in this guide:
Attention!
Please DO NOT import sample data if you have a live website as it will completely replace your database contents, and all your website data will be LOST.
First of all, please make sure your Magento installation version meets the template requirements. The detailed Magento update guide you will find on the Magento User Guide.
*It is recommended to install the theme on a test server before you install it on a live store.
Step 1. Backup Magento files
Backup Magento files and the store database.Important: creating backup before installation of any themes or extensions in Magento is extremely important, especially if you are working on a live store.
On the Admin sidebar, tap System. Then under Tools, choose Backups.
In the upper-right corner, tap the button for the type of backup you want to create:
System Backup | - | creates a complete backup of the database and the file system. During the process, you can choose to include the media folder in the backup. |
Database and Media Backup | - | creates a backup of the database and the media folder. |
Database Backup | - | creates a backup of the database. |
To put the store into maintenance mode during the backup, mark the checkbox. When the backup is complete, maintenance mode is turned off automatically.
For a system backup, mark the Exclude checkbox if you do NOT want to include the media folder. Then when prompted, confirm the action.(press OK)
The backaps files stored under the var > backups folder.
In case of Error 503 DELETE the maintenance.flag file from var folder.
Step 2. Disable the cache
Disable all cache systems which you have in your Magento.Important: when developing your Magento store, in order to be able to see changes immediately, you should completely disable the cache. You can enable it after you finish configuring your store.
-
- theme
- contains Magento theme files and directories that should be uploaded to the root directory of your Magento installation .
-
- app
- Run the following commands in the command line, one by one:
- bin/magento setup:upgrade
- bin/magento index:reindex
- bin/magento cache:clean
- Then follow the instructions for setting up the theme.
On the Admin sidebar, tap System. Then under Tools, choose Cache Management.
Choose Select All from the Mass Action dropdown.
Then you need to select Disable from the Action dropdown and press the Submit button.
Do not forget to enable the cache after the theme installation and configuration.
Step 3. Upload the app folder
Now you need to copy the zipped content of the theme folder (the app folder) to the root folder of your online shop.
Find the theme > app folder. You need to archive (.zip) the app folder to upload it to the server. Use the WinZip 9+ (for Windows) or Stuffit Expander 10+ (for Mac) to compress the app folder.
Log into cPanel > navigate to the Files section and click on the File Manager icon.
Once you select your directory, click on the Go button.
Open the root folder of your online store.
Click on the Upload icon.
Click on the Browse button.
Find the app.zip. Click Open.
Once the process is completed press on the Go Back to link.
Step 4. Unzip the app folder
Select the uploaded zip file and click the Extract icon
Make sure the right folder is indicated. Press the Extract File(s) button.
Then press the Close button and Reload the File Manager page.
You can delete the .zip folder after unzipping.
Step 5. Run the console
After unzipping run the console and navigate to the root directory of your store.
Attention!!!
Template configuration
We will configure it the same way as in our Live Demo template, without affecting your products data. The theme configuration process will be shown based on the default Magento store with the sample data.After the theme installation, no difference will appear on your site frontend.
Activate the new theme
In the Default Theme section select the required theme in the Applied Theme option drop-down list and, then click Save Configuration button.
Activate the color scheme
In order to activate the color scheme, navigate to the Stores > Settings > Configuration section.Then choose the TEMPLATEMONSTER > Theme Options in the left side menu and you'll move to the module settings interface.
Click on the Store View: Default Config. Select a Main Website from the option dropdown.
Confirm the scope switching in the pop-up window. Press "OK" to confirm.
After that, you will see a new tab. The Theme color settings tab under the General one.
Go to the Theme color settings tab. Enable the color scheme. Select enable from the Color scheme status dropdown.
Select the desired color scheme from the Color scheme dropdown. There are four different color schemes for you to choose.
Remember to save the settings.
Pages, static blocks and widgets import
In order to make your template look exactly like our Live Demo, you need to import the store pages, static blocks and widgets. Please follow the instructions below in order to import store pages, static blocks and widgets.
- Navigate to Stores > Settings > Configuration section.
- Then choose the TEMPLATEMONSTER > Theme Options in the left side menu and you'll move to the module settings interface.
- Click on the Store View: Default Config. Select a Main Website from the option dropdown.
- Confirm the scope switching in the pop-up window. Press "OK" to confirm.
- Go to the Sample Data Installer tab > CMS pages.
- Select files you want to import. You need to select Cms Page.
- Set the Override option to "Yes" if you want to replace your store pages with new ones in case of duplicate key.
- Press the Import button.
- You will see the confirmation message. The message will inform you about the total number of imported pages.
Pages Import
Static blocks Import
When you are done with the pages import, you need to import the static blocks. The procedure is similar to the previous.
Widgets Import
Now you need to import the widgets. The procedure is almost the same as the previous one.
Remember to save the settings.
Pages configuration
Navigate to the Content > Pages section in the admin panel of you shop.
Here you can find the list of all the store pages. The imported pages: Home page, About Us, Privacy and Cookie Policy, 404 Not Found, Enable Cookies should already be available. You need to make pages visible on your site. If you want pages be available on each store view, you need open each page settings. In order to do this, press the edit button.
Remember to save the page.
Widgets Configuration
Due to the Parallax and FilmSlider module complex structure, you can NOT import ones. To make widgets appear on your website, you have to create NEW Parallax * and FilmSlider ** widgets.
* See TM Extensions Settings > Parallax.
** See TM Extensions Settings > FilmSlider.
CMS Static Block widget type configuration
Banners Widget
To configure the Banners Widget widget, navigate to Content > Widgets. Click the widget title to open the setting interface.
Navigate to Widgets Options tab. Press the Select Block button.
Select the "Banners" static block for this widget. You can use the search field to simplify the process.
Save the settings.
Additional Information Widget
To configure the Banners Widget widget, navigate to Content > Widgets. Click the widget title to open the setting interface.
Navigate to Widgets Options tab. Press the Select Block button.
Select the " Additional information" static block for this widget. You can use the search field to simplify the process.
Save the settings.
Featured Products (Product Grid) widget type configuration
New products widget
To configure theNew products (Product Grid) widget, navigate to Content > Widgets. Click the widget title to open the setting interface.
Navigate to Widgets Options tab. Go to the Categories option. You need to select products you want to display within the widget.
Save the settings.
Catalog Image Grid widget type configuration
Catalog Image Grid widget
To configure the Catalog Image Grid widget, navigate to Content > Widgets. Click the widget title to open the setting interface.
Navigate to Widgets Options tab. Go to the Categories option. You need to select your category you want to display within the widget.
Save the settings.
Note, the selected category should have at least 2 subcategories.
Subcategories of the root category should have the Thumbmail Image.
Go to Products > Categories. Select the subcategory you want to display within the widget. Navigate to the Catalog Images Grid tab. Upload the thumbnail image.
You should enable the Catalog Images Grid for the root category.
Shop by Brand widget type configuration
Brands widget
To configure the Brands widget you should create brands to display. See Shop By Brand module.
Template Settings
Configuration of display static blocks/widgets on different layouts shown in the table below.
Home pages configuration
# | Page Name | Page HTML [Content tab] | Page XML [Design tab] | Layout |
---|---|---|---|---|
1. | Home Page | sources\demo\pages\home_page.phtml | sources\demo\pages\home_page.xml | 1 column |
2. | About Us | sources\demo\pages\about_us.phtml | N/A | 1 column |
3. | Privacy Policy | sources\demo\pages\privacy_policy.phtml | N/A | 1 column |
4. | Customer Service | sources\demo\pages\customer_service.phtml | N/A | 1 column |
5. | Privacy Policy | sources\demo\pages\privacy_policy.phtml | N/A | 1 column |
6. | Shipping & Delivery | sources\demo\pages\shipping-delivery.phtml | N/A | 1 column |
7. | FAQ | sources\demo\pages\support.phtml | N/A | 1 column |
8. | Support | sources\demo\pages\customer_service.phtml | N/A | 1 column |
9. | Secure payment | sources\demo\pages\secure-payment.phtml | N/A | 1 column |
10. | Terms & Conditions | sources\demo\pages\terms-conditions.phtml | N/A | 1 column |
Static blocks configuration all stores
# | Block Title | Identifier | Content |
---|---|---|---|
1. | Footer column content 1 | footer_col_1 | sources\demo\blocks\footer_col_1.phtml |
2. | Footer column content 2 | footer_col_2 | sources\demo\blocks\footer_col_2.phtml |
3. | Footer column content 3 | footer_col_3 | sources\demo\blocks\footer_col_3.phtml |
4. | Footer column content 4 | footer_col_4 | sources\demo\blocks\footer_col_4.phtml |
5. | Megamenu 1st block img | mm-block-1_img | sources\demo\blocks\mm-block-1_img.phtml |
6. | Megamenu 1st block txt | mm-block-1_txt | sources\demo\blocks\mm-block-1_txt.phtml |
7. | Megamenu 2nd block img | mm-block-2_img | sources\demo\blocks\mm-block-2_img.phtml |
8. | Megamenu 2nd block txt | mm-block-2_txt | sources\demo\blocks\mm-block-2_txt.phtml |
9. | Megamenu 3rd block img | mm-block-3_img | sources\demo\blocks\mm-block-3_img.phtml |
10. | Megamenu 3rd block txt | mm-block-3_txt | sources\demo\blocks\mm-block-3_txt.phtml |
11. | Megamenu 4th block img | mm-block-4_img | sources\demo\blocks\mm-block-4_img.phtml |
12. | Megamenu 4th block txt | mm-block-4_txt | sources\demo\blocks\mm-block-4_txt.phtml |
13. | Megamenu 5th block img | mm-block-5_img | sources\demo\blocks\mm-block-5_img.phtml |
14. | Megamenu 5th block txt | mm-block-5_txt | sources\demo\blocks\mm-block-5_txt.phtml |
15. | Megamenu 6th block img | mm-block-6_img | sources\demo\blocks\mm-block-6_img.phtml |
16. | Banners | banner_block | sources\demo\blocks\banner_block.phtml |
17. | Additional information | add-info | sources\demo\blocks\add-info.phtml |
18. | Contact info | contact_info | sources\demo\blocks\contact_info.phtml |
19. | Payment | payment_1 | sources\demo\blocks\payment_1.phtml |
20. | Footer column 2 title | footer_col_2_title | sources\demo\blocks\footer_col_2_title.phtml |
Widgets configuration
# | Widget Name | Widget type | Content |
---|---|---|---|
1. | Slider | TemplateMonster FilmSlider | slider |
2. | Catalog images grid | Catalog images grid | Products Grid |
3. | Banners | CMS Static Block | banners |
4. | New products | Featured products | Products Grid |
5. | Additional information | CMS Static Block | Additional information |
6. | Brands | Shop by brand | brands |