ASAid Popup Extension is an Odoo 17 module that enhances the functionality of website popups. It adds an 'Hide For' toggle option to the Popup block options in the website builder, allowing for more flexible control over popup block hide for behavior.
- Adds an 'Hide For' toggle option to Popup block settings
- Overrides (remove) the 'Hide For' input field setting when this 'Hide For' toggle is enabled
- Ensures popups is always displayed even if it previously closed by the visitor (when 'Hide For' is active)
- Seamlessly integrates with Odoo's website builder
- Clone this repository into your Odoo addons directory:
git clone https://github.com/fbhikmawan/website_asaid_popup_extension.git - Update your Odoo addons path to include this module.
- Restart your Odoo server.
- Go to Apps and search for "ASAid Popup Extension".
- Click "Install" to activate the module.
After installation:
- Go to Website > Edit Website
- Add or edit a Popup block
- In the Popup options, you'll find a new "Hide For" toggle option
- Enable this option to make the popup appear on every time the page load
No additional configuration is needed. The module extends existing popup functionality without requiring separate setup.
This module depends on:
web_editorwebsite
Ensure these modules are available in your Odoo installation.
- The module extends the
ir.ui.viewmodel to add thealways_showboolean field. - It modifies the popup template to conditionally set the
data-consents-durationattribute based on thealways_showvalue. - Custom JavaScript (if any) handles the display logic for popups with the 'Always Show' option enabled.
Contributions to improve ASAid Popup Extension are welcome. Please follow these steps:
- Fork the repository
- Create a new branch for your feature
- Commit your changes
- Push to your branch
- Create a new Pull Request
For support, please contact ASAid Group Investment at support@asaidgroup.com or visit our website at https://www.asaidgroup.com.
This module is licensed under the LGPL-3.0 License. See the LICENSE file for details.
- ASAid Group Investment
- Fatchul Bari Hikmawan
For more information about Odoo development, visit the official Odoo documentation.