Skip to content

bolasevich/Miply-CategoriesSelectors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPower_CategoriesSelector Extension

Description

Ads dependable drop-downs to select following categories levels.

Requirements

Installation Instructions

  1. Add git repository address to your composer.json

     {
         "type": "git",
         "url": "https://git.miply.no/miply_module-categories-selectors"
     }
    
  2. Install the extension via Composer
    $ composer require "miply/module-categories-selectors" -vvv

  3. Enable the extension
    $ bin/magento module:enable Miply_CategoriesSelectors

  4. Enable the extension
    $ bin/magento module:enable Miply_CategoriesSelectors

  5. Add block to allowed blocks on frontend
    System > Permissions > Blocks > Add Block:

    • Block Name: miply_categoriesselector/selectors
    • Allowed: Yes
  6. Add block with drop-downs to:

    • layout of your choice, e.g. cms_index_index.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceContainer name="content"> <block class="Miply\CategoriesSelectors\Block\Selectors" name="miply_categoriesselector.selectors" template="Miply_CategoriesSelectors::selectors.phtml" /> </referenceContainer> </body> </page>
    • your custom layout using one of predefined handles:
      1. <update handle="miply_categoriesselector_selectors_root" />
      2. <update handle="miply_categoriesselector_selectors_content" />
    • ...many other ways
  7. Add number of drop-downs to display to configuration (table core_config_data, default value: 3)

    • path: miply_categoriesselector/categories/levels, e.g. value: "5"
  8. Add default text for each drop-down to configuration (table core_config_data)

    • path: miply_categoriesselector/drop_down/default_text_0, e.g. value: "Select Make"
    • path: miply_categoriesselector/drop_down/default_text_1, e.g. value: "Select Model"
    • path: miply_categoriesselector/drop_down/default_text_2, e.g. value: "Select Year"
    • ...
    • path: miply_categoriesselector/drop_down/default_text_x, e.g. value: "Select X"
  9. Clear the cache, logout from the admin panel and then login again.

Support

If you have any issues with this extension, notify author.

Developer

Miply Patryk Makowski
https://miply.no
[email protected]

GitHub
LinkedIn

Licence

See LICENSE.md

Copyright

(c) 2018 Miply Patryk Makowski https://miply.no

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published