Start chat

Yanagiudo Documentation

Magento theme installation

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

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.

    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.

    • theme
      contains Magento theme files and directories that should be uploaded to the root directory of your Magento installation .
      • app
    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.

    Make sure you've set the correct permissions type for the app folder. The permissions should be CHMOD 755 or 777, depending on your server configuration.

    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!!!

    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.
  1. 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
  2. Then follow the instructions for setting up the theme.

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.

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

  1. Open the Magento admin panel and select Content > Configuration in the side menu.
  2. In the list of stores you need click edit at Global-Main Website. Also, you can click edit for a particular store view if you have them.
  3. Select the "Header" tab, and upload your logo.
  4. Click "Save Config" button.

Static Blocks Configuration

When you are done with the pages configuring, you need to configure the static blocks. The procedure is similar: you need to copy the code from the source files and paste it to the corresponding fields in the Magento admin panel. You need to use a similar table but for the static blocks.

Block ID may vary in your Magento installation. You can get correct block id from Content > Blocks section in Admin panel.

  1. In the top menu navigate to Content > Blocks.
  2. In the top right corner click the "Add New block" button to add a new static block.
  3. Specify the block name and identifier. You can get the block details from the table at the template configuration page (check the Template Settings part).
  4. Open the block source file and copy the HTML code into the content area.

NOTE: some templates do not contain any static blocks, so the table can be empty.

The source files with the static blocks code are stored in the "sources\demo\static_blocks\" folder of the template package.

For example, to display the banner section (see the Template Settings section) on the Home Page, you should first open the sources\demo\blocks\banner_box.phtml file. Copy the file source code.

Then add new CMS Static Block and paste the copied source code in the content area of the block.

Remember to save the block.

*See the tutorial on How to add CMS Static Block.

After that, you need to add new widget with the same settings you can find in the Template Settings table and select the static block you are referring to in the Widget Options tab.

How to display our blocks with static content?

  1. In the top menu navigate to Content > Widgets
  2. In the top right corner click the "Add Widget" button to add a new widget.
  3. Specify the widget type CMS Static Block and theme that you want to apply the widget to, then click Continue button.
  4. On the next page in the Widget Title field enter the name of the widget which will be displayed in the admin panel. In the Assign to Store Views field you need to select store views which will display the widget. In the Layout Updates block click Add Layout Update button. In the Display On field you can select pages where widget will be displayed on. Depending on selected pages you will have opportunity to fill in the additional fields.
  5. In the left sidebar click Widget Options tab and select the static block you are referring to. Don't forget to save changes.

* Check the tutorial on How to add new Widget to the Page?

When you are done configuring store pages and blocks, your store is ready to go.

Pages Configuration

In order to make your template look exactly like our Live Demo, you need to set up store pages in a specific way. We provide all the files with the pages source code. You need to add them into Magento admin panel as per the instructions below using the settings table. Settings table is located on the Template Settings page on the template preview page.

The main template page will be affected the most. It usually contains the following elements: banners, slider, etc.

We recommend that you disable the WYSIWYG editor. To do this, from the admin top menu select Stores > Configuration. Open the "Content Management" section uncheck and in the WYSIWYG Options window set "Enable WYSIWYG Editor" option to "Disabled Completely".

In case you have already made the changes to your pages code and would like to add our code without affecting your changes, it is recommended to contact professional technicians or prepare a backup before making changes.

  1. From the top menu select Content > Pages. Here you can find all the store pages. Home page, About Us and Customer Service should already be available, so you don't need to add them. You only need to update the pages HTML and XML content. Open any of them in order to get the access to the content.
  2. Open the page and select the Content tab. It contains the HTML code of the page. You can take the page HTML code from the appropriate source file. You can see the list of source files included in the "Template Settings" section on your templates preview page. Copy the code from the source file and paste it to the content area.
  3. When you are done with the HTML code, switch to "Design" tab. It contains the page XML code. XML code allows you to add Magento static blocks and widgets to the page. The XML code should be copied the same way as the HTML from the source file. Copy the XML code to the "Layout Update XML" area.
  4. Don't forget to select the valid "Layout" option.
  5. In case you need to add a new page, click the "Add New Page" button in the top right corner.

Useful Tutorials:

  1. How to add content to Contact Us page?
  2. How to add new Page?
  3. How to add new Widget on the Page?
  4. How to add the CMS Page link to Main Menu?

 

Widgets Configuration

Banner_box widget

  1. Head to Content > Widgets section.
  2. You'll be taken to Widgets' Manager page.
  3. Find the Banner_box widget and open it to edit. Paste the widget title (Banner_box) in the Widget column search form and press "Enter".
  4. Set the Store View(s) the widget will be available.
  5. In the left sidebar click Widget Options tab and select the static block you are referring to (banner_box).
  6. Don't forget to save changes.
How to change the widget text?
  1. In order to change the text you see on the banner, go to the Content > Blocks section.
  2. Find the banner_box static block.
  3. Select Edit from the Action option dropdown.
  4. Scroll down to the banner content section.
  5. To activate HTML editor, press the Show / Hide Editor button. See the tutorial on How to enable the WYSIWYG editor.)
  6. You can edit the text which is between the angle brackets ( >text< ).
  7. Remember to save the settings.
How to change the banner link?
  1. To change the banner link go to the Content > Blocks section.
  2. Find the static block you want to change (it's the banner_box block in our case).
  3. Select Edit from the Action option dropdown.
  4. Proceed to the block content section and replace XXX with the needed page or category URL in the following code:
  5. Remember to save the settings.
How to change the banners image?
  1. To change the banner image go to the Content > Blocks section.
  2. Find the static block you want to change (it's the banner_box block in our case; see the Template Settings table).
  3. Select Edit from the Action option dropdown.
  4. You'll see the static block content field.
  5. Select the code which is responsible for the image display:
  6. <img src="{{view url=''}}/images/media/banner-1.jpg"/>
  7. Delete the code and press the Insert Image button.
  8. Upload the new banner image (click Browse) and press on the Insert File button.
  9. You should get the code:
  10. <img src="{{view url=''}}/images/media/new-image.jpg"/>
  11. Save the block settings.
Banner_box images:

- banner-1.jpg - 860 x 400 px

- banner-2.jpg - 420- 400 px

- banner-3.jpg - 420- 400 px

- banner-4.jpg - 860 x 400 px

Banner_fullwidth widget

  1. Go to the Content > Widgets section.
  2. Open the Banner_fullwidth widget to edit.
  3. In the Assign to Store Views field you need to select store views where you want the widget displayed on.
  4. In the left sidebar click Widget Options tab and select the static block you are referring to (banner_fullwidth). Don't forget to save changes.

Banner_info widget?

  1. In the top menu navigate to Content > Widgets.
  2. Open the Banner_info widget to edit.
  3. Select the store view(s) where you want the widget to be displayed on.
  4. In the left sidebar click Widget Options tab and select the static block you are referring to (banner_info). Don't forget to save changes.
How change the Font Icon?
  1. Navigate to your Magento store admin panel. Then go to the Content > Blocks section.
  2. Find the banner_info block and open it to edit. Select Edit from the Action option dropdown.
  3. You will see CMS block settings interface.
  4. Find the <span class="linearicons-phone-in-out"></span> line and replace linearicons-phone-in-out with a new icon class.
  5. Remember to save the settings.
You can find the font icon css class here.

Featured Products

  1. In the top menu navigate to Content > Widgets
  2. Now you need to open the Featured Products widget to edit.
  3. Assign the widget to a specific Store View.
  4. Switch to the Widget Options tab and complete the widget settings as below:
    # Option Name Value
    General Tab:
    1. Product Types Most Viewed Products, Bestseller Products, Manual Products
    2. Choose custom products Move to the Choose custom products option and press the Select... button and choose the products you want to show in the widget, then tab Add Product. You should see the "Products selected" message.
  5. Don't forget to save changes.

New Menu Items

  1. In the top menu navigate to Content > Widgets.
  2. Tap on the widget title to open the widget setting (New Menu Items).
  3. Assign the widget to a specific Store View.
  4. Switch to the Widget Options tab and complete the widget settings as below:
    # Option Name Value
    General Tab:
    1. Product Types Manual Products
    2. Choose custom products Move to the Choose custom products option and press the Select... button and choose the products you want to show in the widget, then tab Add Product. You should see the "Products selected" message.
  5. Don't forget to save changes.
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.

How to change the newsletter text?

Navigate to your Magento root folder on your server. Then, go to the app\design\frontend\TemplateMonster\themeXXX\Magento_Newsletter\templates folder. (XXX — your theme number)

Open the subscribe.phtml file. Enter the text you want to display within the newsletter block (replacing the old one). Remember to save the file.

* You can change the footer newsletter text with a help of "Translate Inline" tool.

How to change the copyright message?

  1. Navigate to the  Stores > Settings > Configuration section.
  2. Then choose the TEMPLATEMONSTER > Theme Options in the left side menu and you’ll move to the module settings interface.
  3. Click on the Store View: Default Config.
  4. Select a Store View or Store you want to modify from the option dropdown.
  5. Confirm the scope switching in the pop-up window. Press “OK” to confirm.
  6. Go to the General section.
  7. Expand the SEO tab.
  8. Input your copyright massage you want to be displayed in the footer in the Copyright option text field.
  9. Click on the Save Config button and refresh the Magento cache.

How to change the default welcome text?

  1. Click the Stores > Settings > Configuration.
  2. Then choose the TEMPLATEMONSTER > Theme Options in the left side menu and you’ll move to the module settings interface.
  3. Click on the Store View: Default Config. Select a Store View or Store you want to modify from the option dropdown.
  4. Confirm the scope switching in the pop-up window. Press “OK” to confirm.
  5. Go to the General section.
  6. Expand the SEO tab.
  7. Enter your default welcome text in the Welcome text option text field.
  8. Click on the Save Config button and refresh the Magento cache.

How to change the favicon icon?

  1. Navigate to the  Stores > Settings > Configuration section.
  2. Then choose the TEMPLATEMONSTER > Theme Options in the left side menu and you’ll move to the module settings interface.
  3. Click on the Store View: Default Config. Select a Store View or Store you want to modify from the option dropdown.
  4. Confirm the scope switching in the pop-up window. Press “OK” to confirm.
  5. Go to the General section.
  6. Expand the SEO tab.
  7. Navigate to the Favicon icon option. Click on the Browse button to upload the Favicon icon. Allowed file types: ico, png, gif, jpg, jpeg, apng, svg.
  8. Click on the Save Config button and refresh the Magento cache.

How to edit the Social Links block in the footer?

  1. Navigate to the  Stores > Settings > Configuration section.
  2. Then choose the TEMPLATEMONSTER > Theme Options in the left side menu and you’ll move to the module settings interface.
  3. Click on the Store View: Default Config. Select a Store View or Store you want to modify from the option dropdown.
  4. Confirm the scope switching in the pop-up window. Press “OK” to confirm.
  5. Open the Footer section.
  6. Expand the Social links tab.
  7. For adding URL with Font Icon, you need enter icon CSS Class, social url, set font size and line height.
  8. You can find the font icon css class here.
  9. For adding URL with image, you need enter social url, width of icon, alternative text to image and upload image.
  10. Click on the Save Config button and refresh the Magento cache.

Check the tutorial on how to edit footer links block.

Slider Home Page

First you should create new slider.

Go to TemplateMonster > Sliders section.

To add new slider click Add New Slider button in the top right corner.
On the slider configuration screen in General Options section you can see all available slider settings. Slider Items section allows you to add slides to your slider.

Then complete the settings as below:
General Settings

Main settings

Enter the slider title (only for internal reference).

# Option Name Option Value
1. Status Enable
2. Slide width 100%
3. Slide height 747

Image settings

# Option Name Option Value
1. The aspect ratio 2.57
2. Image Scale Mode Cover
3. Allow Scale Up Enable
4. Auto Height Disable
5. Center Image Enable
6. Orientation Horizontal
7. Force Size None

Slides settings

# Option Name Option Value
1. Slide Animation Duration 700
2. Height Animation Duration 700
3. Visible Size auto
4. Start Slide 0
5. Shuffle Disable
6. Loop Enable

Fade Animation settings

# Option Name Option Value
1. Fade Disable
2. Fade Out Previous Slide Enable
3. Fade Duration 500

Auto Play settings

# Option Name Option Value
1. Auto Play Enable
2. Auto Play Delay 7000
3. Auto Play Direction Normal
4. Auto Play On Hover Pause

Controls settings

# Option Name Option Value
1. Arrows Disable
2. Fade Arrows Enable
3. Buttons Enable
4. Keyboard Enable
5. Full Screen Disable
6. Fade Full Screen Enable

Responsive settings

# Option Name Option Value
1. Responsive Enable
2. Touch Swipe Enable
3. Touch Swipe Threshold 50
4. Small Size 480
5. Medium Size 758
6. Large Size 1024

Caption settings

# Option Name Option Value
1. Fade Caption Enable
2. Caption Fade Duration 7000

Layers main settings

# Option Name Option Value
1. Wait For Layers Disable
2. Auto Scale Layers Enable
3. Auto Scale Reference 1920

Add Slider Widget

  1. In the top menu navigate to Content > Widgets
  2. In the top right corner click the Add Widget button to add a new widget.
  3. Set the widget type to FilmSlider and select the theme that you want to apply the widget to (your new theme), then click Continue button.
  4. On the next page in the Widget Title field enter the name of the widget which will be displayed in the admin panel. In the Assign to Store Views field you need to select store views where you want the widget displayed on. Move to the Layout Updates section and click on the Add Layout Update button.
  5. In the Display On select Specified Page. Choose CMS Home Page for the Page option. Set Container option to After Page Header. You can get the widget details from the Template Settings table.
  6. In the left sidebar click Widget Options tab and select the slider you want to insert. Don't forget to save changes.

 

Template Settings

Configuration of display static blocks/widgets on different layouts shown in the table below.

Home page 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 2 Footer column content 2 footer_col_2 sources\demo\blocks\footer_col_2.phtml
2. Footer column content 3 Footer column content 3 footer_col_3 sources\demo\blocks\footer_col_3.phtml
3. Footer column content 4 Footer column content 4 footer_col_4 sources\demo\blocks\footer_col_4.phtml
4. Footer column 1 title Footer column 1 title footer_col_1_title sources\demo\blocks\footer_col_1_title.phtml
5. Footer column content 1 Footer column content 1 footer_col_1 sources\demo\blocks\footer_col_1.phtml
7. Banner_box banner_box banner_box sources\demo\blocks\banner_box.phtml
8. Banner_fullwidth banner_fullwidth banner_fullwidth sources\demo\blocks\banner_fullwidth.phtml
8. Banners_info banners_info banner_fullwidth sources\demo\blocks\banners_info.phtml
10. Menu-banner menu-banner mega_menu_banner sources\demo\blocks\menu-banner.phtml
Widgets configuration
# Widget Name Widget Type Block Reference Template / (Static Blocks) Sort Order
1. Banner_box CMS Block Main Content banner_box block 1
2. Banner_fullwidth CMS Block Main Content banner_fullwidth block 3
3. Banners_info CMS Block Main Content banners_info block 5
4. Slider Home Page FilmSlider Main Content FilmSlider block 1
5. Featured Products Featured Products Main Content custon featured products 2
6. New Menu Items Featured Products Main Content custom featured products 5