USE CODE S2TOS3 FOR $75 OFF ALL SYNC 2 TO SYNC 3 KITS THRU FEB 28TH

Contact NaviUpgrade 🧭

<style>
	.store-open{
	color: #36db00;
    border:3px solid #36db00;
    padding: 6px 10px 6px 10px;
	margin: 0px 5px 0px 5px;
	border-radius: var(--radius-m);
	text-transform: uppercase;
}
	.store-closed{
	color: #ca0102;
    border:3px solid #ca0102;
    padding: 6px 10px 6px 10px;
	margin: 0px 5px 0px 5px;
	border-radius: var(--radius-m);
	text-transform: uppercase;
}
</style>

<?php

// if ACF is not active, abort.
if ( ! class_exists( 'ACF' ) ) {
	return;
}

// today's day of the week
$today = date( 'l' ); // Ex.: Monday

// current time
$time = date( 'H:i:s' ); // Ex.: 06:38:47

// current time timestamp - the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)
$time = current_datetime()->format( 'U' ); // Ex.: 1646635127

if ( have_rows( 'opening_hours', 'option' ) ) {
	while ( have_rows( 'opening_hours', 'option' ) ) : the_row();
		if ( $today !== get_sub_field( 'day' ) ) {
			continue;
		}
	
		$opening_time_object = new DateTimeImmutable( get_sub_field( 'opening_time' ), wp_timezone() );
		$opening_time = $opening_time_object->format( 'U' ); // format it into a Unix timestamp

		$closing_time_object = new DateTimeImmutable( get_sub_field( 'closing_time' ), wp_timezone() );
		$closing_time = $closing_time_object->format( 'U' ); // format it into a Unix timestamp

		$time_left = $closing_time - $time; // in seconds

		if ( $opening_time <= $time && $closing_time >= $time && 60 < $time_left ) {
			echo "<h4>We are currently <span class='store-open'>OPEN</span> give us a call or text!<br/></h4>";

			if ( $time_left <= 3600 ) { // if closing in less than an hour
				echo "We will be closing in about " . floor( $time_left / 60 ) . " minutes, but are more than happy to take your texts after we're closed.";
			}
		} else {
			echo "<h4>We are currently <span class='store-closed'>closed</span></h4><p>Please feel free to drop us a text and we'll get back to you ASAP.</p>";
		}

	endwhile;
}

?>
Business Hours
Monday-Friday:
10:00a to 5:30p PST
Saturday: 10:00a to 2:30p PST
Sunday: CLOSED
Closed on all USA National Holidays

Call or Text Us!

Calling or Texting is our PREFERRED CONTACT METHOD!

Using this method will likely get you a near immediate response on business days within business hours.

Why a form? This form will add you to our contacts so we know you’re not spam! We get a lot of spam calls so this will help you get through to us the fastest!

Once you press ‘Call // Text Now’ on your phone, it will redirect to your phone app with our number already inputted, ready to call or text!

Phone Book

Submit a Support Ticket

If you need product support and don’t feel like calling or texting, you can submit a support ticket here.

Please keep in mind that with the current volume of support tickets that are submitted, you can expect to receive a response in 3-7 business days (all days except Sundays).

If you have a more urgent question, please call us or text us via our call/text form.

NaviUpgrade Contact Form

Brian Lovelace

Brian Lovelace

I'll get back to you as soon as I can!

Chat hours open Mon-Fri, 10:00am to 5:30pm PST

Contact Us

NaviUpgrade Contact Form

Brian Lovelace
Hello ud83dudc4b Thanks for your interest in NaviUpgrade. Before we begin, may I know your name?
Start Chat with:
chat Need Help?