presta-dyr 139 Posted February 5, 2010 Posted February 5, 2010 You know these sites where annoying messages keep popping up all the time? Well, this module was meant to be only slightly annoying. At most displayed once a day. Uses a cookie to count number of pages loaded. Only active if more than 3 pages were loaded. When the shop is left, a message pops up (begging the potential customer to stay). If the user has logged in, nothing happens. If the user presses F5 or clicks the reload icon the popup message will also appear. I haven't found a good solution for this. With some browsers (like Opera) this won't work at all. Edit 2011-10-03: Added a new version that is supposed to work with PrestaShop 1.4. /Kjeld popup.zip popup_0.2.zip 3 Share this post Link to post Share on other sites
D-fox 9 Posted February 6, 2010 Posted February 6, 2010 Merci beaucoup presta-dyr, I added your module to prestatools.com Share this post Link to post Share on other sites
gribouille 0 Posted February 8, 2010 Posted February 8, 2010 Bonjour Presta-dyr,Je trouve ton module sympa. Je l'ai donc uploadé, mais comment le paramètre t-on ? ( message final ? code promo, etc .. )Merci. Share this post Link to post Share on other sites
presta-dyr 139 Posted February 8, 2010 Posted February 8, 2010 Please write in English in this part of the forum.You can change the text directly in the .tpl file or in the modules translation page. An improvement could be if the module could extract (or perhaps create) the relevant voucher code from the system./Kjeld Share this post Link to post Share on other sites
gribouille 0 Posted February 8, 2010 Posted February 8, 2010 ok sorry for the language ...I tried Share this post Link to post Share on other sites
paillot 0 Posted February 19, 2010 Posted February 19, 2010 Hello,I tried to install your module but nothing appears... I can see the module in the module page. But the popup doesn't appear....Need some helpThanksDamien Share this post Link to post Share on other sites
presta-dyr 139 Posted February 19, 2010 Posted February 19, 2010 Do you have a link?/Kjeld Share this post Link to post Share on other sites
paillot 0 Posted February 19, 2010 Posted February 19, 2010 www.solidariterre.net/catalogIt's very long to access to my catalog now... I try to deactivate the module....Damien Share this post Link to post Share on other sites
presta-dyr 139 Posted February 19, 2010 Posted February 19, 2010 The module sets the cookie "count" as expected. But you're right, it seems it doesn't work. I'll look closer into it./Kjeld Share this post Link to post Share on other sites
paillot 0 Posted February 19, 2010 Posted February 19, 2010 thanks a lotDamien Share this post Link to post Share on other sites
presta-dyr 139 Posted February 19, 2010 Posted February 19, 2010 Hi Damien.I tried looking deeper into it, but without luck. It could be you have another module that overwrites the onunload method. Perhaps you could try with a fresh install of PrestaShop in another directory and see if you can get the module to work./Kjeld Share this post Link to post Share on other sites
paillot 0 Posted February 20, 2010 Posted February 20, 2010 ok thanks don't worry.I have more trouble to exploit my DDB... for example extract information of how many products are still not sold. And as I'm selling food, I'd like to have a field to know the date of the end of the limit date.Damien Share this post Link to post Share on other sites
LovePrestashop 2 Posted September 28, 2011 Posted September 28, 2011 Thank you very much for sharing the module. I have just intalled and it works. However, I have a problme with the module. If the user leave at hoem page, it is ok, but if the user leave at a product page under a category, it pop up the black page and says the page can't be find. I checked the js file and found out this code: var page = "modules/popup/voucher.php"; and also: window.open(page, "", windowprops); I understand that the windown open the base url + page So that if the user is at "stocking" category, the base url will be: http://www.lovestation.com.au/stocking and the window will try to open this url: http://www.lovestation.com.au/stocking/modules/popup/voucher.php which doen't exist! So, please help me how can I fixed this issue? this is my shop and you can try: http://www.lovestation.com.au Thank you! Share this post Link to post Share on other sites
LovePrestashop 2 Posted September 28, 2011 Posted September 28, 2011 Could someone kindly help me with this? I have hard coded this: window.open("http://www.lovestation.com.au/modules/popup/voucher.php", "", windowprops); But it still add the base URL at front. That is http://www.lovestation.com.au/stocking/http://www.lovestati...pup/voucher.php How can I remove the base rul or change the base url to http://www.lovestation.com.au only? Thanks Share this post Link to post Share on other sites
LovePrestashop 2 Posted September 30, 2011 Posted September 30, 2011 could anyone help please? 1 Share this post Link to post Share on other sites
LovePrestashop 2 Posted October 2, 2011 Posted October 2, 2011 i am disappointing... on one can help? Share this post Link to post Share on other sites
presta-dyr 139 Posted October 3, 2011 Posted October 3, 2011 Well, it's a free module... Anyway, I have updated the module and put it in the first message of this thread. /Kjeld Share this post Link to post Share on other sites
ipcomp1 4 Posted December 17, 2011 Posted December 17, 2011 Hello I have install the moudle and it work very good when some enter the website and leave from the main website page but if a customer press on a product and than wants to leave the website - the popup windows appear - but said it cannot find the page - see sample link "http://www.laptopexpert.co.il/ibm-laptop-keyboard/modules/popup/voucher.php" it's add category name is the link in this case category name that added is "ibm-laptop-keyboard" - so it can not been found any idea ? Share this post Link to post Share on other sites
Mephivio 10 Posted January 8, 2012 Posted January 8, 2012 Good Job Thanks for your popup ! Share this post Link to post Share on other sites
Archangel 0 Posted May 16, 2012 Posted May 16, 2012 Doesn't work. Share this post Link to post Share on other sites
ajensen27 43 Posted December 18, 2013 Posted December 18, 2013 Does anything exist like this for 1.5 and only if they leave the checkout page? 1 Share this post Link to post Share on other sites
zupermanzito 2 Posted December 18, 2013 Posted December 18, 2013 You are just Evil! Share this post Link to post Share on other sites
ajensen27 43 Posted December 18, 2013 Posted December 18, 2013 You are just Evil! haha why do you say that? Nothing wrong with enticing them with a little 5% off coupon if they try to leave the check out page. Share this post Link to post Share on other sites
intercode 2 Posted September 19, 2014 Posted September 19, 2014 i version for 1.5x would be great i had a function like this on a old dandomain webshop. it was pretty good. and offering them a 5% discount is a pretty smart way "close the deal" but any news about that 1.5 ver ? Thanks ! Share this post Link to post Share on other sites
Vilas 19 Posted September 20, 2014 Posted September 20, 2014 Anyone have installed it? Can I have demo? Share this post Link to post Share on other sites
tUb26 4 Posted September 23, 2014 Posted September 23, 2014 This would be nice for 1.5 Share this post Link to post Share on other sites
augis2003 4 Posted September 24, 2014 Posted September 24, 2014 Would be nice for 1.6 also Share this post Link to post Share on other sites
judaiculte 0 Posted October 22, 2014 Posted October 22, 2014 dosent work with 1.5 and 1.6 are you have a new update ? thank you Share this post Link to post Share on other sites
SaLiC 1 Posted March 31, 2015 Posted March 31, 2015 I would like this for 1.6 also Share this post Link to post Share on other sites
presciak 3 Posted September 15, 2015 Posted September 15, 2015 in 1.5.6.3 time to time works correctly How to change a link with a discount into cms page?I would like in popup show cms pages with baners Share this post Link to post Share on other sites
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