Jump to content

Add Business hours in multiple locations

Recommended Posts

Site URL: http://www.blackbookbar.com

Squarespace's mobile information bar includes the ability to dynamically publish your business hours. What I am looking for is a way to create a similar embed on multiples pages. Basically, I want to include the business hours in the footer, but also on some select other pages. I'd love for the data that's displayed to be pulled dynamically from the business information in my account settings. This way I don't have to remember to update the hours in multiple locations each time.

Anyone have thoughts on how to achieve this?

 

Thanks!

 

 

Edited by cchs
Link to comment

Do you mean you want to display the business hour on footer of the desktop interface?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
24 minutes ago, bangank36 said:

Do you mean you want to display the business hour on footer of the desktop interface?

No, I want to display them right in the body of a page. The Contact Us page for example. I don't want to manually manage the business hours on a page, it should be synced to what is entered in the BUSINESS INFORMATION section of the backend, which controls the hours in the footer on desktop already. 
https://www.hollenbeckpestcontrol.com/contact-us

Link to comment
On 4/12/2022 at 7:21 AM, cchs said:

I want to include the business hours in the footer, but also on some select other pages. I'd love for the data that's displayed to be pulled dynamically from the business information in my account settings. This way I don't have to remember to update the hours in multiple locations each time.

It should be possible to write some code to pull the opening hours from Settings > Business Information > Business Hours but these are quite restrictive in terms of formatting whereas I note that your current statement is arguably more user friendly - "Open Noon–Late. Every day."

Do you want to replace this with the hours from the "Business Hours" setting, as below?

Mo 12:00-02:00
Tu 12:00-00:00
We 12:00-00:00
Th 12:00-00:00
Fr 12:00-00:00
Sa 12:00-00:00
Su 12:00-00:00

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.