Giter Site home page Giter Site logo

amasty-shop-by-brand's Introduction

Rapidez Amasty Shop By Brand

Requirements

You need to have the Amasty Shop By Brand module installed and configured within your Magento 2 installation. This module comes with the Improved Layered Navigation module.

Installation

composer require rapidez/amasty-shop-by-brand

After that brands are available at /some_brand where all products from that brand will be displayed with the configured meta data and the description. If you want to display the brand image somewhere you can use $product->amasty_brand_image or item.amasty_brand_image within Reactive Search. For example on a product page:

@if($product->amasty_brand_image)
    <a href="{{ $product->amasty_brand_url }}">
        <img src="{{ config('rapidez.media_url').'/amasty/shopby/option_images/'.$product->amasty_brand_image }}" alt="{{ $product->manufacturer }}" class="h-10">
    </a>
@endif

Brand list widget

If you want to use the the Amasty\ShopbyBrand\Block\Widget\BrandList widget you can register it in the config/rapidez.php file. Useful for a brand cms page with all brands listed.

'widgets' => [
    ...
    'Amasty\ShopbyBrand\Block\Widget\BrandList' => Rapidez\AmastyShopByBrand\Widgets\BrandList::class,
],

Views

If you need to change the views you can publish them with:

php artisan vendor:publish --provider="Rapidez\AmastyShopByBrand\AmastyShopByBrandServiceProvider" --tag=views

Note

Currently only brand pages, the brand list widget and images are implemented.

License

GNU General Public License v3. Please see License File for more information.

amasty-shop-by-brand's People

Contributors

bobwez98 avatar jbclaudio avatar quintenbuis avatar rbnmulder avatar royduin avatar stylecibot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.