Magento Expert Forum - Improve your Magento experience

Page 4 of 12 FirstFirst 12345678 ... LastLast
Results 61 to 80 of 233

How to change logo in magento?

  1. #61
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to upload Product Videos in Magento 2

    To help your products be more attractive and lively, Magento 2 allows uploading individual video for any product you need. Watching Magento product video will bring a truly overview of your product to customers before purchasing. The more visual product, the more sales is created by the clients.Thus, creating a product video is more effective than a thousand of pictures you show on the product page. The video can be uploaded from your browse or you can embed the Youtube link to the product settings. To do that, you must get an API Key from your Google account and insert it in the configuration.The required steps you should follow are listed clearly in this tutorial.Upload Product Videos:

    • Step 1: Get Your YouTube API Key
    • Step 2: Configure Magento
    • Step 3: Link to the Video

    Step 1: Get Your YouTube API Key

    • Log in to your Google account, and visit the Google Developers Console. Then, follow these:
      • Under Use Google APIs, click Youtube Data APIs.
      • In the panel on the left choose Credentials, click on Create Credentials and choose API key.
      • When prompted to create a new key, choose Server key. Enter a name for the key and IP address, and click on Create.

    • After you get the key, copy the key to the clipboard.

    Step 2: Configure Magento

    • On the Admin Sidebar, Stores > Settings > Configuration.
    • In the panel, under Catalog, choose Catalog.
    • Expand the Product Videos section, paste Youtube API key into the required field.


    • Click Save Config.
    • Go to Cache Management to refresh the cache.

    Step 3: Link to Video

    • From the Poduct Detail, click on Add Video in the Images and Videos.


    • Enter the URL of the YouTube or Vimeo video.

    In the URL field, if you haven’t entered Youtube API key yet, the system error message will appear, click on OK to continue.
    • Enter the Title and Description of the video.
    • To upload a Preview Image, browse to the image and select the file.
    • If you prefer to use the video meta data, click on Get Video Information.
    • To assign the role to the video, mark the corresponding checkbox of each Role:
      • Base Image
      • Small Image
      • Swatch Image
      • Thumbnail
      • Hide from Product Page

    • When complete, click on Save.

    Ref: Magento 2 User Guide It comes to the end of tutorial: How to upload Product Videos in Magento 2 . How to upload Product Videos in Magento 2

  2. #62
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to upload Images Product in Magento 2

    In this topic, I will show you how to upload images product step by step. You know that, high-quality images is the strength to make your website more beautiful and have a professional look of your shoppers. If each your product has a collection of images in the catalog, it is hardly surprising to manage a hundreds or thousands of images. Thus, let establish a naming convention for your image files right now, that will makes your track easier even if you want to find the originals.In the Product Detail, you can upload as many images as you need for a product, simultaneously, link to video, rearrange their order, and determine how each is used. For each product, three roles are available for you to assign to any image. You can set the main image or the base image that must be large enough to produce the magnification that is needed for zoom. Apart from the base image, a small image of that image will appear in product listing, and a thumbnail will be in the shopping cart. The assign is flexible for you, however, by default, these roles are auto-assigned to the first uploaded image.How to upload Images Product in Magento 2 as following optionsTo Upload Images Product:

    • Go to Catalog > Manage Products
    • Open a Product
    • Manage Images
    • View Image Detail

    Manage Images

    • Click on Edit link, and then do the following:Upload an Image

      To upload a new Image, you can apply one of two ways:
      • Drag an Image from your browse, and drop it in the Images and Videos box.
      • Click on Camera title in the Images and Videos box, browse to the Image file and click on Open to select any Image you need.

      Assign the Bass Image

      If you want to assign to the Base Image, only need to click on the tag icon that is in the lower-corner of the image. As soon as your tap, a small orange banner will appear, that means your assign is successful.Reorder Images

      To change the showing position of images in the catalog, click on the Sort icon on the top right-corner of the image, and drap it to the new position.Delete an Image

      To delete any image, click on the Delete icon in the lowe-left corner.
    • Click on Save to save the changes.

    View Image Detail

    • To get the detail of an image, click on the Images and Videos beneath the image title or under the Basic Settings in the panel.
    • In the Image Detail page, you can do any of the following: #### Enter Alt TextIn the Alt Text box, write some description of your image.Image Alt text is referenced by screen readers to improve web accessibility, and by search engines when indexing the site. Some browsers display the Alt text on mouseover. Thus, you should be careful to select the key words for the image.Assign Roles

      By default, three roles (Base Image, Small Image, and Thumbnail) are auto-assigned to the first image of the prouct. If you want to reassign, do the following:
      • Click on the need image to open the Image Detail page.
      • In the Role section, choose the role you want to assign to that image.

      The assigned role appears with a checkmark in selected mode, and the previous image is nolonger assigned to the role.Hide Images

      To exclude any image, mark the Hide from Product Page checkbox in the Image Detail page, then click on Save.
    • To exit Detail View, click the Close box in the upper-right corner.
    • Click on Save to complete.

    Ref: Magento 2 User Guide It comes to the end of tutorial: How to upload Images Product in Magento 2 . How to upload Images Product in Magento 2

  3. #63
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to reset admin password in Magento 2

    User Name and Password are the required fields if you want to login Magento admin. And it is the huge trouble if you forget one of them. Therefore, resetting admin password is very essential to every store. With Magento 2, “Forgot your password” link is available to click, then a temporary password can be sent to the email address that is associated with the account immediately. Let do the following steps to reset your admin password in Magento 2.To reset Magento 2 admin password:

    • Go to phpmyadmin
    • Open table admin_user
    • Run the following sql query

    Reset Magento 2 admin password in phpmyadmin

    Go to phpmyadmin and copy the following sql query:
    UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxYourNewPassword', 256), ':xxxxxxx:1') WHERE username = 'admin';
    The xxxxxxx character sequence is a cryptographic salt.it is saved in app\etc\env.php file
    <?phpreturn array ( ... 'crypt' => array ( 'key' => '525701df74e6cba74d5e9a1bb3d935ad', //cryptographic salt ), ...
    To reset your Magento 2 password from Admin panel:

    • If you forget your password, click the Forgot Your Password? link.


    • Enter the Email Address that is associated with the Admin account.
    • Click  Retrieve Password . If there is an account associated with the email address, an email will be sent to reset your password.

    Reset Magento 1 via Email

    • Go go Magento admin panel, default is your-domain.com/admin
    • Click Forgot your password?
    • Type your email address which assosiated with admin account in Email Address input box
    • Click Retrieve Password to reset password.
    • Open your email box and check the reset password link. The link is valid in 24 hours.

    Ref: Magento 2 user guide It comes to the end of tutorial: How to reset admin password in Magento 2 . How to reset admin password in Magento 2

  4. #64
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to remove / manage message inbox in Magento 2

    Learn how to manage inbox in Magento 2 is must-have because of the major importance of message. You may lose or later access many important information such as system updates, patches, new releases, scheduled maintenance, upcoming events, and more from Magento if you don’t know how to manage inbox in Magento 2.Check your inbox pop-up frequently to receive notice of important system updates and news from Magento. Follow some useful guides for you:To manage incoming messages:

    • When the Incoming Messages box appears, do one of the following:
      • Click Read Details for more information.
      • Click the Close box to remove the popup and continue. A Latest Message notice also appears to the left, just below the header of your store. As with the popup box, you can Click Read Details for more information.


    • To read your messages, click Go to messages inbox. The messages in your inbox are marked by severity, with the most recent at the top.


    • After reading a message, do any of the following in the Actions column:
      • For more information, Click Read Details.
      • To keep the message, Click Mark As Read.
      • To delete the message from your inbox, Click Remove.

    To apply an action to multiple messages:

    • On the Admin sidebar, Click System. Then under Other Settings, choose Notifications.
    • In your message inbox, do one of the following:
      • Mark the checkbox at the beginning of each message you want to manage.
      • Choose one of the group selection options above the list to select multiple messages.

    • When the messages that you want to manage are selected, set Actions to one of the following:
      • Mark as Read
      • Remove

    • Click Submit to complete the process.

    To configure notifications:

    • On the Admin sidebar, Click Stores. Then under Settings, choose Configuration.
    • Scroll down, and in the panel on the left under Advanced, choose System.
    • Expand the Notifications section, and do the following:
      • If your store Admin runs over a secure URL, set Use HTTPS to Get Feed to “Yes.”
      • Set Update Frequency to determine how often your inbox is updated. The interval can be from one to twenty-four hours.


    • When complete, Click Save Config.

    Ref: Magento 2 user guide It comes to the end of tutorial: How to remove / manage message inbox in Magento 2 . How to remove / manage message inbox in Magento 2

  5. #65
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to enable Single Store Mode in Magento 2

    Single-Store Mode is disabled as setup default that leads to show a scope indicator whenever each configuration setting. Therefore, let enable single-store mode to simplify the display by turning off all Store View options and scope indicators if your Magento Community 2.0 installation has only a single store and view.Learn how to enable single-store mode simply by following steps:To set single store mode:

    • On the Admin sidebar, click Stores. Then under Settings, select Configuration.
    • In the panel on the left under General, select General.
    • Scroll down to the bottom of the page, and expand the Single Store Mode section.
    • Set Enable Single Store Mode to “Yes.”
    • Click Save Config.
    • When prompted to refresh the cache, do the following:
      • Click the Cache Management link in the system message at the top of the page
      • Mark the Page Cache checkbox.
      • With Actions set to “Refresh,” click Submit.

    Ref: Magento 2 user guide It comes to the end of tutorial: How to enable Single Store Mode in Magento 2 . How to enable Single Store Mode in Magento 2

  6. #66
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to create Magento Connect Account

    Magento Connect supportS you create a free Magento account from Magento Connect website. Your Magento account can be accessed from either the Magento website or from your store’s Admin. With own Magento account you can view, track your order or find any information that is related to the products or services you have purchased. Remember that, the email address that is used to open a Magento account can be associated with only one account.To create a Magento account:

    • Visit the Magento site at: http://www.magento.com
    • In the upper-right corner, choose My Account. Then under New Customers, click on Register.


    • Under Personal Information, do the following:
      • Enter your First Name, Last Name, and Email Address.
      • Set My Company Primarily to the best description of what your company does. Then, set My Role to the best description of what you do for the company.

    • Under Login Information, do the following:
      • Enter a Screen Name to identify you in the Magento Community Forums. Your screen name can be from four to fifteen characters long, can include numbers and the underscore, but must start with a letter.
      • Enter a Password for your account. Then, enter it again to confirm. Your password can be from eight to sixteen characters long, and must include at least one capital letter, one number, and one special character or one lowercase letter.
      • When complete, click on Submit. Your account dashboard appears.

    To log in to your Magento account:

    • Go to the Magento site: http://www.magento.com
    • In the upper-right corner, click My Account.
    • Enter the Email address that is associated with your account. Then, enter your Password.
    • When complete, click on Login.

    To receive a new password:

    • If you forget your password, click Forgot Your Password?
    • Enter the Email Address that is associated with your account, and click on Submit. You will receive an email from Magento with a temporary password that you can use to log into your account. Then, reset your password from the dashboard of your account.

    To reset your password:

    • Log in to your Magento account.
    • In the panel on the left, choose Account Settings. Then, click on Change Password
    • Enter your Current Password. If you forgot your password, enter the temporary password that was sent to you.
    • Enter your New Password. Then, enter it again to confirm.
    • When complete, click on Submit.

    Ref: Magento 2 user guide It comes to the end of tutorial: How to create Magento Connect Account . How to create Magento Connect Account

  7. #67
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Magento 2 Layout, Block & Template Ultimate Guides

    Carrying on from our previous overviews of the main changes for front-end developers in Magento 2, we’ll now look specifically at the revisions to the templating system. While the changes aren’t too drastic, developers will want to become familiar with the new system - particularly those upgrading sites from Magento 1.x to Magento 2. This guide will take developers through the changes to layout XML and the new overall project structure of Magento 2Here are exmaple of layout file/view/frontend/page_layout/2columns-left.xml
    <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framewo rk:View/Layout/etc/page_layout.xsd"> <update handle="1column"/> <referenceContainer name="columns"> <container name="div.sidebar.main" htmlTag="div" htmlClass="sidebar sidebar-main" after="main"> <container name="sidebar.main" as="sidebar_main" label="Sidebar Main"/> </container> <container name="div.sidebar.additional" htmlTag="div" htmlClass="sidebar sidebar-additional" after="div.sidebar.main"> <container name="sidebar.additional" as="sidebar_additional" label="Sidebar Additional"/> </container> </referenceContainer></layout>
    One of the biggest differences between the two versions of Magento is the way the whole project is structured. Unlike Magento 1.x where templates were defined inapp/design/frontend/<package>/<your_theme> and your theme assets defined in skin/frontend/<package>/<your_theme>, in Magento 2 everything is consolidated into one base folder location. In this case, there is no longer a separate skin folder for theme assets. All of your templates and assets are now stored in: app/design/frontend/<package>/<your_theme> (in other words, the old location for your templates).You will soon see that unlike Magento 1.x where all the templates were stored in app/ design/frontend/<package>/<theme>/template, there are a number of folders, as demonstrated in the screenshot below.Each one of these folders represents a module in Magento 2 where templates or assets are overridden in this theme. The location of the default versions of each module can be found inapp/code/Magento Let’s take a look at the structure of a typical module.Here is an example of the checkout module in a custom theme. As you can see, it contains a folder for layout updates (more on that later) one for templates and a “web” folder, which replaces the old skin/frontend/<package>/<theme> folder. However, instead of having all your sitewide assets and JS in this folder, such items are now organised per module - in this case, the Magento Checkout module.Those of you with a keen eye may also have noticed that there is a template folder in the web folder of this module. This is unique to a few Magento 2 modules (including Checkout) where Magento 2 employs KnockoutJS for templating. We’ll look at KnockoutJS in more detail in a later tutorial. These templates use .html files and internal logic (i.e. no PHP is involved).As explained earlier, if you want to override / amend the core modules’ templates and JS, you will need to create an equivalent module folder in your theme that matches the path(s) of the file(s) you wish to override / extend.Taking another example, if you take a look in app/code/Magento you will see all of the default modules used by Magento 2 core. If you want to override something in the Catalog module, for example, you would then need to create a folder in your theme called Magento_Catalog. This references the <package_name>, in this case the “Magento” portion of app/code/Magento i.e. app/code/<package>, and then the portion after the underscore refers to the module name. In this case, this is Catalog: app/code/<package>/<module>In other words, to override the contents of a module in app/code/<package>/< module> app/code/<package>/<module>, you will need to create a folder named <package>_<module> in your theme.Also note that you can only override the contents of the view/frontend portion of the module within your theme (so app/code/Magento/Catalog/view/frontend maps toapp/design/frontend/<your_package>/<your_theme>/Magento_Catalog ). If you need to override Controllers and Blocks, this is done in a different location and normally by a backend developer, which is not covered in this guide. It comes to the end of tutorial: Magento 2 Layout, Block & Template Ultimate Guides . Magento 2 Layout, Block & Template Ultimate Guides

  8. #68
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to install Magento Extension from Magento Connect Marketplace

    Magento Connect (Magento Marketplace) is a marketplace that allows Magento community members and partners to share their open source or commercial contributions for Magento with the community. Typical contributions include:
    • Extensions
    • Themes
    • Language packages

    Magento Connect allows you to connect to the wealth of Magento extensions available, some of which are free, and some you have to pay for.Community Extensions: Open source extensions created by Magento Community members or partners that are released under an open source license.Commercial Extensions: Contributions available for purchase by Magento community members or partners. Commercial extensions may be sold, distributed, and licensed directly through the seller.First you need to log into the Magento administrator area, and then go to System > Magento Connect > Magento Connect Manager . This screen will appear:Try to login with admin account and you can seeNow to go Magento Connect to get an extension key. In this post, I take an example: Better Blog extension by MageplazaHere are key http://connect20.magentocommerce.com/community/mpblogThen paste the key to install and click Install button, then click Process to download and install the Better Blog extension on your Magento store.MessageRef: Magento 2 User Guide It comes to the end of tutorial: How to install Magento Extension from Magento Connect Marketplace . How to install Magento Extension from Magento Connect Marketplace

  9. #69
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How To Create Magento 2 Theme Ultimate Guide

    There are number of improvements to the way themes are managed and set up in Magento 2. The use of the theme.xml definition file, introduced in Magento 1.9, and a new fallback system, are two of the most significant improvements. The fallback system in Magento 2 works in a similar way to Magento 1.x, but has the added advantage that you can select unlimited parent themes to inherit from / fallback to - all via the theme.xml file in your theme.Let’s say you want to create a brand new theme based on the new Magento “Blank” theme. First, you would create a new folder in app/design/frontend called, for example Session/default. You would then create a theme.xml file in this directory (it is probably best to copy it from app/design/frontend/Magento/blank/theme.xml), name your theme, and choose any parent. In this case, we want Magento 2’s Blank theme.To Creat Magento 2 Theme Ultimate:

    • Creating a Magento theme folder
    • Declare your theme
    • Composer package
    • registration.php file
    • Creating static files, folders
    • Configure catalog product images
    • Declare Theme Logo
    • Basic layout elements
    • Layout files types and conventions.

    So your theme.xml file should look something like this:
    <theme xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”xsi:noNamespaceSchemaLocation=”../../../../lib/internal/Magento/Framework/Config/etc/theme.xsd”> <title>Session Default</title> <parent>Magento/blank</parent></theme>
    Theme structure

    Folder structure

    app/design/frontend/mageplaza/├── ultimate/│ ├── etc/│ │ ├── view.xml│ ├── web/│ │ ├── images│ │ │ ├── logo.svg│ ├── registration.php│ ├── theme.xml│ ├── composer.json
    <Vendor> is theme vendor. e.g: mageplaza<theme> is theme name. e.g: ultimateOk, let’s goCreating a Magento theme folder

    Creating a folder for the theme:
    • Go to app/design/frontend
    • Creating a vendor folder app/design/frontend/<vendor> e.g: app/design/frontend/mageplaza
    • Create a theme folder app/design/frontend/<vendor>/<theme> e.g: app/design/frontend/mageplaza/ultimate


    app/design/frontend/├── mageplaza/│ │ ├──...ultimate/│ │ │ ├── ...│ │ │ ├── ...
    Declare your theme

    Now we have folder app/design/frontend/mageplaza/ultimate , now create a file named theme.xml that define basic information about theme such as: Name, parent theme (in case your theme inherits from an existing theme), preview image
    <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framewo rk:Config/etc/theme.xsd"> <title>Mageplaza Ultimate</title> <!-- your theme's name --> <parent>Magento/blank</parent> <!-- the parent theme, in case your theme inherits from an existing theme --> <media> <preview_image>media/preview.jpg</preview_image> <!-- the path to your theme's preview image --> </media> </theme>
    Composer package

    Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.To distribute your theme as a package, add a composer.json file to the theme directory and register the package on a packaging server.composer.json example:
    "name": "mageplaza/ultimate", "description": "N/A", "require": ~7.0.0", "magento/theme-frontend-blank": "100.0.*", "magento/framework": "100.0.*" , "type": "magento2-theme", "version": "100.0.1", "license": [ "OSL-3.0", "AFL-3.0" ], "autoload": "files": [ "registration.php" ]
    registration.php file

    You can add the following content to register the theme to Magento 2
    <?php/** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */\Magento\Framework\Component\ComponentRegistrar::r egister( \Magento\Framework\Component\ComponentRegistrar::T HEME, 'frontend/mageplaza/ultimate', __DIR__);
    You should change mageplaza, ultimate to your vendor, theme name.Creating static files, folders

    In a design, there are many static files such as javascript, css, images and fonts. They are stored in separate folders in web of theme package.Here are the structure
    app/design/<area>/mageplaza/ultimate/├── web/│ ├── css/│ │ ├── source/ │ ├── fonts/│ ├── images/│ ├── js/
    Tips

    In Magento 2, theme or extension development, when you update any files in app/design/<area>/mageplaza/ultimate/web folder, you have to static folders which located at pub/staticand var/view_preprocessed Otherwise, you still there is no change in frontend.Configure catalog product images

    As you can see in the theme strucure I mentioned above, there is a file called etc/view.xml. This is configuration file. This file is required for Magento theme but it is optional if exists in parent theme.Go to app/design/<area>/mageplaza/ultimate/ and create a folder etc and file view.xml You can copy the view.xml file in parent theme such as Blank themeapp/design/frontend/Magento/blank/etc/view.xmlOk, let update the image configuration for catalog product grid page.
    <image id="category_page_grid" type="small_image"> <width>250</width> <height>250</height></image>
    In view.xml, image properties are configured in the scope of element:
    <images module="Magento_Catalog">...<images/>
    Image properties are configured for each image type defined by the id and type attributes of the <image> element:
    <images module="Magento_Catalog"> <image id="unique_image_id" type="image_type"> <width>100</width> <!-- Image width in px --> <height>100</height> <!-- Image height in px --> </image><images/>
    Declare Theme Logo

    In Magento 2 default, it uses <theme_dir>/web/images/logo.svg, in your theme, you can change to different file format such as png, jpg but you have to declare it.Logo size should be sized 300x300px and you open file <theme_dir>/Magento_Theme/layout/default.xml
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framewo rk:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="logo"> <arguments> <argument name="logo_file" xsi:type="string">images/custom_logo.png</argument> <argument name="logo_img_width" xsi:type="number">300</argument> <argument name="logo_img_height" xsi:type="number">300</argument> </arguments> </referenceBlock> </body></page>
    Basic layout elements

    The basic components of Magento page design are blocks and containers.A container exists for the sole purpose of assigning content structure to a page. A container has no additional content except the content of included elements. Examples of containers include the header, left column, main column, and footer.Layout files types and conventions

    Module and theme layout files

    The following terms are used to distinguish layouts provided by different application components:
    • Base layouts: Layout files provided by modules. Conventional location:
      • Page configuration and generic layout files: <module_dir>/view/frontend/layout
      • Page layout files: <module_dir>/view/frontend/page_layout

    • Theme layouts: Layout files provided by themes. Conventional location:
      • Page configuration and generic layout files: <theme_dir>/<Namespace>_<Module>/layout
      • Page layout files: <theme_dir>/<Namespace>_<Module>/page_layout

    Create a theme extending file

    Rather than copy extensive page layout or page configuration code and then modify what you want to change, in the Magento system, you only need to create an extending layout file that contains the changes you want.To add an extending page configuration or generic layout file:
    <theme_dir> |__/<Namespace>_<Module> |__/layout |--<layout1>.xml |--<layout2>.xml
    For example, to customize the layout defined in <Magento_Catalog_module_dir>/view/frontend/layout/catalog_product_view.xml, you need to add a layout files with the same name in your custom theme, like following:<theme_dir>/Magento_Catalog/layout/catalog_product_view.xml
    <theme_dir> |__/<Namespace>_<Module> |__/page_layout |--<layout1>.xml |--<layout2>.xml
    Override base layouts

    Overriding is not necessary if a block has a method that cancels the effect of the originally invoked method. In this case, you can customize the layout by adding a layout file where the canceling method is invoked.To add an overriding base layout file (to override a base layout provided by the module): Put a layout file with the same name in the following location:
    <theme_dir> |__/<Namespace_Module> |__/layout |__/override |__/base |--<layout1>.xml |--<layout2>.xml
    These files override the following layouts:
    • <module_dir>/view/frontend/layout/<layout1>.xml
    • <module_dir>/view/frontend/layout/<layout2>.xml

    Override theme layouts

    To add an overriding theme file (to override a parent theme layout):
    <theme_dir> |__/<Namespace_Module> |__/layout |__/override |__/theme |__/<Parent_Vendor> |__/<parent_theme> |--<layout1>.xml |--<layout2>.xml
    These files override the following layouts:
    • <parent_theme_dir>/<Namespace>_<Module>/layout/<layout1>.xml
    • <parent_theme_dir>/<Namespace>_<Module>/layout/<layout1>.xml

    Tips!

    - Changing block name or alias. The name of a block should not be changed, and neither should the alias of a block remaining in the same parent element.- Changing handle inheritance. For example, you should not change the page type parent handle.
    Congrats! Now you have your first simple Magento 2 theme. You can try to create a complexible theme later.Ref: Devdocs.magento.com, Stackoverflow.com It comes to the end of tutorial: How To Create Magento 2 Theme Ultimate Guide . How To Create Magento 2 Theme Ultimate Guide

  10. #70
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to setup store information: phone number, address, VAT number in Magento 2

    Setup store information in order to provides the basic information that will be used on sale documents and in other communications. The Store Information you need to add includes phone number, country, region/state, Zip code, VAT number, etc. Especially, all of these information are flexible to edit whenever you need.However, because Magento 2 platform supports multiple settings to custom, sometimes it can be quite complex for store admin to find exactly where to edit it. The following guides are helpful for you.Set up store information:

    • On the Admin sidebar, click on Stores. Then under Settings, choose Configuration.
    • In the panel on the left under General, choose General.
    • Expand the Store Information section, and do the following:
      • Enter the Store Name that you want to use in all communications.
      • Enter the Store Phone Number, formatted as you want it to appear.
      • In the Store Hours of Operation field, enter the hours your store is open for business. For example: Mon - Fri, 9-5, Sat 9-noon PST
      • Select the Country where your business is located.
      • Select the Region/State with the country.
      • Enter the Store Address. If the address is long, continue the address on Store Address Line 2.
      • If applicable, enter the VAT Number of your store. To verify the number, click the Validate VAT Number button.

    • When complete, click on Save Config.

    Ref: Magento 2 user guide It comes to the end of tutorial: How to setup store information: phone number, address, VAT number in Magento 2 .Enjoyed the tutorial? Spread it to your friends!

    How to setup store information: phone number, address, VAT number in Magento 2

  11. #71
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to set Locale, State, Country in Magento 2

    Locale Options in Magento 2 provides more details about your store. Setup your store information on Locale Options that determines the timezone, your language and the days of the work week in your area. Besides, others can identify your country, tax rate and guest some needed information related to your locale.With those information you can set from Magento 2 Locale Options, your store will become closer and friendlier to the audience. Follow this tutorial to know what you can do.To set the store locale:

    • On the Admin sidebar, click on Stores. Then under Settings, choose Configuration.
    • In the panel on the left under General, choose General.
    • Expand the Locale Options section.
    • Select your Timezone from the list. Then, do the following:
      • Set Locale to the store language.
      • Set Weight Unit to the unit of measurement that is typically used for shipments from your locale.
      • Set First Day of the Week to the day that is considered to be the first day of the week in your area.
      • In the Weekend Days list, select the days which fall on a weekend in your area. (To select multiple options, hold down the Ctrl (PC) or Command (Mac) key.)

    • When complete, click on Save Config.

    Beside Locale Options, you can also configure State Options and Country Options clearly if you need. With Sate Options, standard address format is different for every country, so fulfill the state information is optional. In many countries, the state, province, or region is a required part of a postal address that is used for shipping and billing information, to calculate tax rates, and so on. On state options you can setup state is required for which countries.In addition, Country Options determines the country where your business is located, and which countries you accept payment.To set up the state options:

    • On the Admin sidebar, click on Stores. Then under Settings, choose Configuration.
    • In the panel on the left under General, choose General.
    • Expand the State Options section, and do the following:
      • In the State is required for list, select each country where Region/State is a required entry.
      • Set the Allow to Choose State if It is Optional for Country field to one of the following:
        • Yes In countries where the state field is not required, includes the State field as an optional entry.
        • No In countries where the state field is not required, omits the State field.

    • When complete, click on Save Config.

    To set the country options for your store:

    • On the Admin sidebar, click on Stores. Then under Settings, choose Configuration.
    • In the panel on the left under General, choose General.
    • Expand the Country Options section, and do the following:
      • Choose the Default Country where your business is located.
      • In the Allow Countries list, select each country from which you accept orders. By default, all countries in the list are selected. To select multiple countries, hold down the Ctrl (PC) or Command (Mac) key.
      • In the Zip/Postal Code is Optional for list, select each country where you conduct business that does not require a ZIP or postal code to be included as part of the street address.
      • In the European Union Countries list, select each country in the EU where you conduct business. By default, all EU countries are selected.
      • In the Top Destinations list, select the primary countries that you target for sales.

    • When complete, click on Save Config.

    Ref: Magento 2 user guide It comes to the end of tutorial: How to set Locale, State, Country in Magento 2 . How to set Locale, State, Country in Magento 2

  12. #72
    Junior Member
    Join Date
    Jan 2016
    Location
    Rajkot, Gujarat, India
    Posts
    21
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Hi,

    Following are some easy step to change header logo

    - Upload your logo with file name and extension
    - Go to System > Configuration > Design
    - in Magento store frontend you will see the setting for logo
    - replace your own logo at images/logo.gif
    - you can also define alter tag and title tag for your logo name

    Following are some easy step to follow for changes Email logo

    - go to System > Configuration > Design
    - in Transactional Emails section - you can find all setting for logo
    - upload your email logo here
    - you can also define alter tag and title tag for your logo name

    Thanks

  13. #73
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How To Stop Brute Force Attacks in Magento 1, 2

    Brute-force attacks are becoming very common these days. Most websites are by default vulnerable to such attacks. If you use Magento, there are by default located at /admin and /downloader and can be abused in several ways. Hackers can easily find them and launch a brute-force attack. In such an attack, random passwords are tried automatically, until one succeeds.A brute-force attack is one of the simplest methods to gain access to a website because other than patience it does not require any additional skill or resources. Brute-force attacks are simply trial and error. During such an attack, certain permutations and combinations of usernames and passwords are used by hackers to attempt to break into an account.What should I do?We are recommend the following best practicesTo Stop Brute Force Attacks in Magento 1, 2:

    • Custom admin path.
    • Secure your Magento admin account.
    • Protect /downloader folder.
    • Secure .git folder.
    • Up to date your store.
    • Enable HTTPS for admin panel.

    Custom admin path

    The default Magento 1 backend url is your-domain.com/admin Because the default Magento backend URL is common knowledge in brute-force suites, you can easily get some advantage by cutting the low-hanging fruit.Custom your current admin path as the following:Edit file /app/etc/local.xml XML Path: admin -> routers -> adminhml -> args -> frontNameYou can see <![CDATA[admin]]>, now change it to your own admin url, e.g: secret or mybackendNow flush Magento cache to take effect: System -> Cache Management -> Flush Magento CacheMagento 2: Not required.Secure your Magento admin account

    Don’t use admin account

    People usally use admin as first admin account. This is security issue for your Magento store. Because hackers can guest it easily. We recommend you should change admin account name to your own account name, nickname or your email address.Keep strong password

    The best way to protect your Magento store against a brute-force attack is to – and advise other administrators to – use a strong password. The rule:
    • Password length: > 8
    • Includes number
    • Includes chracters (Lowercase and Uppercase Characters)
    • Include Symbols: optional

    Protect /downloader folder

    In Magento 1, it use /downloader called Magento Connect Manager folder to install extension from Magento Connect. This is default path, it is easy for hacker to attack your Magento website. You can rename it but there is a effect way to protect the downloader folder, it is IP whitelistApache

    Edit file downloader/.htaccess and add the folowing lines to the end:
    order deny,allowdeny from allallow from x.x.x.x
    x.x.x.x is your whitelist IP v4 address.Nginx

    Open configuration file of your Magento website. E.g: /etc/nginx/conf/mywebsite.confAdd the following block of lines:
    location /downloader/ allow x.x.x.x; deny all; location ~ \.php$ echo_exec @phpfpm;
    Cpanel or DA hosting

    You can ask for support from your hosting providers.Protect local.xml file

    local.xml file is very sensitive data that contain database information, admin path or crypt key. If this information is leak to public you will get problem.Check it now, navigate your browser to http://your-domain.com/app/etc/local.xml If it cannot access to the data, your website is safe. Otherwhile, you can follow the Protect /downloader folder in previously to disable that.Secure .git folder

    Git is now popular nowsday, every store using Git as version control of its store. Git folder contain many important information such as repo url, code files …You can follow the Protect /downloader folder in previously to disable that.Is your store up-to-date?

    • Apply security paches. There are some security patches that Magento released recently, you can download it at (here)[https://www.magentocommerce.com/download]
    • Install Magento latest version. Updating to latest version that keep your store always healthy.

    Enable HTTPS for admin panel

    Since Magento is used for e-commerce transactions, the data is often very sensitive. This is why it is recommended that all of your login details should pass through a secure connection.Go to System > Configuration > Website It comes to the end of tutorial: How To Stop Brute Force Attacks in Magento 1, 2 . How To Stop Brute Force Attacks in Magento 1, 2

  14. #74
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to install Magento 2 step by step

    Magento is an ecommerce platform built on open source technology which provides online merchants with a flexible shopping cart system, as well as control over the look, content and functionality of their online store. Magento offers powerful marketing, search engine optimization, and catalog-management tools. Ref. Wikipedia.How to install Magento 2 command line and interface

    This installation guide will show you how to install Magento 2 latest version on your own server or shared hosting.Getting started: select solution

    There are some solutions we can get started.
    • Install from Zip file: Easy installation, no command line.
    • Metapackage: Use Composer to install Magento
    • Install from Git repository: Contributing developer

    In this guide, we will show to how to install as #1 solution. It is easy to get start.To Install Magento 2 Step by Step:

    • Download Magento packages
    • Upload to your server
    • Update permission
    • Running the Magento Setup Wizard
    • Finish installation process

    Prerequisites

    Before you continue, make sure you’ve done all of the following:

    Download Magento packages

    Now go to Github to download latest releases for Magento Community Edition (CE).Download latest samples data hereUpload to your server

    Let’s download a zip file and now time to upload it to the server. You can use WinSCP, Filezilla to upload it to the server, then extract it to public_html directory (let’s call it: Magento root directory).If you are using shared hosting, you can use unzip/exact feature to exact Magento package.If you are running on your server, let follow the commands:File format and command

    # File .tar.gz tar zxf <filename># File .zipunzip <filename>
    Update permission

    Add write permission for the following folders: var app/etc pubRunning the Magento 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.
    • Enter the following URL in your browser address bar:

    http://www.example.com/setup
    • On the initial page, click Agree and Set Up Magento.

    Continue with the following topics in the order presented to complete the installation.Step 1: Readiness Check

    Click Start Readiness Check. If any errors display, you must resolve them before you continue. Click More detail if available to see more information about each check.Click NextStep 2: Add a Database

    Fill database information then click NextStep 3: Web Configuration

    Enter the following information:Your Store Address: http://www.example.comMagento Admin Address: Enter the relative URL by which to access the Magento Admin. e.g: secret, backendThen click NextStep 4: Customize Your Store

    • From the Store Default Time Zone list, click the name of your store’s time zone.
    • From the Store Default Currency list, click the default currency to use in your store.
    • From the Store Default Language list, click the default language to use in your store.
    • Expand Advanced Modules Configuration to optionally enable or disable modules before you install the Magento software.

    Click NextImportant!

    Use Skip dependency check for individual modules with caution. We recommend against it because a typical reason for this error is you manually edited the deployment configuration. Editing the deployment configuration is not recommended because future Magento software updates can undo your changes.Step 5: Create Admin Account

    Now enter admin information such as
    • New Username
    • New E-Mail
    • New Password
    • Confirm Password
    • Then click Next

    Step 6: Install

    After completing all preceding steps in the Setup Wizard, click Install Now.Installation Success The message Success displays to indicate a successful installation.Now go to frontend, backend to see resultFrontendBackend It comes to the end of tutorial: How to install Magento 2 step by step . How to install Magento 2 step by step

  15. #75
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to configure Contacts form and contact email address in Magento 2

    The Contact Us link in the footer of the store is an easy way for customers to keep in touch with you. Customers can complete the form to send a message to your store.By default, Magento setup email address is [email protected] now you have to change to your own email address. You also can custom email template of contact message.Here are Contact us form in frontend, visitors/customers can send you an email via this page.After the form is submitted, a thank you message appears. The contact-us-info block contains the form, and can be easily customized.To configure Contact Us form

    • On the Admin sidebar, click Stores. Then under Settings, choose Configuration.
    • In the panel on the left under General, choose Contacts.
    • Expand the Contact Us section. If necessary, set Enable Contact Us to “Yes.”


    • Expand the Email Options section. Then, do the following:
      • In the Send Emails to field, enter the email address where messages from the Contact Us form are sent.
      • Set Email Sender to the store identity that appears as the sender of the message from the Contact Us form. For example: Custom Email 2.
      • Set Email Template to the template that is used for messages sent from the Contact Us form.

    When compete, click Save Config.To customize the Contact Us form:

    • On the Admin sidebar, click on Content. Then under Elements, choose Blocks.
    • Find the Contact Us Info block in the list, and open in Edit mode.


    • Scroll down to the Content field, and make any changes necessary.
      • Use the editor toolbar to format the text, and add images and links.
      • Click on Show / Hide Editor to work directly with the HTML.


    • When complete, Click on Save Block

    Ref: Magento 2 User Guide It comes to the end of tutorial: How to configure Contacts form and contact email address in Magento 2 . How to configure Contacts form and contact email address in Magento 2

  16. #76
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to Change Welcome Message in Magento 2

    Welcome message is shown in the top right of the header that include the customer’s name when they logged in. However, if not login, by Magento 2 Default message, the welcome message is set to “Default welcome msg”. If you want to change the message, it is possible to do that. Remember that changing the “Default welcome msg” text as you desire to be more attracted and friendly before you launch your store.Magento 2 configuration allows modifying the welcome message easily by following the guides:To change the welcome message:

    • On the Admin sidebar, click on Stores. Then under Settings, choose Configuration.
    • In the panel on the left, under General, choose Design.
    • If you have multiple stores or views, set the Store View in the upper-left corner to the store or view where the configuration applies. Then, clear the checkbox after each field so new values can be entered.
    • Expand the Header section. Then, enter the Welcome Text that you want to appear.


    • When complete, click on Save Config.
    • When prompted to update the Page Cache, click the Cache Management link at the top of the workspace. Then, follow the instructions to refresh the cache.

    People also search:

    • magento 2 welcome message block
    • magento 2 default welcome message
    • magento 2 edit welcome message
    • magento 2 remove welcome message
    • magento 2 welcome message
    • magento 2 customer welcome message
    • delete welcome message magento 2
    • magento 2 welcome message file
    • magento 2 welcome message remove
    • magento 2 go welcome message
    • magento 2 edit default welcome message
    • magento 2 disable welcome message
    • magento 2 welcome message phtml
    • magento 2 default welcome message location
    • magento 2 remove welcome message local.xml
    • magento 2 hide welcome message
    • edit welcome message in magento 2
    • magento 2 welcome message template
    • magento 2 remove default welcome message
    • magento 2 welcome message first name only
    • magento 2 header welcome message
    • magento 2 welcome message username
    • magento 2 welcome message not showing
    • magento 2 disable default welcome message
    • magento 2 modify welcome message
    • welcome message in magento 2
    • magento 2 get welcome message
    • magento 2 set welcome message
    • magento 2 welcome message css
    • magento 2 welcome message logged in
    • magento 2 display welcome message

    Ref: Magento 2 User Guide It comes to the end of tutorial: How to Change Welcome Message in Magento 2 . How to Change Welcome Message in Magento 2

  17. #77
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to Change Store Email Addresses in Magento 2

    You can have up to five different email addresses to represent distinct functions or departments for each store or view. In addition to the following predefined email identities, there are two custom identities that you can set up according to your needs.
    • General Contact
    • Sales Representative
    • Customer Support

    Each identity and its associated email address can be associated with specific automated email messages and appear as the sender of email messages that are sent from your store.Changing Store Email Addresses is one of important tasks when you start selling on Magento 2. To change store email address you can do the following stepsTo change Store Email Addresses:

    • Step 1: Set Up the Email Addresses for Your Domain
    • Step 2: Configure the Email Addresses for Your Store
    • Step 3: Update the Sales Email Configuration

    Step 1: Set Up the Email Addresses for Your Domain

    Before you can configure email addresses for the store, each must be set up as a valid email address for your domain. Follow the instructions from your server administrator or email hosting provider to create each email addresses that is needed.Step 2: Configure the Email Addresses for Your Store

    • On the Admin sidebar, click on Stores. Then under Settings, choose Configuration.
    • In the panel on the left under General, choose Store Email Addresses.
    • Expand the General Contact section, and do the following:


    • In the Sender Name field, type the name of the person to appear as the sender of any email messages that is associated with the General Contact identity.
    • In the Sender Email field, type the associated email address.
    • Repeat this process for each store email addresses that you plan to use.
    • When complete, click  Save Config

    Step 3: Update the Sales Email Configuration

    If you use custom email addresses, make sure to update the configuration of any related email messages, so the correct identity appears as the sender.
    • In the panel on the left, under Sales, choose Sales Emails. The page has a separate section for each of the following:
      • Order and Order Comments
      • Invoice and Invoice Comments
      • Shipment and Shipment Comments
      • Credit Memo and Credit Memo Comments

    • Starting with Order, expand the section for each message, and make sure that the correct sender is selected.


    • When complete, click  Save Config .

    Ref: Magento 2 user guide It comes to the end of tutorial: How to Change Store Email Addresses in Magento 2 .Enjoyed the tutorial? Spread it to your friends!

    How to Change Store Email Addresses in Magento 2

  18. #78
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Magento 2 Follow Up Email

    Magento 2 Follow up email is one of the most powerful tools that increase conversion rate and drive more sales into your storeMagento 2 Follow up email is one of the most powerful tools that increase conversion rate and drive more sales into your store. The average shopping carts... Source: Magento 2 Follow Up Email

  19. #79
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to Create Shipping Labels in Magento 2

    With Magento 2, it is easy for store admin to create shipping labels for both new and existing orders. However, before you begin creating the shipping labels, you need your own shipping carrier account from UPS, USPS, FedEx, and DHL, then complete the content of the package. In this tutorial, I... Source: How to Create Shipping Labels in Magento 2

  20. #80
    Junior Member
    Join Date
    Jun 2016
    Posts
    201
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to Create Product Attribute Sets in Magento 2

    Creating product attributes and attribute sets are very important part of the Magento system. Store owner should create product attribute first and then create product attribute sets. Remember that you are enable to change an attribute set which assigned to a product even after the product has... Source: How to Create Product Attribute Sets in Magento 2

Page 4 of 12 FirstFirst 12345678 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •