Skip to content

SilRodrigo/Vitrine

Repository files navigation

Vitrine Module for Magento 2

Latest Stable Version License: MIT Packagist Packagist

This module allows you to upload an image and link products to it, placing it anywhere in your website with pagebuilder.

Setup

Magento 2 Open Source or Commerce edition is required.

Composer installation

Run the following composer command:

composer require rsilva/vitrine

Setup the module

Run the following magento command:

bin/magento module:enable Rsilva_Base Rsilva_ProductFilterApi Rsilva_Vitrine
bin/magento setup:upgrade

If you are in production mode, do not forget to recompile and redeploy the static resources.

Features

This module allows you upload a image and link products to it. Place a Vitrine anywhere on your website using pagebuilder feature.

Using

Creating a new Vitrine

  1. Access your Magento admin panel.
  2. On left menu access Rsilva -> Vitrine
  3. Click on New ambient
  4. Input a name for your Vitrine
  5. Upload a new image or select one from gallery.

After that a bigger image from your upload will be shown below. To start pinpointing your products, click on any place you'd like on that image.

A search input will appear, type a product name you want to link to that pinpoint and press enter. All products that match your query will be listed, click the one you want.

That's it, you tagged your first product, repeat the process to pin other products as well. After you pinned all products you wanted, click on Save button.

Placing your Vitrine anywhere on your website.

  1. Using a pagebuilder editor, place a text component anywhere you'd like.
  2. Click on that component as if you'd write something, on the option that will be show above, click on Insert Widget
  3. On Widget Typeselect Vitrine selector
  4. Choose a Vitrine that you created
  5. Click on Insert Widget and save your modifications.

And That's it, your Vitrine ambient is now ready on your frontend webpage.

Support

Send a Hi to rodrigo.sil91@gmail.com and I will try to help.

Author

  • Rodrigo Silva - Maintainer - GitHub followers

License

This project is licensed under the MIT License - see the LICENSE details.

That's all folks!

Reference documentation

Searching with repositories

Forms and Ui Components

Knockout

Widget

jQuery

Javascript

Frontend