Jump to content

Adding a custom message on front page


Recommended Posts

Hi

On my front page, I want to show a delivery message by admin, where admin can quickly put a general message something like this:

Today - We will be delivering at Location 1 at 3 PM

Or Put an update: We are running little late and we will be reaching at Location 1 at 3:30 PM

bla bla bla

 

Is there a way to add this option on the front page? Also is there a way for the admin to update this message from an android phone via an app or something like that?

 

2. Second  question: Is there an adroid app that admin can enable so it can tell where the admin's location is and we can integrate it on the front page?

I want to show location real time on my front page of the delivery tracking status. Thanks!

Link to comment
Share on other sites

Good morning

 

Question 1, You can simply use a free html module  that will allow you to show any information you want in your front office by using your PC or mobile, link below

 

http://www.prestashop.com/forums/topic/233442-free-modules-list-only-valuable-and-proven-solutions-09092013/

 

Look for "html block" in Front Office Features

 

Question 2. Sorry, not sure about that

 

Paul

  • Like 1
Link to comment
Share on other sites

if u want it to pop up on page load u can add some codes add at header.tpl

 

{literal}

<script type="text/javascript">
   
    $(document).ready( function() {
   
        // When site loaded, load the Popupbox First
        loadPopupBox();
   
        $('#popupBoxClose').click( function() {           
            unloadPopupBox();
        });
       
        $('#container').click( function() {
            unloadPopupBox();
        });

        function unloadPopupBox() {    // TO Unload the Popupbox
            $('#popup_box').fadeOut("slow");
            $("#container").css({ // this is just for style       
                "opacity": "1"
            });
        }   
       
        function loadPopupBox() {    // To Load the Popupbox
            $('#popup_box').fadeIn("slow");
            $("#container").css({ // this is just for style
                "opacity": "0.3"
            });        
        }       
    });
</script>{/literal}

add global.css

#popup_box {
    display:none; /* Hide the DIV */
    position:fixed;  
    _position:absolute; /* hack for internet explorer 6 */  
    height:300px;  
    width:600px;  
    background:#FFFFFF;  
    left: 300px;
    top: 150px;
    z-index:100;
    margin-left: 15px; 
    border:2px solid #ff0000;      
    padding:15px;  
    font-size:15px;  
    -moz-box-shadow: 0 0 5px #ff0000;
    -webkit-box-shadow: 0 0 5px #ff0000;
    box-shadow: 0 0 5px #ff0000;

}

#container {
    background: #d2d2d2; /*Sample*/
    width:100%;
    height:100%;
}

a{
cursor: pointer;
text-decoration:none;}

#popupBoxClose {
    font-size:20px;  
    line-height:15px;  
    right:5px;  
    top:5px;  
    position:absolute;  
    color:#6fa5e2;  
    font-weight:500;      
}

again at header.tpl the message

 

 

<body>
<div id="popup_box"> 
    <h1>

Today - We will be delivering at Location 1 at 3 PM

We are running little late and we will be reaching at Location 1 at 3:30 PM

bla bla bla

</h1>
    <a id="popupBoxClose">Close</a>   
</div>
<div id="container"> <!-- Main Page -->
</div>

  • Like 1
Link to comment
Share on other sites

 

2. Second  question: Is there an adroid app that admin can enable so it can tell where the admin's location is and we can integrate it on the front page?

I want to show location real time on my front page of the delivery tracking status. Thanks!

hello

 

im developing apps on adroid but to be honest, i don't know what you exactly expect. can you shed some light on it?

Link to comment
Share on other sites

Many thanks to all of you, for your quick reply. This is exactly what I have been looking for.

 

Vakia: Basically I Want a tracking module in real time on a map that will show the location of my delivery truck.

I was thinking of some sort of an app that can be enabled by the driver and I can see it's location on the map of my front page.

Hope that explains. Do you know any such app?

 

Also another question, are there any booking module paid/unpaid of any such? I want my users to be able to book any product on a specific category. On this category I will have product that will be only for booking. Is this doable?

Thanks! 

Link to comment
Share on other sites

×
×
  • Create New...