• Resolved barretomariadesign

    (@barretomariadesign)


    Hello, I would like to know if the following code is correct, since no matter how the schedule is set, if it is already closed, or what. It always shows the legend “We are open now”, when the legend has to be “Sorry, we are closed” should appear.

    // Whether or not to display the open status message.
    
    if ($options['show_open_status']) {
        if (BHS::openStatus($business_hours)) {
            printf('<div class="rtclbh-status rtclbh-status-open">%s</div>', !empty($options['open_status_text']) ? $options['open_status_text'] : __('We are currently open.', 'classified-listing'));
        } else {
            printf('<div class="rtclbh-status rtclbh-status-closed">%s</div>', !empty($options['close_status_text']) ? $options['close_status_text'] : __('Sorry, we are currently closed.', 'classified-listing'));
        }
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RadiusTheme

    (@techlabpro1)

    Hello,

    For theme support please create a ticket on our site. We have opening hours in two places in-store and post. So please explain in detail which one.

    Create a ticket we will check also the previous topic I asked you for ticket ID.

    Thanks

    Plugin Author RadiusTheme

    (@techlabpro1)

    Hi,

    I am making this topic as resolved for theme support please open ticket from our website.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘BUSSINESS HOUR’ is closed to new replies.