SM Lovefashion24

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, 2.1.x, 2.2.x, 2.3.x and Magento 2.4.x.

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

1 SYSTEM REQUIREMENT

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

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

    Note:

    As of Magento 2.4.0, MySQL is no longer used for search. You must use Elasticsearch. Magento supports Elasticsearch 7.6.x.
    (Magento no longer supports Elasticsearch 2.x, 5.x, and 6.x.)

    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 want to overwrite.

    2.1 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_lovefashion_quickstart_pl_m2.4.0_v4.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
    • After upload quickstart package, please extract package by this command: unzip file.zip

    • 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_lovefashion_quickstart_pl_m2.4.0_v4.0.0\data_quickstart

      Note: You can import database by run this command mysql -u root -p database_name < sample_data.sql


      Note: After that please go to folder root and run these command to permissions:

      chmod -R 777 pub
      chmod -R 777 generated
      chmod -R 777 var
      chmod -R 777 app/etc
    • Step 5: Install Magento

      This example assumes that the Magento install directory is named sm_lovefashion, the db-host is on the same machine (localhost), and that the db-name, db-user, and db-password are all magento:

      php bin/magento setup:install --base-url=http://192.168.1.220/ytc_templates/magento/sm_lovefashion --base-url-secure=https://192.168.1.220/ytc_templates/magento/sm_lovefashion --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=lovefashion

      Messages similar to the following display to indicate a successful installation:

      Post installation file permissions check...
      For security, remove write permissions from these directories: '/var/www/html/ytc_templates/magento/sm_lovefashion/app/etc'
      [Progress: 274 / 274] [SUCCESS]: Magento installation complete.
      [SUCCESS]: Admin Panel URI: /admin_puu71q

      Note: You can customize the Admin URI with the --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 file app/etc/config.php and change 'Magento_TwoFactorAuth' => 1 to 'Magento_TwoFactorAuth' => 0

      After that run these command:
      php bin/magento setup:upgrade
      and php bin/magento setup:static-content:deploy -f

    • 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

    2.2 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_lovefashion_theme_m2.1.x-2.4.x_v4.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: php bin/magento setup:static-content:deploy -f

      Finally, permissions for the following folders by run these commands:
      chmod -R 777 pub
      chmod -R 777 generated
      chmod -R 777 var
    • Step 5:
      Navigate to Content > Design > Configuration > Edit Default Store > Select "SM lovefashion" theme.

    • Step 6: Click "Save Configuarion" button to save your changes.
    • Step 7: Navigate to Stores>> Settings>> Configuration >> MAGENTECH.COM >> Sm lovefashion >> 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.

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

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

    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

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

    ×