A plugin which shows how to create a simple Storefront controller
- Adds Storefront controller with an external API (unsplash)
- Displays a link on the product detail page
- Opens modal on clicking the link and show an image
- Install and activate the plugin through the Administration UI:
- Go to Extensions > My extensions
- Find "Plugin with custom storefront controller" in the list
- Click "Install"
Alternatively, you can use the command line:
bin/console plugin:refresh
bin/console plugin:install --activate AcademyStorefrontController
bin/console cache:clear