Stacks Image 6

Opening Hours

Are you actually open right now?

Opening Hours

Is your business actually open, when someone from the other side of the world comes to visit your website?

Overview.

The stack knows where both you and your visitor are in the world, and offsets their current time to your location time, accounting for DST (daylight saving time), and displays what you'd like as the appropriate content, based on wether or not your business is actually open at that time. To take a phone call for example.

Automatic timezone detection : The stack will automatically detect the timezone of both your business, and the visitor to your page. Calculating the correct offsets in time between you and your visitor, you are able to display content that is relevant to your business actually being open or closed, when your visitor is on your page.

Automatic daylight saving time detection : The stack will take DST (daylight saving time) into account when calculating the time offset between you and your visitor.

Also for businesses that open their doors up to twice per day : The settings enable you to enter an open and close time on each of the 7 days of the week. If you are a business that opens its doors twice in a day, then the stack will allow you to enter 2 open and closed times for each day of the week. Of course you can specify that you don’t open at all on any given day of the week. (see settings tab below for more info).

Display anything : The stack gives you two drop zones. One will be displayed if you are open and one if you are closed. You can add anything you like in these drop zones, that is relevant to the current open status of the business. (see edit mode tab below for more info).

Instant download.

Version : 1.0.6

Responsive : Yes

First released : 30/1/2016

Last Updated : 15/01/2018

Stacks V 3.0 or greater.

Live demo.

You can see a few live examples of the stack in action below. Be sure to check out the edit mode section, and the FAQ section to see how the stack is setup.

As you can see, no matter where in the world you are visiting this page from, you can see wether or not any of the businesses above are actually open. As many of them could have long since closed their doors for the day. Here we just choose to display a red or green button based on the result, but you can show / hide any stacks you like based on the result.

Doobox London (Head Office)

Office hours are Mon-Sun 9am to 5pm.
Contact us on : [Country Code] 666 888888
Open

%myCurrentTime% in London

Closed

Back %nextOpeningTime%, %nextOpeningDate% your time.

Doobox Sydney

Office hours are Mon-Sun 9am to 5pm.
Contact us on : [Country Code] 666 888888
Open

%myCurrentTime% in Sydney

Closed

Back %nextOpeningTime%, %nextOpeningDate% your time.

Doobox Moscow

Office hours are Mon-Sun 9am to 5pm.
Contact us on : [Country Code] 666 888888
Open

%myCurrentTime% in Moscow

Closed

Back %nextOpeningTime%, %nextOpeningDate% your time.

Doobox Los Angeles

Office hours are Mon-Sun 9am to 5pm.
Contact us on : [Country Code] 666 888888
Open

%myCurrentTime% in Los Angeles

Closed

Back %nextOpeningTime%, %nextOpeningDate% your time.

Doobox New York

Office hours are Mon-Sun 9am to 5pm.
Contact us on : [Country Code] 666 888888
Open

%myCurrentTime% in New York

Closed

Back %nextOpeningTime%, %nextOpeningDate% your time.

Doobox Tokyo Japan

Office hours are Mon-Sun 9am to 5pm.
Contact us on : [Country Code] 666 888888
Open

%myCurrentTime% in Tokyo

Closed

Back %nextOpeningTime%, %nextOpeningDate% your time.

Stacks settings.

In this section we have provided a comprehensive list of available settings, and a full description of what each of the settings does for the stack.

Stacks Image 243
Your location

The stack need to be able to work out your time zone. It does this by checking the location you enter here with Google. The location you enter should be at least your nearest major city and country in the same time zone as you are, like the default example of “New York USA”. Google has no trouble finding that location. But if you are in a more obscure part of the world enter as much of a real postal address in your timezone as you can.

There is a setting below to check the success of your location you entered.

You open

For businesses that open their doors once per day, choose “Once per day”.

For businesses like restaurants that open their doors twice per day, choose “Twice per day”, and you are given 2 open and 2 close inputs for each day.

Daily opening times

In each of the days, add the time you open and the time you close.

If you do not open at all on any of the days, then add “0” to every open and close field available for that day.

If you are the type of business that is open over the midnight period on any given day. For example in the case you opened on a Monday at 9pm and closed early Tuesday morning at 3am. Then enter 21 in Mondays last available open field, and 3 in Mondays last available close field.

If you have selected to open twice per day the above holds true.
If you only open twice per day on a few days and once per day or not at all on others then on days you only open once, set the remaining two open close fields to 0.

Holiday dates

Enter a comma separated list of dates that your business is closed.
By default this field is pre populated with: 01-01,25-12,26-12
That’s new years day, christmas and boxing day.

Dates should alway be in this format DD-MM
[The day as 2 digits] [A dash] [The month as 2 digits]

Separate all date entries here with a comma.

Now if you visitor arrives at a time you would normally be open based on your hours, they will see your closed content if it is one of your holiday days.

Compact and tidy

Select after you are done adding content to the stack to remove un-needed clutter in the editing mode view. You can reveal it again at any time be de-selecting this option.

Test location

After adding your Location in the settings, select this option, and preview the page. This will run a test to see if Google found the location you entered. On Success you will be given info about the timezone the stack believes you belong to.
Uncheck this option straight away after you have Success.

Stacks edit mode.

We pay great attention to how we approach the editing interface of every stack, to ensure intuitive ease of use.

Stacks Image 297

You are given two drop zones. One who’s content will be displayed if the visitor is on your page during your opening hours, and another to be displayed other wise.

Stacks Image 783

You can put anything you like inside these drop zones. Here we have just added a couple of heading stacks, but you could use images or most any other stack or combination of stacks in these areas.

Stacks FAQ.

Important information that is pertinent to this stack. Please read, as there may well be something here that is essential to the deployment of this stack.

Browser support

This stack is supported in all modern browsers. Any exception to this rule will be listed below.

Safari

Chrome

Firefox

Explorer

Using the stacks text macros?

The macros, highlighted in blue at the top of the stack in edit mode, can be used in any text within the drop zones, and will be replaced with the relative values when displayed.

Simply copy the macro, and place it within your text. When the page loads, the macro will be replaced with the relevant information.

  • %nextOpeningTime% is replaced with for example : 1:30pm. This is calculated based on your visitors time.
  • %nextOpeningDate% is replaced with for example : 1st Jan. This is calculated based on your visitors time.
  • %myCurrentTime% is replaced with for example : 1:30pm. This is the time at your business location.
  • %myCurrentDate% is replaced with for example : 1st Jan. This is the date at your business location.

Known compatibility issues

There are no known compatibility issues with this stack.

Stack installation

Download.

After purchase, you will be sent an email containing a download link for the stack.
Download the zip file from the link, and unzip it to reveal the stack inside.
You should now see the stack as a logo style icon.

Normal installation.

Double click the un-zipped stack file (the one that looks like a piece of lego).
This will launch Rapidweaver if it was not already running, to automatically install the stack.
Rapidweaver handles the install process from here. Guiding you through a couple of simple clicks to complete the installation.
Re-start Rapidweaver to ensure the installation is complete.
You will now see the new stack in the Stacks plugin library.

Installation where more than one version of Rapidweaver is installed.

Sometimes if there is more than one version of Rapidweaver installed on your system, the double click method launches the wrong version of Rapidweaver to install the stack. To ensure the it is installed into the version you want to install to, you can, instead of double clicking the stack, just drag and drop it onto the appropriate Rapidweaver app icon in your dock at the bottom of your screen.

This will launch Rapidweaver if it was not already running, to automatically install the stack.
Rapidweaver handles the install process from here. Guiding you through a couple of simple clicks to complete the installation.
Re-start Rapidweaver to ensure the installation is complete.
You will now see the new stack in the Stacks plugin library.

Secure checkout.

We trust PayPal as our secure checkout provider.

Don't have a PayPal account? No worries. PayPal allows you to pay with your credit card if you do not have an account set-up.

Instant download.

Stacks Image 589

© 2018 Doobox Software. Building premium Software Mac & RapidWeaver™