Monthly Archives: June 2017

  1. Add "read more" tag to Magento 2 blog post content

    Add "read more" tag

    1. Please navigate to M2 Admin Panel > Content > Posts > Choose post > Open Content tab.
    2. Insert Pagebreak tag wherever you want.

    Read more »
  2. Fixing issue with missing color option on search results

    Please follow the instructions to fix the issue.

    1. Create new layout XML file in you theme

    app/design/frontend/Vendor/theme/Magento_Swatches/layout/catalogsearch_result_index.xml

    2. Put content

    <?xml version="1.0"?>
    <!--
    /**
     * Copyright © 2015 Magento. All rights reserved.
     * See COPYING.txt for license details.
     */
    -->
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" 
                    xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <head>
            <css src="Magento_Swatches::css/swatches.css"/>
        </head>
        <body>
            <referenceBlock name="category.product.type.details.renderers">
                <block class="Magento\Swatches\Block\Product\Renderer\Listing\Configurable" as="configurable"
                                 template="Magento_Swatches::product/listing/renderer.phtml" />
            </referenceBlock>
        </body>
    </page>

    Read more »
  3. How to Install Magento 2 Extension

    There are different ways to install Magento 2 Extension:

    1. Install Magento 2 Extension via the Composer

    This installation method is the most preferred, but not all Magento 2 extension vendors provide a possibility to install their modules via the Composer.

    Composer is the package manager for the PHP, it allows you to manage dependencies of Magento 2 extensions and PHP libraries. It also facilitates the upgrade process of Magento2 & Magento2 Extensions.

     

    2. Install Magento 2 Extension from Archive

    This is the most common method since Magento 1.x times. 

    Read more »