Overview
Gelli 2 Documentation v2.1
ArrowHiTech Jsc has achieved more than 6 years of experience working on Magento commerce and completed 2000+ Magento projects so far. Thanks to our rich experience in the realm, our proficient team of Magento developers and managers have designed and developed a lot of useful extensions exploiting great features of Magento.
Version: 2.0+
Author: Magesolution.
Gelli 1 documentation: Click here.
Install Magento
If you haven't got a Magento website yet, you will have to install a copy of Magento Community Edition open source e-commerce web application before using Molly Responsive Magento theme.
If you already have installed Magento you can skip this section
To install Magento, follow these steps:
Check if your server is compatible with Magento 2
Operating systems (Linux x86-64)
Linux distributions such as RedHat Enterprise Linux (RHEL), CentOS, Ubuntu, Debian, and so on
Composer (latest stable version)
Composer is required for developers who wish to contribute to the Magento 2 codebase or anyone who wishes to develop Magento extensions
Web servers
Database
MySQL 5.6 (Oracle or Percona)
PHP
PHP documentation: CentOS, Ubuntu
Required PHP extensions:
PHP OPcache
We strongly recommend you verify the PHP OPcache is enabled for performance reasons. The OPcache is enabled in many PHP distributions. To verify if it is installed, see our PHP documentation for CentOS or Ubuntu.
If you must install it separately, see the PHP OPcache documentation.
PHP settings
We recommend particular PHP configuration settings, such as memory_limit
, that can avoid common problems when using Magento.
For more information, see our recommendations for CentOS and Ubuntu.
SSL
Mail server
Mail Transfer Agent (MTA) or an SMTP server
Magento can utilize the following technologies:
Optional but recommended:
php_xdebug2.2.0 or later (development environments only; can have an adverse effect on performance)
There is a known issue with xdebug
that can affect Magento installations or access to the storefront or Magento Admin after installation.
PHPUnit (as a command-line tool) 4.1 or later
Download Magento 2
You can download magento 2 here: https://www.magentocommerce.com/download. If you want to use sample data please download "Full Release with Sample Data (ZIP with sample data)" package, if not please download "Full Release (ZIP with no sample data)" package
Transfer the Magento archive to your server
To transfer the Magento software archive to your server:
- 1. Install and configure a file transfer protocol (FTP) or secure copy protocol (SCP) client to transfer the Magento software from your computer to your server.
There are many ways to configure FTP and SCP. Following are a few packages you can use. Magento does not recommend particular software.
- 2. Create a connection to your Magento server.
Follow the prompts on your screen or consult the documentation provided with your FTP software for more information.
- 3. After you log in to your server, browse to locate the Magento CE or EE archive on your local system.
On the remote system, browse to locate the web server docroot directory.
The following figure shows an example.
- 4.Transfer the archive from your local system to the web server docroot directory.
On some FTP client software, you do this by dragging and dropping.
- 5. Wait while the transfer completes.
- 6. Log in to your Magento server, or switch to, the Magento file system owner.
- 7. Change to the web server docroot or the virtual host directory.
- 8. Create a subdirectory for the Magento software.
If you set up a virtual host, the subdirectory name must match the name in your virtual host.
For example,
mkdir magento2ce
mkdir magento2ee
You can also use a generic directory name
mkdir magento2
- 9. Copy the Magento archive to that directory.
For example,
cp /var/www/Magento-CE-2.0.0+Samples.tar.bz2 magento2
- 10.Continue with the next section.
Extract the software on your server
Log in to your Magento server as, or switch to, the Magento file system owner and extract the software package in the web server docroot using one of the following commands:
File format |
Command to extract |
.tar.gz |
tar zxf <filename> |
.zip |
unzip <filename> |
.tar.bz2 |
tar jxf <filename> |
The Magento software extracts to the directory you created. After the file has extracted, either delete the Magento archive or move it to another directory.
Set file system ownership and permissions
This topic discusses how to set read-write permissions for the web server group before you install the Magento software. This is necessary so the Setup Wizard or command line can write files to the Magento file system.
The procedure you use is different, depending on whether you use shared hosting and have one user or if you use a private server and have two users.
If you're using a Magento version earlier than 2.0.6, see Appendix—Magento file system ownership and appendix (legacy) instead.
Running the Setup Wizard
The Setup Wizard is a multi-page wizard that enables you to go back and forward one page at a time. You cannot skip pages, and you must enter all required information on every page before you can proceed to the next page.
In the event of errors, you can run the installer again or you can return to a previous page to fix errors on that page.
Getting started
To install the Magento software using the Setup Wizard:
- 1. Start a web browser.
- 2. Enter the following URL in the browser’s address or location bar:
http:////setup
For example, if the Magento server’s IP address is 192.0.2.10 and you installed Magento 2 in the magento2 directory relative to the web server’s docroot, and you did not configure a Virtual Host, enter:
http://192.0.2.10/magento2/setup
- 3. On the initial page, click Agree and Set Up Magento.
- 4. Continue with the following topics in the order presented to complete the installation.
Finish
When your Magento installation is completed successfully you can start theme installation procedure.
1. Install Theme
1.1 Upload Pack
Using a FTP client to upload content of "Upload" folder to the root folder on your Web Server (usually named public_html).
1.2 Refresh Cache
Go to System -> Cache management. Select all, choose refresh action and submit.
1.3 Enable Module and Deploy theme
- Login to your server with your SSH account
- Switch to apache user
- Change to magento root directory
- Run command line: php bin/magento module:enable MGS_Mpanel
- Run command line: php bin/magento module:enable MGS_Mmegamenu
- Run command line: php bin/magento module:enable MGS_Portfolio
- Run command line: php bin/magento module:enable MGS_Testimonial
- Run command line: php bin/magento module:enable MGS_Brand
- Run command line: php bin/magento module:enable MGS_Core
- Run command line: php bin/magento module:enable MGS_Promobanners
- Run command line: php bin/magento module:enable MGS_StoreLocator
- Run command line: php bin/magento module:enable MGS_Blog
- Run command line: php bin/magento module:enable MGS_QuickView
- Run command line: php bin/magento setup:upgrade
- Run command line: php bin/magento setup:static-content:deploy
1.4 Install Theme
Go to MGS -> Theme Setting
At Install Theme section, you can see a button call "Install Gelli theme", click to this button
1.5 Import Home Page
Go to MGS -> Theme Setting [Import]
Click to "Gelli", you can see all homepages with thumbnail. Click to button to import homepage as you want, if you want to import homepage for special store view, please switch to store view first
Note: If this homepage selected to import has block Featured, you must create attribute featured_product
Step 1: Go to STORES -> Attribute [Product] -> [Add New Attribute]
Step 2: Config attribute & Save
- Default Label: Featured Product
- Catalog Input Type for Store Owner: Yes/No
- Values Required: No
- Attribute Code: featured_product
2. Install Full Demo
To import full demo, first, you need install Magento, install theme (Please read Install Magento and Install Theme) then download database and media of the theme:
Database : https://www.dropbox.com/s/0w5e1qysx9yqqb2/gelli.sql.zip?dl=0
Media : https://www.dropbox.com/s/e8hctlagg5177tr/media.zip?dl=0
After download sql file and media file, please import sql file you have downloaded to your phpmyadmin:
- Go to Cpanel -> My SQL Database
- Create new database
- Create new account of database
- Assign database to user
- Set permissions for user
- Go back to cpanel and go to phpmyadmin
- Click to database you have created
- Click Import
- Click "Browse..." button and choose the database you have downloaded
- Click "Go" button to import database
- After import database, please find and go to database table name core_config_data
- Find 2 records with path are web/unsecure/base_url and web/secure/base_url
- Edit value of them to your site url, eg:
- Open the file: app/etc/env.php on your host:
- Edit user, password, database name of the database you have created:
- Save this file and upload to your host again
- Unzip media.zip file you have downloaded then you will get an folder name media
- Upload this folder to "pub" folder in magento root folder
- Done, now the full demo data of the theme have installed on your site
Backend account after install full demo data:
- Username: admin
- Password: admin999
Note: In some case, you will have to run command upgrade:
bin/magento setup:upgrade ( or php bin/magento setup:upgrade if the first command not work )
3. Add Content To Homepage
3.1 Change Header Version
1. Go go admin MGS -> Theme Setting -> Select store view you want to use.
2. Choose Header version.
3.2 Edit Home Page
Go to Back-End -> Menu -> Content -> Pages -> Select CMS page as Homepage -> Import code or edit code
3.3 Add Static Block To Homepage
Import with code
{{widget type="Magento\Cms\Block\Widget\Block" template="widget/static_block/default.phtml" block_id="static_block_identifier"}}
- static_block_identifier: you need replace this code by identifier of static block that you created
3.4 Add owl carousel slider
You can download this video to create revolution slide by yourself
http://www.mediafire.com/download/e91f40fd4ydqxct/owl-slider.mp4
If you choose use owl carousel slider.
First you create a static block with the content as images that you want to use for slider. You should add "class='img-responsive'" as attribute of img tag:
Example:
Then you go to MGS -> Theme Setting -> Banner Slider section and fill identifier of static block that you just created to "Static Block Identifier" field.
Continue you go to CONTENT -> Pages and add slider to homepage you want by use widget:
3.5 Add testimonial
First you go to admin MGS -> Manage Items ( under Testimonial ) to create testimonial you want.
Then you go to CONTENT -> Pages and edit homepage you want to use then add the code follow:
{{block class="MGS\Testimonial\Block\Testimonial" testimonials_count="3" row="1" custom_class="testimonial-slide" nav="true" dots="true" autoplay="false" template="slide.phtml"}}
- testimonials_count: Number of testimonial you want to show
- row: Number of row you want to show
- nav: Show navigation or not
- dots: Show pagination or not
- autoplay: Auto play or not
3.6 Add promobanners
First you go to admin MGS -> Manage Banners ( under Promo Banners ) to create promobanner you want.
Then you go to CONTENT -> Pages and edit homepage then you can add promobanner to homepage by using widget
3.7 Add brand list
First you go to admin MGS -> Configuration ( under Shop By Brand ) to config for brand.
Then you go to admin MGS -> Manage Brands ( under Shop By Brand ) to create the brand you want.
Continue you go to CONTENT -> Pages and edit homepage then you can add brand list to homepage by using widget
3.8 Add portfolio
First you go to admin MGS -> Portfolio Items ( under Portfolio ) to create portfolio you want.
Continue you go to CONTENT -> Pages and edit homepage then add the code follow:
{{block class="MGS\Portfolio\Block\Portfolio" title="Our Portfolio" portfolio_count="8" per_row="4" custom_class="abc" note_text="We work with Love & Passion!" template="widget.phtml"}}
- title: Title you want show at the homepage
- portfolio_count: Total of portfolios show homepage
- per_row: Number of portfolios show per row
- note_text: Text showed under title
3.9 Add blog
First you go to admin MGS -> Configuration ( under Blog ) to config setting for blog.
Then you go to admin MGS -> Manage Posts ( under Blog ) to create blogs you want.
Continue you go to CONTENT -> Pages and edit homepage then you can add brand list to homepage by using widget
4. Custom Class
4.1 Margin class
margin*, margin-top*, margin-right*, margin-left*, margin-bottom*
To add margin of element (all, top, right, left, bottom). * value : 5,10,15,20,25,30,35,40,45,50
Example: margin20, margin-top30, margin-right40, margin-bottom5
4.2 Padding class
padding*, padding-top*, padding-right*, padding-left*, padding-bottom*
To add padding of element (all, top, right, left, bottom). * value : 5,10,15,20,25,30,35,40,45,50
Example: padding20, padding-top30, padding-right40, padding-bottom5
4.3 Custom class for product block
Class: no-center
Class: icon-horizontal
Mode hover: center
4.3 Custom class for Subscribe Us
Class: blue-style
4.4 Custom class for Brand
Default: No custom class
Class: border-color theme-hover-color
4.3 Custom class for Owl button (Layout, Position)
Default - No custom class
Class: owl-control-bottom
5. Gelli Home Page Setup
Note: To change version homepage for your store view, you make follow:
Go to admin Stores -> Configuration then make follow below:
Last click "Save Config" button.
5.1 Home Version 1 (comming soon)
5.2 Home Version 2 (comming soon)
5.3 Home Version 3
Config Store
MGS -> Theme Settings [General]
- Header: Header 3
- Footer: Footer 3
MGS -> Theme Settings [Banner Slider]
- Static Block Identifier: home_slider
SECTION 1 - Slider
Step 1: Insert slider with Widget MGS Slider.
{{widget type="MGS\Mpanel\Block\Widget\Slider"}}
Step 2: Create static block Gelli home slider.
- Block Title: Gelli home slider
- Indentifier: home-slider
- Content:
The Rosi valentine collection
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque aliquam ornare tellus, quis llicitudin nunc lobortis in. Duis vel venenatis justo, nec accumsan lacus.
View more
Women collection
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque aliquam ornare tellus, quis llicitudin nunc lobortis in. Duis vel venenatis justo, nec accumsan lacus.
View more
Step 3: Config slider for home page MGS-> Theme Setting [Banner Slider].
Static Block Identifier: home-slider
Step 4: Insert widget MGS Slider to this position. (See it at step 1)
SECTION 2 - Home Banner
Create static block
- Block Title: Gelli home 03 banner
- Indentifier: gelli-home-03-banner
- Content:
Lorem ipsum dolor sit amet, consectetur
Lorem ipsum dolor sit amet, consectetur
SECTION 3 - New Products
Step 1: Create layout (Bootstrap)
// Insert Block New Products here
Step 2: Use widget MGS Product List to insert block New Products
SECTION 4 - Categories Products
Step 1: Create static block
- Block Title: Gelli special left
- Indentifier: gelli_special_left
- Content:
Step 2: Create static block
- Block Title: Gelli nav cycle
- Indentifier: gelli_nav_cycle
- Content:
Step 3: Use widget MGS Product List to insert block categories Products
Step 4: Insert static block and widget MGS
//insert static block "gelli_special_left" here
//insert widget MGS cate 1 here
//insert widget MGS cate 2 here
//insert widget MGS cate 3 here
//insert widget MGS cate 4 here
//insert static block "gelli_nav_cycle" here
SECTION 6 - Daily Deals
Step 3: Use widget MGS Daily deals to insert block Daily deals
Step 2: Insert Widget
// Insert Widget MGS Daily deals here
SECTION 7 - Lastest News & Testimonials
Step 1: Insert Widget Lastest News
Step 2: Insert Widget Testimonial
{{block class="MGS\Testimonial\Block\Testimonial" testimonials_count="3" row="1" custom_class="testimonial-slide" nav="true" dots="true" autoplay="false" template="slide.phtml"}}
Step 3: Insert Widget
//insert Lastest News here
//insert Testimonial here
SECTION 8 - Best Selling & New Arrivals
Step 1: Use widget MGS Product List to insert block Best Selling
Step 2: Use widget MGS Product List to insert block New Arrivals
Step 3: Insert widget
//insert widget Best Selling here
//insert widget New Arrivals here
SECTION 9 - Popular Brands
Step 1: Create layout bootstrap
Step 2: Insert widget Brands block
5.4 Home Version 4 (comming soon)
5.5 Home Version 5 (comming soon)
5.6 Home Version 6 (comming soon)
5.7 Home Version 7 (NEW)
Config Store
MGS -> Theme Settings [General]
- Header: Header 7
- Footer: Footer 7
MGS -> Theme Settings [Banner Slider]
- Static Block Identifier: home_07_slider
SECTION 0 - Slider
Step 1: Insert slider with Widget MGS Slider.
{{widget type="MGS\Mpanel\Block\Widget\Slider"}}
Step 2: Create static block Gelli home slider.
- Block Title: Gelli home 07 slider
- Indentifier: home_07_slider
- Content:
The Rosi valentine collection
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque aliquam ornare tellus, quis llicitudin nunc lobortis in. Duis vel venenatis justo, nec accumsan lacus.
View more
Women collection
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque aliquam ornare tellus, quis llicitudin nunc lobortis in. Duis vel venenatis justo, nec accumsan lacus.
View more
Step 3: Config slider for home page MGS-> Theme Setting [Banner Slider].
Static Block Identifier: home_07_slider
Step 4: Insert widget MGS Slider to this position. (See it at step 1)
SECTION 1 - Women box
Step 1: Create static block
- Block Title: Gelli home 07 woman
- Indentifier: gelli_home_07_woman
- Content:
Women collection
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque aliquam ornare tellus, quis llicitudin nunc lobortis in. Duis vel venenatis justo, nec accumsan lacus.
View now
Step 2: Create layout (Bootstrap)
// Insert Static block "gelli_home_07_woman" here
// Insert Products collection here
Step 3: Use widget MGS Product List to insert block Product Collection
SECTION 2 - Men box
Step 1: Create static block
- Block Title: Gelli home 07 men
- Indentifier: gelli_home_07_men
- Content:
men collection
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque aliquam ornare tellus, quis llicitudin nunc lobortis in. Duis vel venenatis justo, nec accumsan lacus.
View now
Step 2: Create layout (Bootstrap)
// Insert Products collection here
// Insert Static block "gelli_home_07_woman" here
Step 3: Use widget MGS Product List to insert block Product Collection
SECTION 3 - Couple box
Step 1: Create layout (Bootstrap)
Couple collection
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque aliquam ornare tellus, quis llicitudin nunc lobortis in. Duis vel venenatis justo, nec accumsan lacus.
// Insert Products collection here
Step 2: Use widget MGS Product List to insert block Product Collection
6. Static Block
6.1 Gelli Footer Logo
- Block Title: Gelli Footer Logo
- Identifier: gelli_footer_logo
- Content:
6.2 Gelli home slider
- Block Title: Gelli home slider
- Identifier: home-slider
- Content:
Gelli
jewelry collection
Rings
Hot collection
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy...
6.3 Gelli Footer Main Menu
- Block Title: Gelli Footer Main Menu
- Identifier: gelli_footer_main_menu
- Content:
6.4 Gelli Footer Shopping Info
- Block Title: Gelli Footer Shopping Info
- Identifier: gelli_footer_shopping_info
- Content:
6.5 Gelli Footer Userful links
- Block Title: Gelli Footer Userful links
- Identifier: gelli_footer_userful_links
- Content:
6.6 Gelli Footer Polocies
- Block Title: Gelli Footer Polocies
- Identifier: gelli_footer_policies
- Content:
6.7 Gelli Footer Info
- Block Title: Gelli Footer Info
- Identifier: gelli_footer_info
- Content:
6.8 Gelli Footer Payment Icons
- Block Title: Gelli Footer Payment Icons
- Identifier: gelli_footer_payment_icons
- Content:
6.9 Gelli social header
- Block Title: Gelli social header
- Identifier: gelli_social_header
- Content:
6.10 Gelli ft newsletter
- Block Title: Gelli ft newsletter
- Identifier: gelli_ft_newsletter
- Content:
{{block class="Magento\Newsletter\Block\Subscribe" name="form.subscribe" as="subscribe" before="-" template="subscribe.phtml"}}
6.11 Gelli banner cate left
- Block Title: Gelli banner cate left
- Identifier: gelli_banner_cate_left
- Content:
<
{{widget type="MGS\Promobanners\Block\Widget\Banner" banner_id="1" template="banner.phtml"}}
6.12 Gelli product Tags
- Block Title: Gelli product Tags
- Identifier: gelli_product_tags
- Content:
6.13 Gelli feature products
- Block Title: Gelli feature products
- Identifier: gelli_feature_product
- Content:
{{widget type="MGS\Mpanel\Block\Widget\ProductList" title="Featured Product" view_mode="mode_list" type_list="new" category_id="category/3" number_show="4"}}
6.14 Gelli About us service
- Block Title: Gelli About us service
- Identifier: gelli-about-us-service
- Content:
Free shipping on all of world
15 days money back guaratee
Free shipping on all of world
6.15 Gelli page contact information
- Block Title: Gelli page contact information
- Identifier: gelii-page-contact-information
- Content:
-
Address
Silkegade 13,
1113 Copenhagen K
Denmark
-
-
7. Custom Style
To add custom style go to MGS -> Theme Setting -> Custom Style, at the 'Add Custom Style', you add below style to textarea field.
8. Theme Settings
8.1 General Setting
Go go admin MGS -> General Setting
- Number of products per row: 2,3,4,6
- Featured Product Attribute: attribute to set featured products
- Best Selling Product Attribute: attribute to set best selling products
- Product Picture Ratio: set ratio for all product picture
- New Label: label for New products
- Sale Label: label for Sale products
- Hide Add to Wishlist button: show or hide wishlist button
- Hide Add to Compare button: show or hide compare button
- Show Sku: show or hide sku
- Show Reviews Summary: show or hide reviews summary
- Show Add to Wishlist Link: show or hide add to wishlist link
- Show Add to Compare Link: show or hide add to compare link
- Show Short Description: show or hide short description
- Show Upsell Products: show or hide upsell products
- Show Description: show or hide description tab
- Show Additional Information: show or hide additional information tab
- Show Reviews: show or hide reviews tab
Show or hide customer navigation links
8.2 Theme Setting
Go go admin MGS -> Theme Setting
- Width: max width of pages (1024px - 1200px - 166px - full width)
- Sticky menu: Enable sticky menu or not
- Display back to top icon: Show or hide back to top icon
- Enable Popup Newsletter: Show or hide newsletter popup
Options for background of pages, you can to use color code or images to set background
Options for fonts of page elements: default font, heading 1, heading 2, heading 3, heading 4, heading 5, heading 6, price, menu
We use google font for them.
Option allow you to add new font and add custom style for your pages (if you know how to use style sheet)
8.3 Color Setting
Go go admin MGS -> Color Setting
Set default color for theme
Set color for header sections
Color for background, text, links... of top links section
Set background for middle header content
Set color for top search elements
Set color for top cart elements
Set color for background, links of menu items
Set color for text, link, buttons of main content
9. How To
9.1 Setup Multi Languages
To setup multi languages, please see example here: http://magento.stackexchange.com/questions/98291/magento-2-different-languages-for-website/98307#98307
9.2 Setup Currency
To setup currency, you can go to Stores -> Configuration, choose Currency Setup tab. Set Allowed Currencies are the currency you want on your store.
Go to Stores -> Currency Rates, press import. Wait for the system to import currency exchange rate then press Save.
Go to System -> Cache Management and refresh the cache. Now you should see currency dropdown on the top left corner.
9.3 Enable Translate Inline
To enable translate inline for any store view, go to Stores -> Configuration, Click to Advanced tag on left menu, click to Developer
Switch to store view you want to translate at top of page.
At Translate Inline section, choose "Yes" for "Enabled for Storefront"
9.4 Create Store Locator
First you go to admin MGS -> Manage Stores ( under Store Locator ) to create store locator you want.
Then you created successfully stores locator of you, you can follow link: site_domain/storelocator
9.5 Setting Megamenu
Add new Megamenu items
From admin panel, go to Mage MGS -> Megamenu -> Manage Megamenu Items -> Click button "Add Megamenu Item"
Setting
- Label: Label show on menu.
- Link: Url of this
- Position: Position on menu.
- Columns: Column sub menu of this.
- Custom Class: If you want add orther style for this.
- Static Content: Add content to sub menu of this
Custom Setting
- Catalog Category:
- Menu Type: Catalog Category
- Categories: Choose Categories to show
- Static Contents:
- Top Content: Content on top megamenu
- Bottom Content: Content on bottom megamenu
- Static Content:
- Menu Type: Static Content
- Static Contents:
- Example Megamenu on Gelli theme:
- Megamenu Jewelry:
Code:
Image Demo:
Megamenu Home 07:
Code:
Image Demo: