This module allows you to upload an image and link products to it, placing it anywhere in your website with pagebuilder.
Magento 2 Open Source or Commerce edition is required.
Run the following composer command:
composer require rsilva/vitrine
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.
This module allows you upload a image and link products to it. Place a Vitrine anywhere on your website using pagebuilder feature.
- Access your Magento admin panel.
- On left menu access Rsilva -> Vitrine
- Click on New ambient
- Input a name for your Vitrine
- 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.
- Using a pagebuilder editor, place a text component anywhere you'd like.
- Click on that component as if you'd write something, on the option that will be show above, click on Insert Widget
- On Widget Typeselect Vitrine selector
- Choose a Vitrine that you created
- Click on Insert Widget and save your modifications.
And That's it, your Vitrine ambient is now ready on your frontend webpage.
Send a Hi to rodrigo.sil91@gmail.com and I will try to help.
This project is licensed under the MIT License - see the LICENSE details.
That's all folks!
Searching with repositories
Forms and Ui Components
-
https://developer.adobe.com/commerce/frontend-core/ui-components/components/form/
-
https://developer.adobe.com/commerce/frontend-core/ui-components/components/html-content/
-
https://devdocs.magento.com/guides/v2.3/ui_comp_guide/components/ui-listing-grid.html
-
https://developer.adobe.com/commerce/frontend-core/ui-components/components/image-uploader/
-
https://developer.adobe.com/commerce/frontend-core/javascript/jquery-widgets/alert/
Knockout
Widget
jQuery
-
https://developer.adobe.com/commerce/frontend-core/javascript/jquery-widgets/
-
https://developer.adobe.com/commerce/frontend-core/javascript/jquery-widgets/loader/
Javascript
Frontend