Hours of Operation Custom Field Type

Frequently when building Sitecore sites, the need has come up for the content author to be able to enter the hours of operation for their business. Unfortunately there is no built-in field type in Sitecore and nothing on the Sitecore Marketplace.  With the help of two of my colleagues, Aaron Ladage and Patrick Delancy, we created a custom hours of operation field type.  Our type allows content authors to easily enter opening and closing times for each day of the week.  The value is stored as XML and can be easily parsed not only to display for website visitors, but also to add the proper microdata and boost the website’s SEO.

Continue reading

Advertisements