This module implements an information/promotion/contact me/whatever box that slides out on hover.
The content can be set using Magento CMS.
No javacscipt, pure css implementation.
-
Copy module to [magento-root]/app/code/Gelo/Slideout
-
Enter following commands to enable module:
php bin/magento module:enable Gelo_Slideout php bin/magento setup:upgrade php bin/magento cache:clean
-
If Magento is running in production mode, deploy static content:
php bin/magento setup:static-content:deploy
-
Enable and configure the extension in Magento Admin under Stores > Configuration > SIDE SLIDEOUT
-
Create sidebox content content block with id slideout (or using your own id set in configuration).