SM Lovefashion Magento 2.1.x

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 this document throughtly 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.

Note: This theme has versions for Magento 1.9.x and Magento 2.1.x.

Version Userguide
SM Lovefashion Magento Version 1.9.x
SM Lovefashion Magento Version 2.1.x Please click Here to view

1 SYSTEM REQUIREMENT

At the basic level, this theme will require the following conditions:

    • Compatible with Magento Community Edition 2.1.x
    • Composer (latest stable version)
    • PHP 5.6 (Magento 2.1.x no longer supports PHP 5.5)
    • PHP 7.0.2, 7.0.6 up to 7.1
    • MySQL 5.6
    • Apache 2.2 or 2.4
    • nginx 1.8 (or latest mainline version)
    • Memory_limit no less than 2GB
    • In the future if the conditions change, please check the Magento technology stack requirements

2INSTALLATION

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): Suitable if your store is full with content that you don’t want to overwrite.

2.1 Quickstart Installation:

Magentech provides SM Quickstart package for each theme which aims to ease the installation for users. Please note that with Quickstart, all your existing data will be overwritten. Thus, if you plan to start your site from the beginning, it will help you save much time of installing and configuring.

Note: Follow Magento 2.0 Installation Guide to install the Composer before doing this Quickstart installation.

Please follow steps below:

  • Step 1: Download the quickstart package named as sm_love_fashion_quickstart_pl_m2.1.8_v2.5.0
  • Step 2: Extract and Upload 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
  • Note: You need to remember the database name to use in the next steps

    • Step 4:Import database sample_data.sql under the folder sm_love_fashion_quickstart_pl_m2.1.8_v2.5.0\data_quickstart

    Note:

    After successful import DO NOT run magento.

    Now we are going to Set file system ownership and permissions. To perform all actions, you should use PuTTY - a free SSH and telnet client for Windows on your computer. When you have the command-line access, enter the following commands in the order shown:

    Go Here to readmore about the action.

    • Step 5: Run installation process by opening browser and navigate to your URL (where the Quickstart uploaded) to load default Magento installer and follow each step of the Installer so that the installation process can be set.

    • Step 6: Choose Start Readiness Check. After Start Readiness Check is completed, select Next .


    When you click on “Start Readiness Check”,the error could occur like the below image

    You need to open your php.ini file and remove semicolon (;) in front of the following lines:

    • ;extension=php_intl.dll
    • ;extension=php_xsl.dll

    After modification, need to save the file(php.ini) as well as need to restart the Apache Server and check out the result.

    • Step 7: Enter server and database in step 2 and then click on Next.

    • Step 8: Put your website link and continue to click on Next.

    • Step 9: Customize your store: you can choose Time Zone, Currency and Languages.

    • Step 10: You need to Create Admin Account. Enter your information and move to the next step.

    • Step 11: In this step, you should click on the button: Install Now.


    It will take some minutes to complete this installation process. If your window is the same as below, CONGRAT! You install this quickstart package successfully

    After clicking on the button, the Admin Login screen will be opened and you can use admin credentials to login on this screen. It will open Admin panel after successful authentication.

    Note:

    Finally, run this command:

    php bin/magento catalog:images:resize

    The magento “catalog images:resize” command enables you to resize images for display on your storefront.
    The message “Product images resized successfully” displays to confirm the command succeeded.

    2.2 Manual Installation

      • Step 1: Please unzip ‘sm_love_fashion_theme_m2.1.x_v2.5.0′ file and upload folders app; pub from the theme package to the root of your Magento site folder on your server.

        Note: You could change the name of this folder. However, if you want your website run correctly, it need to have the same name as the database.

      • Step 2:
      • Now we are going to verify Composer installation, Deploy static content, Clear compiled code and the cache, Reindex the Magento 2 blocks. Remember that you have had the Composer before doing this step by following Magento 2.0 Installation Guide to get the Composer.
        On Windows server environment, to perform all above actions, press WINDOWS KEY + R to open RUN dialog and type cmd to open Command Prompt.

        Type cd PATH_TO_YOUR_MAGENTO2_FILES to enter in Magento 2 ROOT directory.

        • 1. Now to verify Composer installation in above directory, type composer install.
        • If you get any error in this step, please check your Composer installation.

        • 2. In this step, we are setting up static content to deploy on our Magento store. To perform this, type php bin/magento setup:static-content:deploy.
        • If you get any error, check your PHP.EXE and PHP.INI Environment Variable

        • 3. Clear compiled code and the cache by typing php bin/magento setup:upgrade in CMD. Typically, you use magento this command line to update components and each component can require different compiled classes.

        • 4. And finally, to Reindex Magento Static Blocks type php bin/magento indexer:reindex.

        Note:

        1. Now we are going to Set file system ownership and permissions. To perform all actions, you should use PuTTY - a free SSH and telnet client for Windows on your computer. When you have the command-line access, enter the following commands in the order shown:

        Go Here to readmore about the action.
        2. Command usage:

        The magento “catalog images:resize” command enables you to resize images for display on your storefront.
        The message “Product images resized successfully” displays to confirm the command succeeded.

      • Step 3: Log in to your Admin Panel (e.g. https://yourdomain.com/admin/)

        Note: If you are using the Admin Panel when copying folders in step 1, you need to log out and log in back.

      • Step 4: Disable Cache: Go to System >> Tools >> Cache Management, click ‘Sellect All’ button, then choose ‘Disable’ and click ‘Submit’ button to complete the action.
      • Step 5: Select “SM Lovefashion” theme in Content>> Design>> Configuration page for Magento 2.1 version.
    • Step 6: Click “Save Config” button to save your changes.

    2.3 Theme Setting

    In Magento admin panel, navigate to Stores>> Settings>> Configuration >> MAGENTECH >> SM Lovefashion and configure its settings as you want.

    • Configure General Options with Color (of theme), Body Font, Elements Google Font, Menu for any store.
      This theme has the following Google Font Elements:
    • Configure Theme Layout with Layout style
    • Configure the Product Listing with Layout 1 Column, Layout 2 Columns, Layout 3 Columns
    • Configure the Product Detail To zoom image of product, adjust Zoom Mode, Custom tab, and content, etc.
    • Copy and paste the following code into the Custom Tab Content field:
    • Configure Socials : To connect with social networks such as Facebook, Twitter, Google Plus, Linkedin, Pinterest
    • Configure Advanced : To Show Go to Top, Add to Cart, Add to Wishlist, Add to Compare,
    • Configure Theme Installation: To Import Static Blocks, Pages and Demo,
    • Configure Developer: To Custom Css or Javascript

    Please click Here to view the theme settings.

    Note:In this panel, click Import Static Blocks, Pages and Demo to import all static blocks, CMS pages, and extensions’ configuration provided with this theme.
    After importing, you need to go to Content >> Elements >> Blocks ( or Pages) to configure and remember to select Store View for each block or page.

3CONFIGURATION

3.1 Page Configuration

3.1.1 Home Style 1

Frontend of Home Style 1 - Layout Position
home-layout1
In the Admin Panel, please navigate to Content >> Elements >> Pages to create a new page in Pages section.

  • Backend Setting: Please click Here to view.
  • Copy and paste the following code into the Content field:

3.1.2 Home Style 2

Frontend of Home Style 2 - Layout Position
home-layout2
In the Admin Panel, please navigate to Content >> Elements >> Pages to create a new page in Pages section.

  • Backend Setting: Please click Here to view.
  • Copy and paste the following code into the Content field:

3.1.3 Home Style 3

Frontend of Home Style 3 - Layout Position
home-layout3
In the Admin Panel, please navigate to Content >> Elements >> Pages to create a new page in Pages section.

  • Backend Setting: Please click Here to view.
  • Copy and paste the following code into the Content field:
  • 3.1.4 Home Style 4

    Frontend of Home Style 4 - Layout Position
    home-layout4
    In the Admin Panel, please navigate to Content >> Elements >> Pages to create a new page in Pages section.

  • Backend Setting: Please click Here to view.
  • Copy and paste the following code into the Content field:
  • Copy and paste the following code into the Layout Update XML field:
  • Note: Set Default Page

    • To set a default page for your Magento Site, in the Admin Panel you go to Stores>> Settings >>Configuration>>Web>>Default Pages. Please click to see the Backend Setting.
    • 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.

    3.2 Configure Megamenu

    • Step 1: Create a New Menu In Admin Panel, navigate to SM Megamenu >> Add New Menu (add group: “Mega Menu Vertical“, “Mega Menu Horizontal“.)
    • Step 2: Navigate to SM Megamenu >> Configuration & select the Mega Menu to display in this theme
    • Step 3: In order to add menu items, go to SM Megamenu >> Menu Manager >> click on ‘Edit’to open Menu Items to add items as you want

    To enable Vertical Megamenu on the frontend, please go to Content>> Elements>> Blocks and create a static block with Identifier * : “block-menu-vertical”

    • Please click Here to view the configuration of this static block.
    • Copy and paste the following code into the content tab of this static block:

    3.2.1 Horizontal Megamenu:

    Horizontal-mega-menu

    • Sortable Categories Items Please click Here to view.

    Home
    Frontend Appearance

    • Backend Settings: Please click Here to view.
    • Backend of ‘Dropdown Menu’: Please click Here to view.
    • Copy and paste the following code into the Content field::

    Women
    Frontend Appearance

    • Backend Settings: Please click Here to view.
    • Backend of ‘Dropdown women’: Please click Here to view.
    • Backend of ‘Dresses’ in ‘Dropdown women’: Please click Here to view.
    • Note:The item named Accessories, Tops having same level as Dresses could have same configuration.

    • Backend of ‘Banner Image’: Please click Here to view.
    • Copy and paste the following code into the Content field::

    Men
    Frontend Appearance

    • Backend Settings: Please click Here to view.
    • Backend of ‘Col1′: Please click Here to view.
    • Backend of ‘Cat1′ in ‘Col1′: Please click Here to view.
    • Note:The item named Cat2 having same level as Cat1 could have same configuration.

    • Backend of ‘Col2′: Please click Here to view.
    • Backend of ‘Cat3′ in ‘Col2′: Please click Here to view.
    • Note:The item named Cat4 having same level as Cat1 could have same configuration.

    • Backend of ‘Col3′: Please click Here to view.
    • Copy and paste the following code into the Content field::

    Accessories
    Frontend Appearance

    • Backend Settings: Please click Here to view.
    • Note:The item named Product Types, Contact us, About Us,having same level as Accessories could have same configuration.

    3.2.2 Vertical Megamenu:

    Horizontal-mega-menu

    • Sortable Categories Items Please click Here to view.

    Smartphones & Tablets
    Frontend Appearance

    • Backend Settings: Please click Here to view.
    • Backend of ‘Group Categories Smartphone’: Please click Here to view.
    • Backend of ‘Col-1′ in ‘Group Categories Smartphone’: Please click Here to view.

    Note: Item Col-2 having same level would have same configuration as Col-1.

    • Backend of ‘Camping & Hiking Gear’ in ‘Col-1′: Please click Here to view.

    Note: Item Swim Gear, Cycling Gear having same level would have same configuration as Camping & Hiking Gear.

    Sports & Outdoors
    Frontend Appearance

    • Backend Settings: Please click Here to view.
    • Backend of ‘Group Categories Sports & Outdoors’: Please click Here to view.
    • Backend of ‘Camping & Hiking Gear’ in ‘Group Categories Sports & Outdoors’: Please click Here to view.

    Note: Item Swim Gear having same level would have same configuration as Camping & Hiking Gear.

    • Backend of ‘Right Static Image’: Please click Here to view.
    • Copy and paste the following code into the Content field::

    Men
    Frontend Appearance

    • Backend Settings: Please click Here to view.
    • Backend of ‘Motorcycle’: Please click Here to view.

    Note: Other items having same level as Motorcycle would have same configuration.

    3.3 Configure Extensions

    The SM Lovefashion front-page has been integrated with the extensions in the following list:

    In SM Market Administration Page, please navigate to Stores>> Settings>> Configuration >> MAGENTECH to configure extensions as you want.

        • Position: SM Search Box
        • Frontend Appearance

        • Backend of SM Search Box: Click Here
    3.3.2 SM Cart Quick Pro
        • Position: SM Cart Quick Pro
        • Frontend Appearance

        • Backend of SM Cart Quick Pro: Click Here
    3.3.3 SM Megamenu
        • Position: SM Megamenu
        • Frontend Appearance

    Horizontal Megamenu:
    Vertical Megamenu:

        • Backend of SM Megamenu: Click Here
    3.3.4 SM Image Slider
        • Position: SM Image Slider
        • Frontend Appearance

        • Backend of SM Image Slider: Click Here
    3.3.5 SM Deals
        • Position: SM Deals
        • Frontend Appearance

        • Backend of SM Deals: Click Here

    Note: To add special price for a product, please go to Products >> Inventory >> Catalog and find the product you want to edit. After that, in the product’s configuration page, simply click on Advanced Pricing to Add Special Price for the product

    3.3.6 SM Listing Tabs
        • Position: SM Listing Tabs
        • Frontend Appearance

        • Backend of SM Listing Tabs: Click Here
    3.3.7 SM Basic Products
        • Position: SM Basic Products
        • Frontend Appearance

        • Backend of SM Basic Products: Click Here
    3.3.8 SM Shop By
        • Position: SM Shop By
          When you go to the Product Types page, you will see the module on the left side of the page.
        • Frontend Appearance

        • Backend of SM Shop By: Click Here

    3.4 Configure Static Blocks

    The SM Lovefashion front-page has the following static blocks in the theme:

    To create a new static block, go to Content>> Elements>> Blocks >> Add new block.

    Static Block: static-top-home-1

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “static-top-home-1″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “banner-top-v1″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “banner-middle-v1″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “banner-bottom-v1″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    Static Block: block-newsletter-v1

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “block-newsletter-v1″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    Static Block: block-blog-v1

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “block-blog-v1″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    Static Block: what-client-says

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “what-client-says”

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    Static Block: block-brands-v1

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “block-brands-v1″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “description-payment-footer”

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “connect-with-us-footer”

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “information-footer”

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “customer-service-footer”

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “my-account-footer”

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “contact-footer”

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    Static Block: block-newsletter-v2

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “block-newsletter-v2″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “banner-right-v2″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “banner-left-v2″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “banner-slider-v3″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    Static Block: block-center-v3

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “block-center-v3″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “banner-bottom-v2″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    Static Block: static-banner-home-v4

    To create the static block, go to Content>> Elements>> Blocks with Identifier * : “static-banner-home-v4″

    Frontend Appearance

    • Backend Setting: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    3.5 How To Edit Copyright in Admin Panel

    Frontend Appearance

    In SM Lovefashion Administration Page, please navigate to Stores>> Settings>> Configuration >> MAGENTECH >> SM Lovefashion >> Advanced to configure this theme’s copyright.

    Edit the code here:

    3.6 How To Customize the Social symbols in admin panel

    Frontend Appearance

    In SM Lovefashion Administration Page, please navigate to Stores>> Settings >> Configuration >> MAGENTECH >> SM Lovefashion >> Socials.

    3.7 Newsletter Popup

    Frontend Appearance

    In your Website’s Directory, go to \app\design\frontend\Sm\lovefashion\Magento_Newsletter\templates folder. In this folder, you could open the file named subscribe-popup.phtml by your editor program, to change the text such as: Your email address, Don\’t show this popup again, please find these words and edit as you want.

    To edit the short description in the pop-up, in your Admin panel, please go to Content>> Elements>> Blocks with Identifier * : “short-description-newsletter-popup”

    • Backend of the pop-up: Please click Here to view.

    Copy and paste the following code into the content tab of this static block:

    4SUPPORT

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