zoorate / poinzilla
PoinZilla Module for Magento 2
Installs: 97
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.0
- magento/magento-composer-installer: *
This package is not auto-updated.
Last update: 2025-08-25 13:38:27 UTC
README
INSTALL MODULE
Install from composer
- move to your magento root directory
# cd /var/www/html/path/to/your/magento-root-dir
- login as the owner of your magento filesystem, for example:
# su magentouser
- require and install the package
# composer require zoorate/poinzilla
- run comand
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy [<languages>]
Hyva Theme
Add the script below to header.phtml as in the stage path app/design/frontend/[Vendor]/[Theme]/Magento_Theme/templates/html
<script>
document.addEventListener('DOMContentLoaded', function () {
fetch('/customer/section/load/?sections=poinzilla_user')
.then(res => res.json())
.then(data => {
const user = data.poinzilla_user;
const el = document.querySelector('.poinzilla-login-user-info');
if (!user || !el) return;
el.setAttribute('data-first-name', user.firstname);
el.setAttribute('data-last-name', user.lastname);
el.setAttribute('data-email', user.email);
el.setAttribute('data-digest', user.digest);
el.setAttribute('data-consumer-group', JSON.stringify([user.group_id]));
});
});
</script>
INFOS AND CONTACTS
LICENSE
AFL-3.0