Generaal Posted February 17, 2018 Share Posted February 17, 2018 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? Best Regards, Roger 01518866881671custompopup.zip Link to comment Share on other sites More sharing options...
DRMasterChief Posted February 17, 2018 Share Posted February 17, 2018 Hi, 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 Link to comment Share on other sites More sharing options...
Generaal Posted February 17, 2018 Author Share Posted February 17, 2018 Hello DRMasterChief, 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. Link to comment Share on other sites More sharing options...
DRMasterChief Posted February 17, 2018 Share Posted February 17, 2018 Ah ok, i dont know the details about that. Maybe you can do this with customer groups? Link to comment Share on other sites More sharing options...
datakick Posted February 17, 2018 Share Posted February 17, 2018 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; Link to comment Share on other sites More sharing options...
Generaal Posted February 17, 2018 Author Share Posted February 17, 2018 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? Link to comment Share on other sites More sharing options...
Generaal Posted February 17, 2018 Author Share Posted February 17, 2018 I have found it in the custompopup.php And add your suggestion, it works!! Thanks for you quick support, Petr! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now