Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Module to pop up a custom message on your store

Featured Replies

I have been using a module called 'custom popup notification' on my store for a number of years to display pop up messages to customers when they visit the website. I originally had this module from back when i was using Prestashop before migrating to 30 bees.

The module was developed by a developer known as Prestcraft. Unfortunately it appears they are no longer developing and not only is their website now redirecting to a dodgy looking casino website even their Github page has gone.

I found a link to their original github on the wayback machine linked to below if anyone wants to a free module that can do popups on their store
https://web.archive.org/web/20201014224414/https://github.com/PrestaCraft/custompopup

The latest version source code can be found at 
https://web.archive.org/web/20201014224445/https://codeload.github.com/PrestaCraft/custompopup/tar.gz/2.3.0

It installs Ok but did throw up an error when saving the module settings but the module still appears to work despite the error. But one thing I did need to do is alter one piece of code which was checking the developer own website for version updates, which would cause a error saying '301 permanent moved message' in the module backend. As this appeared over the top of some of the settings buttons making it hard to use the module.
To get around it I edited the file in the module directory /views/templates/admin/configure.tpl and remove the reference to {$VERSION_CHECKER}  and save the code.

        <div class="pc-info">
            <div class="pc-checker">
                {$VERSION_CHECKER}   <<<<--delete this line
            </div>
            <br/>

 

I have attached a version with this change made to this posting which can be uploaded to your store as is.

I have made no other changes to the code and the original references to the developers website are still intact in the file headers, but as it appears to have been inactive for a number of years and now redirects to what appears to be a casino website I wouldn't recommend going there.

I assume the original developer has abandoned this project now considering their own website and even their github have been deleted. So obviously you won't get any support or bug fixes etc, unless someone else in the community is able to take up the baton?
 

custompopup.zip

Edited by ukclearance

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.