Support » Plugin: Opening Hours » Start always with today

  • Resolved sonnesworld

    (@nachhaltigejobs)


    Hi,
    I want to show opening hours for different shops on a website. I always want to start with “Today”, “Tomorrow” and then the opening hours of the other days. Please check this: https://www.bachsermaert.ch/en/albisrieden/. Is there any possibility to show the opening hours with your plugin like this or do you offer paid customization?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author janizde

    (@janizde)

    Hi @sonnesworld,

    it seems from the link you provided you already found a solution. For future reference, I think the op_overview_model filter would be an option. You’d then need to provide a $now date to the constructor of OverviewModel to make it start at the current day of the week.

    Plugin Author janizde

    (@janizde)

    Thread Starter sonnesworld

    (@nachhaltigejobs)

    Hi,

    It’s not so easy to change the code so it start with today. It affects the logic e.g. it has to fall back to regular opening hours after a irr. opening hour or holiday ends. Otherwise it shows the irr. opening in future which is not correct. Are you interested in develop this and if yes please can you make me an offer for this? Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.