• Resolved emergelsberg

    (@emergelsberg)


    Dear Support,
    i have encountered a problem with temporary closure with the conditional status.
    I’m display the current open or close status with the conditional statements. If you i set a temporary closure time range, the conditional check will display the state “open” further.
    Opening hours table is displayed correctly.

    Can you please check if there is any bug with the conditional feature with temporary closure?

    Thanks & Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @emergelsberg Thanks for getting in touch.

    If you have used something other than just [open_now]Content for open[/open_now] or [closed_now]Content for closed[/closed_now], please let me know as a reply.

    Leave it with me and I’ll report back.

    • This reply was modified 4 years ago by Design Extreme. Reason: Simplifying as the original post is clear
    Thread Starter emergelsberg

    (@emergelsberg)

    Hi @designextreme ,
    thank you for your quick response.

    I’m using the following condition – maybe it helps to locate the issue: ??

    <p class="open-text"><i class="far fa-clock"></i> Aktuell:
    [open_text update="immediate" reload=true ]
    %if_open_now%
    <span style="font-size: 1em; color: green;">
    <i class="far fa-pulse fa-dot-circle"></i> </span>
    Ge?ffnet
    %end%
    %if_open_later%
    <span style="font-size: 1em; color: orange;">
    <i class="far fa-dot-circle"></i> </span>
    Geschlossen. Wir ?ffnen wieder am: %today_next%. %end%
    %if_closed_now%
    %if_not_open_later%
    <span style="font-size: 1em; color: red;">
    <i class="far fa-dot-circle"></i> </span>
    Geschlossen
    %if_open_tomorrow%, bis morgen %tomorrow_start%.
    %else%. %end%
    %end%
    %end%
    [/open_text]</p>
    Plugin Author Design Extreme

    (@designextreme)

    @emergelsberg Thanks, this is a little different to what I was expecting. Do you have a URL of the current output?

    Plugin Author Design Extreme

    (@designextreme)

    @emergelsberg Sorry for the delay here. I will post a reply and/or solution soon.

    Plugin Author Design Extreme

    (@designextreme)

    @emergelsberg I have performed quite a few tests to investigate this issue, and I’ve been able to replicate this error on my development website.

    I’ve set the normal opening hours to open (for the current time period) and then added a Temporary Closure over the same period. The conditional [open_now] and [closed_now] shortcodes are not following the rules correctly.

    I will add a fix to the next version to be released very soon.

    My apologies for the delay in resolving this for you.

    Plugin Author Design Extreme

    (@designextreme)

    @emergelsberg The issue is now fixed in Version 1.26.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Temporary closure not working with conditions’ is closed to new replies.