Start chat

Hard Gainer Documentation

Magento theme installation

This theme is not compatible with Magento 1.9 engine. It will work with the Magento 2.1.7 engine only.

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:

  1. 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.
  2. It is recommended to install the theme on a test server before you install it on a live store.
  3. Backup Magento files and the store database.
  4. Important: creating backup before installation of any themes or extensions in Magento is extremely important, especially if you are working on a live store.

  5. Disable all cache systems which you have in your Magento
  6. 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.

  7. 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..
  8. 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.
  9. Attention!!!

    Due to the peculiarities of the engine you will have to use any console environment with the command line. Module configuration will be mainly performed via the command line. If you perform changes on the hosting server, you can contact your hosting provider for help and use the hosting command line.
  10. Run the following commands in the command line, one by one:
    1. bin/magento setup:upgrade
    2. bin/magento index:reindex
    3. bin/magento cache:clean
  11. Then follow the instructions for setting up the theme.

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

Open Magento admin panel and navigate to the Content > Configuration menu.
In the list of stores click edit in the "Action" column against the Global-Main Website.

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.

Logo configuration

Please follow these steps when setting up logo image included into the theme package [you can view it on the Live Demo page].

Open the Magento admin panel and select the Store > Configuration in the sidebar menu.
In the panel on the left expand the Templatemonster section. Then choose Theme Options. Also, you can edit a particular store view if you have it. (See Store View option on the tool bar.)
Choose the image Logo type. Press the Browse button. Select the image for your Logo and upload it.
When complit, tap "Save Config".

You can use the text Logo type.

The Theme Options module features will be described later in the TM Extensions Settings chapter.

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.

    Pages Import

  • 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.

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.

  • 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 Blocks.
  • Select files you want to import. You need to select Cms Block.
  • Set the Override option to "Yes" if you want to replace your blocks 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 blocks.
  • Widgets Import

    Now you need to import the widgets. The procedure is almost the same as the previous one.

  • 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.
  • Go to the Sample Data Installer tab > Widgets.
  • Select the layout (if you have any) you want to import widgets from. You need to select the Cms Block.
  • Set the Override option to "Yes" if you want to replace your widgets 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 widgets.
  • 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.

    Navigate to the Page in Websites tab. Select All Store Views option.
    In case, you need to add a new page, click the "Add New Page" button in the top right corner.

    Remember to save the page.

    Widgets Configuration

    Then you need to set the widgets in an appropriate way. Navigate to Content > Widgets. To see all widgets which belong to the StorMage theme, select the "StorMage" from the Design Theme column dropdown. Then press the Search button.

    You will see all theme widgets.

    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.

    Catalog images grid widget

    To configure the Categories images grid widget (see Template Settings section), 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 3 subcategories.

    Subcategories of the main 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 category.

    Featured products widget

    To configure the Featured Products widget, navigate to Content > Widgets. Click the widget title to open the setting interface.

    Navigate to Widgets Options tab and go to the Categories option. You need to select category (or custom products) you want to display within the widget. Save the settings.

    Note, if you select the category to display, the one should have at least 2 products in it.

    Banners widget

    To configure the Banners widget (see Template Settings section), 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 block. You search field to simplify the process.

    You also can change the block content. In order to do this, go to the Content > Blocks section. Select Edit from the Action option dropdown. You will see CMS block settings interface. Now, you're able to edit the block content in the content field. Full HTML support is provided. Remember to save the settings.

    Latest post widget configuration

    To configure the Latest post widget you should create posts to display. See Blog module.

    After each block, page or widget configuration, you should clear cache and reindex the data. You need to do this in order new pages, widgets and blocks appear on your website.

    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 sources\demo\pages\about_us.xml 1 column
    3. Customer Service sources\demo\pages\customer_service.phtml NA 1 column
    4. Privacy Policy sources\demo\pages\privacy_policy.phtml NA 1 column
    5. Shipping & Delivery sources\demo\pages\shipping-delivery.phtml NA 1 column
    6. FAQ sources\demo\pages\faq.phtml NA 1 column
    7. Support sources\demo\pages\support.phtml NA 1 column
    8. Guarantee sources\demo\pages\guarantee.phtml NA 1 column
    9. Secure payment sources\demo\pages\secure-payment.phtml NA 1 column
    10. Terms & Conditions sources\demo\pages\terms-conditions.phtml NA 1 column
    Static blocks configuration
    # Block Name Block Title Identifier Content
    1. Footer column content 1 Footer column content 1 footer_col_1 sources\demo\blocks\footer_col_1.phtml
    2. Footer column content 2 Footer column content 2 footer_col_2 sources\demo\blocks\footer_col_2.phtml
    3. Footer column content 3 Footer column content 3 footer_col_3 sources\demo\blocks\footer_col_3.phtml
    4. Footer column 1 title Footer column 1 title footer_col_1_title sources\demo\blocks\footer_col_1_title.phtml
    5. MegaMenu block 1 MegaMenu block 1 mm_block-1 sources\demo\blocks\mm_block-1.phtml
    6. MegaMenu block 2 MegaMenu block 2 mm_block-2 sources\demo\blocks\mm_block-2.phtml
    7. Banners Banners banner_block sources\demo\blocks\banner_block.phtml
    8. Payment Payment payment_1 sources\demo\blocks\payment_1.phtml
    9. Additional information Additional information add-info sources\demo\blocks\add-info.phtml
    Widgets configuration

     

    # Widget Name Widget Type Block Reference Template / (Static Blocks) Sort Order
    1. Slider Template Monster FilmSlider Before Main Colums slides 0
    2. Catalog images grid Catalog Image Grid Main Content Area Catalog Image Grid 0
    3. Brands Shop by Brand Main Content Area Brands 1
    4. Featured products Featured products Main Content Area Products Grid 2
    5. Parallax Parallax Block Main Content Area parallax 3
    6. Femail Specific Featured products Main Content Area Products Grid 4
    7. Banners CMS Static Block Main Content Area Banners 5
    8. Latest post Blog Latest Posts Before Footer Content Psot grid 0