Getting Started
Welcome to Moza Magento 2 Theme!
Firstly, a huge thanks for purchasing this theme, your support is truly appreciated!
This document covers the installation and use of this theme, reveals some answers to common problems and issues. We encourage you to read throughout this document if you are experiencing any difficulties. If you have any questions that are beyond the scope of document, please feel free to contact us via our Support Tickets System
Compatible with Magento
Version Magento | Link Documentation |
---|---|
Version 2.1.x to 2.3.x | Click Here |
Ver 2.4.x | Click Here |
Magento Information
To install this theme you must have a working version of Magento already installed. If you need help installing Magento, follow below sites and tutorials from magento.com, hope everything that you need are there.
- System Requirements - Required system credentials for your magento installation.
- Installation Guide - Installation guide that describes how to install magento2.
- Online Magento 2 guide - Online magento documentation that describes about magento2 in detail.
- Magento Forum - Magento forum site.
- stackoverflow.com - You can also get some useful articles from stackoverflow.
Installation
Elasticsearch
As of Magento 2.4.0, MySQL is no longer used for search. You must use Elasticsearch. Magento supports Elasticsearch 7.6.x.
Note: Magento no longer supports Elasticsearch 2.x, 5.x, and 6.x.Prepare Installation
There are two ways to install a Magento Theme:
- Quickstart Installation: Suitable if you have your first installation and want to get a whole new fresh site as our Demo.
- Manual Installation (including Theme Installation): Manual Installation (including Theme Installation): Suitable if your store is full with data/content (category, products...) that you don't want to overwrite.
Quickstart Installation
Magentech provides SM Quickstart package for each theme which aims to ease the installation for users. If you plan to start your site from the beginning, it will help you save much time of installing and configuring. Please follow steps below:
Important: You must use the command line to install Magento 2.4+.
- Step 1: Download the quickstart package named as sm_moza_quickstart_pl_m2.4.0_v5.0.0
- Step 2: Upload and Extract the whole Quickstart package to your server. In Quickstart folder you will see the extracted folder that include all sample data
- Step 3: Create a Database for your Magento site
Important!
You need to remember the database name to use in the next steps - Step 4: Import database sample_data.sql under the folder sm_moza_quickstart_pl_m2.4.0_v5.0.0\data_quickstart
Note: You can import database by run this command
mysql -u root -p database_name < sample_data.sql
- Step 5: Install Magento
This example assumes that the Magento install directory is named
sm_moza
, the db-host is on the same machine (localhost), and that the db-name, db-user, and db-password are allmagento
:php bin/magento setup:install --base-url=http://192.168.1.220/ytc_templates/magento/sm_moza --base-url-secure=https://192.168.1.220/ytc_templates/magento/sm_moza --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1 --backend-frontname="admin" --search-engine=elasticsearch7 --elasticsearch-index-prefix=moza
Messages similar to the following display to indicate a successful installation:Post installation file permissions check...Note: You can customize the Admin URI with the
For security, remove write permissions from these directories: '/var/www/html/ytc_templates/magento/sm_moza/app/etc'
[Progress: 274 / 274]
[SUCCESS]: Magento installation complete.
[SUCCESS]: Admin Panel URI: /admin_puu71q
--backend-frontname
option. However, we recommend omitting this option and allowing the installation command to automatically generate a random URI. A random URI is harder for hackers or malicious software to exploit. The URI displays in your console when installation is complete.
- Step 6: Can't login to admin panel
When you login to admin will be display like this image:
Please open fileapp/etc/config.php
and change 'Magento_TwoFactorAuth' => 1 to 'Magento_TwoFactorAuth' => 0
After that run these command:
1.php bin/magento setup:upgrade
2.php bin/magento setup:static-content:deploy -f
3.php bin/magento indexer:reindex
- Step 7: Finally, permissions for the following folders by run these commands:
chmod -R 777 pub
chmod -R 777 generated
chmod -R 777 var
chmod -R 777 app/etc
After upload quickstart package, please extract package by this command:
unzip file.zip
Note: After that please go to folder root and run these command to permissions:
chmod -R 777 generated
chmod -R 777 var
chmod -R 777 app/etc
Manual Installation
Important!
- We recommend you to duplicate your live store on a development store and try installation on it in advance.
- Backup magento files and the store database.
It's very important to backup all of themes and extensions in Magento before installation, especially when you are working on a live server. We strongly recommend you to do not omit this step.- Note: Manual Installation can only import CMS Page and Static Block. Products, Categories, Megamenu may not display when you use Manual Installation, you need to configure manually (by yourself >> please read documentation carefully)
- Step 1: Download Magento 2.4.x
https://magento.com/tech-resources/download
and install on your server - Step 2: Please download 'sm_moza_theme_m2.1.x-2.4.x_v5.0.0.zip' file and upload to the root of your magento site folder on your server, after that unzip by command
unzip name_file.zip
.
- Step 3:
Active SM Extensions, open command line in folder root of magento and run commands via ssh using putty or others
php bin/magento setup:upgrade
Step 4: Run deploy command: - Step 5: Navigate to Content > Design > Configuration > Edit Default Store > Select "SM moza" theme.
- Step 6: Click "Save Configuarion" button to save your changes.
- Step 7: Navigate to Stores>> Settings>> Configuration >> MAGENTECH.COM >> Sm moza >> Theme Installation. Press the buttons named 'Static Blocks' and 'Pages' to import all default blocks and pages. Click "Save Configuarion" button to save your changes.
- Step 8: Click "Demo X" button to install demo version that you prefer to install. After that, click "Save config" button on the top.
- Step 9: Flush Cache: After successfully import your demo, save Theme Settings and Design Settings and clear the cache by using this command as php bin/magento cache:flush in Command Prompt. Or you could go to System >> Tools >> Cache Management, click 'Flush Cache Storage' button to flush all the cache.
php bin/magento setup:static-content:deploy -f
chmod -R 777 pub
chmod -R 777 generated
chmod -R 777 var
Note. Please remember that: If you have imported these Static Blocks, Pages successfully, you would have all blocks and pages provided with this theme and you do not need to create any static blocks or pages manually as the following instruction of this document.
Homepage Configuration
- To configure the default home page for your store, please go to Stores>> Settings >>Configuration>>General>>Web>>Default Pages tab, select the desired page in the CMS Home Page field and save configuration.
- You need to change to the website / store view that you want to change (the dropdown menu in the upper left corner). You will probably have to create a new CMS page if you want to have something different from your default home page.
From the top menu, please select Content >> Elements >> Pages. Here you can find all the store pages that you have imported, so you don't need to add them. You only need to update the pages HTML and XML content as you wish.
Please try to use below example code in layout update XML.
<referenceContainer name="page.top">
<block class="Sm\ImageSlider\Block\ImageSlider" name="imageslider" template="Sm_ImageSlider::default.phtml"/>
</referenceContainer>
Please try to use below example code in your cms contents.
<div class="banner-image">
<div class="row">
<div class="col-xs-4">
<a href="#" title="Banner">
<img src="{{media url="wysiwyg/bn1.jpg"}}" alt="Banner" />
</a>
</div>
<div class="col-xs-4">
<a href="#" title="Banner">
<img src="{{media url="wysiwyg/bn2.jpg"}}" alt="Banner" />
</a>
</div>
<div class="col-xs-4">
<a href="#" title="Banner">
<img src="{{media url="wysiwyg/bn3.jpg"}}" alt="Banner" />
</a>
</div>
</div>
</div>
1. How to show "Listing Tabs"
Please try to use below example code in your cms contents.
<div class="product-slider">
{{block class="Sm\ListingTabs\Block\ListingTabs" template="Sm_ListingTabs::default.phtml"}}
</div>
2. How to show "Basic Products"
Please try to use below example code in your cms contents.
<div class="full-block">
<div class="container">
<div class="product-slider">
{{block class="Sm\BasicProducts\Block\BasicProducts" template="Sm_BasicProducts::product-slider.phtml" img_width="285" img_height="370" product_description_display="1" product_order_by="best_sales"}}
</div>
</div>
</div>
<div class="w-banner testimonial block">
<h2>Testimonial</h2>
<div class="slide">
<div class="item">
<div class="w-text">
<p class="text-content">Both times I've ordered from you, I had an excellent experience. I'm a small purchaser, but you treated me like royalty. Customer service is above and beyond.<span class="icontext">icontext</span>
</p>
<p class="tg">
<span>Mama Duo</span>- Social Media Strategist</p>
</div>
<div class="w-text last">
<p class="text-content">Both times I've ordered from you, I had an excellent experience. I'm a small purchaser, but you treated me like royalty. Customer service is above and beyond.<span class="icontext">icontext</span>
</p>
<p class="tg">
<span>Mama Duo</span>- Social Media Strategist</p>
</div>
</div>
<div class="item">
<div class="w-text">
<p class="text-content">Both times I've ordered from you, I had an excellent experience. I'm a small purchaser, but you treated me like royalty. Customer service is above and beyond.<span class="icontext">icontext</span>
</p>
<p class="tg">
<span>Mama Duo</span>- Social Media Strategist</p>
</div>
<div class="w-text last">
<p class="text-content">Both times I've ordered from you, I had an excellent experience. I'm a small purchaser, but you treated me like royalty. Customer service is above and beyond.<span class="icontext">icontext</span>
</p>
<p class="tg">
<span>Mama Duo</span>- Social Media Strategist</p>
</div>
</div>
</div>
</div>
<script type="text/javascript">
require([
'jquery',
'owlcarousel'
], function ($) {
var tes_slider = $(".testimonial .slide");
tes_slider.owlCarousel({
responsive:{
0:{
items: 1
},
480:{
items: 1
},
768:{
items: 1
},
992:{
items: 1
},
1200:{
items: 1
}
},
autoplay:true,
loop:true,
nav : true,
dots: false,
autoplaySpeed : 500,
navSpeed : 500,
dotsSpeed : 500,
autoplayHoverPause: true
});
});
</script>
<div class="col-lg-4">
{{block class="Magento\\Cms\\Block\\Block" block_id="testimonial-slider"}}
</div>
Please try to use below example code in your cms contents.
<div class="w-brands block brand-slider">
<h2>Our Brands</h2>
<div class="slide">
<div class="item">
<a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a class="last">
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a class="last">
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a class="last">
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a>
</div>
<div class="item">
<a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a class="last">
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a class="last">
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a>
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a> <a class="last">
<img src="{{media url="wysiwyg/logo-brand.png"}}" alt="" />
</a>
</div>
</div>
</div>
<script type="text/javascript">
require([
'jquery',
'owlcarousel'
], function ($) {
var brand_slider = $(".brand-slider .slide");
brand_slider.owlCarousel({
responsive:{
0:{
items: 1
},
480:{
items: 1
},
768:{
items: 1
},
992:{
items: 1
},
1200:{
items: 1
}
},
autoplay:true,
loop:true,
nav : true,
dots: false,
autoplaySpeed : 500,
navSpeed : 500,
dotsSpeed : 500,
autoplayHoverPause: true
});
});
</script>
<div class="col-lg-4">
<div class="brand-slider">
{{block class="Magento\\Cms\\Block\\Block" block_id="brand-slider"}}
</div>
</div>
Please try to use below example code in your cms contents.
<div class="muzik-servies">
<div class="container">
<div class="row">
<div class="col-sm-4 column1">
<ul>
<li>
<a href="#">Free Shipping</a>
</li>
<li>Pellentesque dictumst nibh Nulla dui at urna leo wisi dui Curabitur. Laoreet Nulla et id urna et vitae </li>
</ul>
</div>
<div class="col-sm-4 column2">
<ul>
<li>
<a href="#">Money Back Guarantee</a>
</li>
<li>Pellentesque dictumst nibh Nulla dui at urna leo wisi dui Curabitur. Laoreet Nulla et id urna et vitae </li>
</ul>
</div>
<div class="col-sm-4 column3">
<ul>
<li>
<a href="#">Promotions</a>
</li>
<li>Pellentesque dictumst nibh Nulla dui at urna leo wisi dui Curabitur. Laoreet Nulla et id urna et vitae </li>
</ul>
</div>
</div>
</div>
</div>
</div>
Theme Setting
In Magento admin panel, navigate to Stores>> Settings>> Configuration >> MAGENTECH.COM >> SM Moza and configure its settings as you want.
Please click Here to view the theme settings.
Theme Color: In this option, you can set main color of entire page.
Body Font
In these options, you can change main font, font size, link color, text color, background, etc.
Menu
Menu Style: This theme support mega menu and css menu. You can select a menu style that you want.
Menu on Top: Choose "Yes" to turn on "Sticky Menu" feature, the menu will be fixed on top when scroll down the page.
Mobile Menu Type: This theme support sidebar menu and collapse on mobile. You can select a menu style that you want.
Layout Style: This theme support boxed and full width layout. You can select a layout style that you want.
Max Width: You can change page's width.
Responsive Layout: Choose "Yes" to show responsive layout for each type of devices.
We provides flexible grid system includes: layout 1 column, layout 2 columns, layout 3 columns. You can change product's quantity per row to fit each screen.
Detail Style: This option allow you choose detail style types that you want.
Image Box
Thumbs Styles: This option allow you choose thumb style types that you want.
Enable Loop: Choose "Yes" to repeat your loop.
Enable Keyboard Trigger: Choose "Yes/No" to "Enable/Disable" keyboard trigger feature.
Show Navigation: Choose "Yes/No" to "Show/Hide" navigation.
Enable Popup Fullscreen: Choose "Yes" to show fullscreen popup when you mouse click on the product detail.
Show Thumbs Navigation: Choose "Yes/No" to "Show/Hide" thumb navigation.
Thumbs Margin: Distance between the thumb images.
Thumbs Border Active Width: You can change width of thumb boder when active.
Breakpoints: Breakpoints are used to set up the screen width at which the design of thumbnails changes.
Image Zoom
Enable Product Image Zoom: Choose "Yes/No" to "Allow/Not Allow" show product image zoom when you mouse hover on the product image.
Related - Upsell Product
In these options, you can choose "Yes/No" to "Show/Hide" and set limit quantity for related and upsell products.
Tab
Choose tab style types that you want.
Custom Tab
Choose "Yes", you can change name and add content for Custom Tab.
Choose "Yes" to show socials. When you choose "Yes", you can change name and link of socials.
Advanced
Choose "Yes/No" to "Show/Hide" Go to Top, Add to Cart, Add to Wishlist, Add to Compare, Newsletter Popup, Copyright, etc.
Developer
To custom Css or Javascript
Import Static Blocks
By clicking this button, you can import all static blocks that are used for our demo site.
Import Pages
By clicking this button, you can import all pages that are used for our demo site.
Import Demos
Click "Demo X" button to install demo version that you prefer to install.
Note: When you click "Demo X" button, the administration page will reload automatically. After it finishes reloading, please click "Save Config" button and refesh cache.
Extensions
Magentech Extensions
Enable Extensions: Allow to enable/disable the module. If choose "Disable", magento's default menu style will be applied.
Select Mega Menu: Allow to choose Mega Menu.
Select Template: This module support 2 templates for presenting of menu (Horizontal and Vertical).
Select Effect: We support effects for Mega menu (CSS/Animation/Toggle)
Advanced Options
Allow to choose to cache the content of module.How to create list Menu Items for your menu?
- Sortable Categories Items: Please click Here to view.
- Backend Settings: Please click Here to view.
General Settings
Enabled Extensions: Allow to enable/disable the module.
Item Class: Get link item for quick view button from this selector.
Item Class Show Button: Append quick view button into this selector.
Label Button: You can define texts of the quickview labels.
Popup Config
Popup Width: You can change popup's width.Auto Size: Allow to select auto size. If you select “Yes” then it will set both auto-height and auto-width.
Popup Height: You can change popup's height.
Display Overlay: Allow show/hide overlay.
Open Effect: Effect when you turn on quickview popup.
Close Effect: Effect when you turn off quickview popup
General Settings
Enabled Extensions: Allow to enable/disable the module.
Display Title: Allow to show/hide the title.
Title: Enter the title of the module.
Target: Allow to display the target link in Same Window/ New Window/ Popup Window
Column: Set the number of columns for each type of devices.
Source Options
Select Source: Allow you to select source: catalog/ media or Product IDs.
Select Category: Allow you to select Category.
Child Category Products: Include or Exclude Products from Child Categories.
Category Depth: Allow to change the number of child category levels to return.
Featured Products: Allow to Show/Hide/Only Featured Products.
Product Field to Order By: Set Product Field to Order By.
Ordering Direction: Allow to order ascending/descending direction.
Product Limitation: Allow to set product limitation.
Categories Title Options
Categories Title Display: Allow show/hide title of category.
Title Max Chars: Allow to enter max chars of category title.
Product Options
Allow show/hide product title, product description, price.Image Options
Allow get image from product image or product description when you choose "Yes".
Order to Get: Allow to order to get image with options such as product_image, product_description.
Resize: Allow you resize product image when you choose "Yes".
Image Width: You can set image's width.
Image Height: You can set image's height.
Background Color: You can set background color.
Image Replacement: Only when the product has no image, the module will take photos from placeholder to replace.
Advanced Options
Pre-text: The content to show at the top of module.
Pre-text: The content to show at the end of module.
Caching: Allow to choose to cache the content of module. If you choose "Yes", you can set the time before the module is recached.
Enabled Extensions: Allow to enable/disable the module.
Display Title: Allow to show/hide the title.
Title: Enter the title of the module.
User Ajax: Choose "Yes" to use ajax when filter instead the homepage will reload automatically.
Use Price Slider: Choose "Yes" to use price slider.
Enabled Extensions: Allow to enable/disable the module.
Enable Ajax Cart: Choose "Yes" to use ajax box when you add cart instead the homepage will reload automatically.
Enable Ajax for Compare: Choose "Yes" to use ajax box when you add compare instead the homepage will reload automatically.
Enable Ajax for Wishlit: Choose "Yes" to use ajax box when you add wishlist instead the homepage will reload automatically.
Countdown Number: The time of ajax box displaying on the screen.
Effect Selector: You can use effects “Click” or ” Hover”.
General Settings
Enabled Extensions: Allow to enable/disable the module.
Display Title: Allow to show/hide the title.
Title: Enter the title of the module.
Target: Allow to display the target link in Same Window/ New Window/ Popup Window
Theme: Select theme that you want.
Source Options
Input title, link, media, content. Please go to the installation directory to get the image’s source as you want.For example: wysiwyg/slideshow/slide-1.jpg
Product Options - For Theme 2
If you select theme 2, you can config show/hide product title or product description and set the max length of product title here.
Image Options
You can set width, height, background color, image replacement of images.Effect Options
Auto Play: Allow to Enable/Disable auto play.
Start: Allow to set the first image of slideshow.
Step: Set the number of items for each slide transition.
Speed: Allow to set the speed of slide.
Interval: The duration to change to next slide.
Stop on hover: Allow to Stop effects when users hover.
Navigation: Allow to show/hide the next/previous button.
Loop: Choose "Yes" to loop items when you click next/previous button.
Dots: Allow to show/hide dots navigation style.
Margin-Right: Allow to set right margin of the image.
Nav Speed: Allow to set the speed of Navigation
Mouse Drag: Allow to use the cursor to navigate pages in this module.
Dots Speed: Allow to set the speed of dots navigation style.
Advanced Options
Pre-text: The content to show at the top of module.
Post-text: The content to show at the end of module.
Caching: Allow to choose to cache the content of module. If you choose "Yes", you can set the time before the module is recached.
General Options
Enabled Extensions: Allow to enable/disable the module.
Display Title: Allow to show/hide the title
Title: Enter the title of the module.
Target: Allow to display the target link in Same Window/ New Window/ Popup Window
Class Suffix: Allow uses to add suffix for class.
Columns: Set the number of columns for each type of devices.
Source Options
Fiter Type: Allow you to select Type of Filter.
Select Category: Allow you to select Category.
Child Category Products: Include or Exclude Products from Child Categories.
Featured Products: Set Product Field to Order By.
Product Field to Order By: Set Product Field to Order By.
Ordering Direction: Allow to order ascending/descending direction.
Product Limitation: Allow to set product limitation.
Tabs Options
Tab All Display: Allow to choose tab all display or not.
Category title max length: Allow to set the max length of category title
Categories Order By: Set Categories Order By: Name/Position/Random.
Categories Ordering Direction: Allow to order ASC(ascending)/ DESC(descending) direction.
Display Icon: Allow to show/ hide icon.
Get Image From Category Image: Allow get image from category image
Get Image From Category Description: Allow get image from description image
Order to Get: Allow to order to get image with options such as category_description,category_image.
Resize: Allow you resize product image when you choose "Yes".
Image Width: You can set image's width.
Image Height: You can set image's height.
Background Color: You can set background color.
Placeholder: Only when the product has no image, the module will take photos from placeholder to replace.
Product Options
Allow show/hide product title, product description, price.
Image Options
Allow get image from product image or product description when you choose "Yes".
Order to Get: Allow to order to get image with options such as product_image, product_description.
Resize: Allow you resize product image when you choose "Yes".
Image Width: You can set image's width.
Image Height: You can set image's height.
Background Color: You can set background color.
Image Replacement: Only when the product has no image, the module will take photos from placeholder to replace.
Effect Options
Effect: Allow to select effect that you want.
Speed: Allow to set speed of slide.
Interval: Allow to set interval timer.
Config When Type Module Is Slider.
Display Navigation: Allow to show/hide the next/previous button.
Display Loop: Choose "Yes" to loop items when you click next/previous button.
Dots: Allow to show/hide dots navigation style.
Margin-Items: Allow to set margin of the image.
Slide By: Allow to choose the number of products displayed when clicking next/previous button.
Auto Play: Allow to Enable/Disable auto play.
Pause On Hover: Allow to Pause effects when users hover.
Auto Play Speed: Allow to set speed of timer (larger = slower).
Navigation Speed: Allow to set the speed of Navigation.
Start Position Item: Allow to choose the first item by position number.
Mouse Drag: Allow to use the cursor to navigate pages in this module.
Touch Drag: Allow to Enable/Disable Touch Drag.
Advanced Options
Pre-text: The content to show at the top of module.
Post-text: The content to show at the end of module.
Caching: Allow to choose to cache the content of module. If you choose "Yes", you can set the time before the module is recached.
Enabled Extensions: Allow to enable/disable the module.
Root Catalog Id: Allow to choose root catalog which SM Search Box uses.
Max Level: The number of child category levels to return.
Show Popular Search: Allow to show popular search.
Limit Popular: Limit number popular search.
Text Show More: Allow to set text for showing more.
Show Advanced Search: Allow to show advanced search.
Pre-text: Set the text that is showed above an instance of module. Post-text: Set the text that is showed under an instance of module.
Other Extensions
Please try to use below example code in your cms contents.
<div class="col-lg-4">
{{widget type="Magefan\Blog\Block\Widget\Recent" title="Latest Blog" number_of_posts="3"}}
</div>
Other
Support
SUPPORT - If you have any questions that are beyond the scope of this help file, please feel free to send us via: Support Tickets System
FAQs - Go to Here to view more the Frequently Asked Questions.
Change Log
- Fixed bug: Modules displayed blank page when using media type.
- Fixed error module megamenu in admin.
- Fixed error when enabling developer mode.
Upgrade to be compatible with Magento 2.1.9.
Compatible with Magento 2.1.8
Compatible with Magento 2.1.7
Compatible with Magento 2.1.6
Compatible with Magento 2.1.5