Popup module modification
I want to use this nice working popup module on my product pages with the follow options:
I don’t show for visitors my product prices and let the popup come up on productpage, but I will only that this happent for unregistrered visitors and not for registered customers.
Who can fork these module with that option?
there is a module from Prestacraft “custom popup notification”, this should also work with TB. There are also a lot of other (free) modules for that, just search, maybe also in https://store.thirtybees.com
thanks for you suggestion.
I use the Prestacraft module, they work as aspect, but I won’t ad some code, so that the popup not come up for registered users.
Ah ok, i dont know the details about that. Maybe you can do this with customer groups?
I haven’t tested it, but I think it should be enough to edit
hookDisplayHeader, and add this line at the very beginning of this function:
if ($this->context->customer->isLogged()) return;
Hmm thanks Petr for you suggestion, where have you find the hookDisplayHeader? Do I search in the module self or in the global.ccs in the thema?
I have found it in the custompopup.php
And add your suggestion, it works!! Thanks for you quick support, Petr!