MAW-894: review stars
@@ -11,7 +11,7 @@
|
||||
|
||||
<section class="all-posts-container">
|
||||
<div class="container">
|
||||
<h1 class="mt-5">The Lifeline Blog</h1>
|
||||
<h1 class="mt-5">The Medicalalert Blog</h1>
|
||||
<div class="featured-post" style="margin-top: 2rem;">
|
||||
<?php if( $featured_post ) : ?>
|
||||
<div class="col">
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 822 KiB |
|
Before Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 373 KiB |
|
Before Width: | Height: | Size: 459 KiB |
|
Before Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 262 KiB |
|
Before Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 263 KiB |
|
Before Width: | Height: | Size: 620 KiB |
|
Before Width: | Height: | Size: 289 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 294 KiB |
|
Before Width: | Height: | Size: 175 KiB |
|
Before Width: | Height: | Size: 287 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
wp/wp-content/themes/medicalalert/assets/media/images/reviews_icon.png
Executable file
|
After Width: | Height: | Size: 754 B |
@@ -203,17 +203,17 @@ $google_link = get_field('google_link', 'option');
|
||||
<div class="row social-icons">
|
||||
<div class="col text-center">
|
||||
<a arialabel="Facebook" href="<?php echo $facebook_url; ?>">
|
||||
<i class="fa-brands fa-facebook" aria-hidden="true" title="Link to Lifeline Facebook page"></i>
|
||||
<i class="fa-brands fa-facebook" aria-hidden="true" title="Link to Medicalalert Facebook page"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col text-center">
|
||||
<a aria-label="LinkedIn" href="<?php echo $linkedin_url; ?>">
|
||||
<i class="fa-brands fa-linkedin" aria-hidden="true" title="Link to Lifeline LinkedIn page"></i>
|
||||
<i class="fa-brands fa-linkedin" aria-hidden="true" title="Link to Medicalalert LinkedIn page"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col text-center">
|
||||
<a aria-label="YouTube" href="<?php echo $youtube_url; ?>">
|
||||
<i class="fa-brands fa-youtube" aria-hidden="true" title="Link to Lifeline YouTube page"></i>
|
||||
<i class="fa-brands fa-youtube" aria-hidden="true" title="Link to Medicalalert YouTube page"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -104,9 +104,9 @@
|
||||
<nav class="navbar navbar-dark navbar-expand-lg main-nav">
|
||||
<div class="container main-nav-wrapper">
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<a class="navbar-brand w-50 main-logo" href="/"><img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="Lifeline Logo"></a>
|
||||
<a class="navbar-brand w-50 main-logo" href="/"><img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="Medicalalert Logo"></a>
|
||||
<?php else : ?>
|
||||
<a class="navbar-brand w-50 main-logo" href="/business/"><img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="Lifeline Logo"></a>
|
||||
<a class="navbar-brand w-50 main-logo" href="/business/"><img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="Medicalalert Logo"></a>
|
||||
<?php endif; ?>
|
||||
<button class="navbar-toggler ms-auto navbar-dark" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
|
||||
@@ -1,57 +1,7 @@
|
||||
<?php
|
||||
get_header();
|
||||
|
||||
$data = site()->getPost($post, ["title", "content"]); // $post comes from global WP garbage
|
||||
$data = site()->getPost($post, ["title", "content"]);
|
||||
echo site()->render("standard_page", $data);
|
||||
|
||||
// old stuff below
|
||||
// $products_list_title = the_field("products_list_title");
|
||||
// example handlebars render. feel free to delete this and build out your content
|
||||
// echo site()->render("page-hero", [
|
||||
// "hero-background" => get_field("homepage_--_hero_-_background"),
|
||||
// "hero-title" => get_field("homepage_--_hero_-_title"),
|
||||
// "hero-copy" => get_field("homepage_--_hero_-_copy"),
|
||||
// "button-text" => get_field("homepage_--_hero_-_button_text"),
|
||||
// "button-link" => get_field("homepage_--_hero_-_button_link"),
|
||||
// ]);
|
||||
|
||||
|
||||
|
||||
// echo site()->render("homepage", [
|
||||
// "products-list-title" => get_field("products_list_title"),
|
||||
// "products_list_copy" => get_field("products_list_copy"),
|
||||
// "products_list_products" => get_field("products_list_products"),
|
||||
// "products_list_cta_copy" => get_field("products_list_cta_copy"),
|
||||
// "products_list_cta_phone_number" => get_field("products_list_cta_phone_number"),
|
||||
// "highlighted_features" => get_field("highlighted_features"),
|
||||
// "philips_cares_image" => get_field("philips_cares_image"),
|
||||
// "philips_cares_title" => get_field("philips_cares_title"),
|
||||
// "philips_cares_copy" => get_field("philips_cares_copy"),
|
||||
// "philips_cares_bullet_list" => get_field("philips_cares_bullet_list"),
|
||||
// "philips_cares_button_text" => get_field("philips_cares_button_text"),
|
||||
// "philips_cares_button_link" => get_field("philips_cares_button_link"),
|
||||
// "homepage_--_philips_lifeline_-_title" => get_field("homepage_--_philips_lifeline_-_title"),
|
||||
// "homepage_--_philips_lifeline_-_copy" => get_field("homepage_--_philips_lifeline_-_copy"),
|
||||
// "homepage_--_philips_lifeline_-_card" => get_field("homepage_--_philips_lifeline_-_card"),
|
||||
// "homepage_--_testimonial_-_image" => get_field("homepage_--_testimonial_-_image"),
|
||||
// "homepage_--_testimonial_-_title" => get_field("homepage_--_testimonial_-_title"),
|
||||
// "homepage_--_testimonial_-_copy" => get_field("homepage_--_testimonial_-_copy"),
|
||||
// "homepage_--_testimonial_-_name" => get_field("homepage_--_testimonial_-_name"),
|
||||
// "homepage_--_speak_with_someone_-_title" => get_field("homepage_--_speak_with_someone_-_title"),
|
||||
// "homepage_--_speak_with_someone_-_copy" => get_field("homepage_--_speak_with_someone_-_copy"),
|
||||
// "homepage_--_speak_with_someone_-_image" => get_field("homepage_--_speak_with_someone_-_image"),
|
||||
// "homepage_--_speak_with_someone_-_form" => do_shortcode('[gravityform id="'.get_field("homepage_--_speak_with_someone_-_form").'" title="false" description="false" ajax="true"]'),
|
||||
// "homepage_--_families_choose_-_title" => get_field("homepage_--_families_choose_-_title"),
|
||||
// "homepage_--_families_choose_-_copy" => get_field("homepage_--_families_choose_-_copy"),
|
||||
// "homepage_--_families_choose_-_image" => get_field("homepage_--_families_choose_-_image"),
|
||||
// "homepage_--_families_choose_-_bullet_list" => get_field("homepage_--_families_choose_-_bullet_list"),
|
||||
// "homepage_--_widely_trusted_-_title" => get_field("homepage_--_widely_trusted_-_title"),
|
||||
// "homepage_--_widely_trusted_-_logo_list" => get_field("homepage_--_widely_trusted_-_logo_list"),
|
||||
|
||||
// ]);
|
||||
|
||||
|
||||
|
||||
// take it away from here!
|
||||
|
||||
get_footer();
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
@import "footer";
|
||||
@import "gravity-forms"; // old
|
||||
@import "woo"; // old
|
||||
@import "lifeline-style-guide";
|
||||
@import "medicalalert-style-guide";
|
||||
@import "error";
|
||||
// pages
|
||||
@import "search-results-page";
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<div class="row mt-3 mb-3">
|
||||
<div class="col-1">
|
||||
<div class="check">
|
||||
<img src="/wp-content/themes/lifeline/assets/media/images/lifeline__custom-list-image.png" alt="Checkmark">
|
||||
<img src="/wp-content/themes/medicalalert/assets/media/images/medicalalert__custom-list-image.png" alt="Checkmark">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<div class="container-fluid help-choosing-bar">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h2>Need help choosing your medical alert system?</h2>
|
||||
{{#if compare }}
|
||||
<a class="button--primary" href="#">Compare Solutions</a>
|
||||
{{/if}}
|
||||
{{#if choose }}
|
||||
<a class="button--primary" href="#">Help Me Choose</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,181 +0,0 @@
|
||||
<!-- Products List BEGIN -->
|
||||
<div class="container-fluid product-list">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 product-list__copy">
|
||||
<h2>{{products-list-title}}</h2>
|
||||
<p>{{products_list_copy}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
{{#each products_list_products}}
|
||||
<div class="col-lg-4 product-list__product-wrapper">
|
||||
<div class="product-list__product-wrapper__product">
|
||||
<img class="product-list__product-wrapper__product__image" src="{{this.products_list_products_image}}" />
|
||||
<h3 class="product-list__product-wrapper__product__title">{{this.products_list_products_title}}</h3>
|
||||
<p class="product-list__product-wrapper__product__description">{{this.products_list_products_copy}}</p>
|
||||
<a href="{{this.products_list_products_link}}" class="button--primary">See Pricing</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 product-list__sales-consultants">
|
||||
<p class="product-list__sales-consultants__copy">{{products_list_cta_copy}}</p>
|
||||
<p class="product-list__sales-consultants__phone-number">{{products_list_cta_phone_number}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Products List END -->
|
||||
|
||||
<!-- Highlight Circle Features BEGIN -->
|
||||
<div class="container-fluid highlighted-cricle-features">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{#each highlighted_features}}
|
||||
<div class="col-lg-6 highlighted-cricle-features__feature">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<img class="highlighted-cricle-features__feature__image" src="{{highlighted_features_image}}" />
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<h3 class="highlighted-cricle-features__feature__heading">{{highlighted_features_title}}</h3>
|
||||
<p class="highlighted-cricle-features__feature__copy">{{highlighted_features_copy}}</p>
|
||||
<a class="highlighted-cricle-features__feature__link" href="{{highlighted_features_link}}">Learn More ></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Highlight Circle Features END -->
|
||||
|
||||
<!-- Philips Cares BEGIN -->
|
||||
<div class="container-fluid philips-cares">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<img class="philips-cares__image" src="{{philips_cares_image}}" />
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<h2 class="philips-cares__heading">{{philips_cares_title}}</h2>
|
||||
<p class="philips-cares__copy">{{philips_cares_copy}}</p>
|
||||
<ul class="philips-cares__list">
|
||||
{{#each philips_cares_bullet_list}}
|
||||
<li>{{philips_cares_bullet_list_item}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<a href="{{philips_cares_button_link}}" class="button--primary">{{philips_cares_button_text}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Philips Cares END -->
|
||||
|
||||
<!-- Philips Lifeline BEGIN -->
|
||||
<div class="container-flui philips-lifeline">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 philips-lifeline__header">
|
||||
<h2 class="philips-lifeline__header__heading">{{homepage_--_philips_lifeline_-_title}}</h2>
|
||||
<p class="philips-lifeline__header__copy">{{{homepage_--_philips_lifeline_-_copy}}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
{{#each homepage_--_philips_lifeline_-_card}}
|
||||
<div class="col-lg-4 philips-lifeline__card-wrapper">
|
||||
<div class="philips-lifeline__card-wrapper__card">
|
||||
<img class="philips-lifeline__card-wrapper__card__image" src="{{homepage_--_philips_lifeline_-_card_-_image}}"/>
|
||||
<div class="philips-lifeline__card-wrapper__card__content">
|
||||
<h3 class="philips-lifeline__card-wrapper__card__content__heading">{{homepage_--_philips_lifeline_-_card_-_title}}</h3>
|
||||
<p class="philips-lifeline__card-wrapper__card__content__copy">{{{homepage_--_philips_lifeline_-_card_-_copy}}}</p>
|
||||
<a class="button--primary" href="{{homepage_--_philips_lifeline_-_card_-_button_-_link}}">{{homepage_--_philips_lifeline_-_card_-_button_-_text}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Philips Lifeline END -->
|
||||
|
||||
<!-- Testimonial BEGIN -->
|
||||
<div class="container-fluid testimonial">
|
||||
<div class="container ">
|
||||
<div class="row">
|
||||
<div class="col-lg-3">
|
||||
<img class="testimonial__image" src="{{homepage_--_testimonial_-_image}}"/>
|
||||
</div>
|
||||
<div class="col-lg-9 testimonial__copy my-auto">
|
||||
<p class="testimonial__copy__title">{{homepage_--_testimonial_-_title}}</p>
|
||||
<p class="testimonial__copy__content">{{homepage_--_testimonial_-_copy}}</p>
|
||||
<p class="testimonial__copy__name">{{homepage_--_testimonial_-_name}}</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Testimonial END -->
|
||||
|
||||
<!-- Speak With Someone BEGIN -->
|
||||
<div class="container-fluid speak-with-someone">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 speak-with-someone__header">
|
||||
<h2 class="speak-with-someone__header__heading">{{homepage_--_speak_with_someone_-_title}}</h2>
|
||||
<p class="speak-with-someone__header__content">{{homepage_--_speak_with_someone_-_copy}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-6 speak-with-someone__form-wrapper">
|
||||
<div>{{{homepage_--_speak_with_someone_-_form}}}</div>
|
||||
</div>
|
||||
<div class="col-lg-6 speak-with-someone__image-wrapper">
|
||||
<img class="speak-with-someone__image-wrapper__image" src="{{homepage_--_speak_with_someone_-_image}}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Speak With Someone END -->
|
||||
|
||||
<!-- Familes Choose BEGIN -->
|
||||
<div class="container-fluid families-choose">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 families-choose__header">
|
||||
<h2 class="families-choose__header__heading">{{homepage_--_families_choose_-_title}}</h2>
|
||||
<p class="families-choose__header__copy">{{homepage_--_families_choose_-_copy}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-6 families-choose__image-wrapper">
|
||||
<img class="families-choose__image-wrapper__image" src="{{homepage_--_families_choose_-_image}}"/>
|
||||
</div>
|
||||
<div class="col-lg-6 families-choose__copy">
|
||||
<ul class="families-choose__copy__list">
|
||||
{{#each homepage_--_families_choose_-_bullet_list}}
|
||||
<li>{{homepage_--_families_choose_-_bullet_list_-_item}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Families Choose END -->
|
||||
|
||||
<!-- Widely Trusted BEGIN -->
|
||||
<div class="container-fluid widely-trusted">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h2 class="widely-trusted__heading">{{homepage_--_widely_trusted_-_title}}</h2>
|
||||
{{#each homepage_--_widely_trusted_-_logo_list}}
|
||||
<div class="col-lg-3 widely-trusted__image-wrapper">
|
||||
<img class="widely-trusted__image-wrapper__image" src="{{homepage_--_widely_trusted_-_logo_list_-_item}}"/>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Widely Trusted END -->
|
||||
@@ -1,6 +0,0 @@
|
||||
|
||||
<header>
|
||||
<h1>Be there for
|
||||
the moments
|
||||
that matter.</h1>
|
||||
</header>
|
||||
@@ -1,51 +0,0 @@
|
||||
<div class="container-fluid product-features">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 product-features__header">
|
||||
<h2 class="product-features__header__heading">Product Features</h2>
|
||||
</div>
|
||||
<div class="col-lg-6 product-features__video-wrapper">
|
||||
<img class="product-features__video-wrapper__video-thumbnail" src="/wp-content/themes/lifeline/assets/media/images/lifeline__product-page__product-features__video-thumbnail.jpg" alt="" />
|
||||
<p>
|
||||
The first all-in-one system from Lifeline, the GoSafe 2 provides coverage and support wherever you go—whether that’s to the supermarket, or in your home. It also has our automatic fall detection, AutoAlert1, for an additional layer of protection.</p>
|
||||
</div>
|
||||
<div class="col-lg-6 product-features__content">
|
||||
<p>
|
||||
<strong>AutoAlert fall detection:</strong> AutoAlert is designed to detect falls accurately and connect to help in an instant, even if you can’t push the button. Learn more
|
||||
</p>
|
||||
<p>
|
||||
<strong>2-way voice communication:</strong> With the GoSafe 2 system, speak directly with a trained Response Associate through the pendant.
|
||||
</p>
|
||||
<p><strong>5 locating technologies:</strong> GoSafe 2 features 5 location technologies so no matter where you are, we can get you the help you want. Learn more </p>
|
||||
<p><strong>Waterproof help button:</strong> Wear the pendant in the bath or in the shower, where falls are most common.</p>
|
||||
<p><strong>Rechargeable battery:</strong> The battery lasts up to 2-3 days on a single charge and can even charge while you’re wearing it.</p>
|
||||
<p><strong>All-in-one system:</strong> This single piece system provides fast access to help whenever and wherever you need it.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid service-features">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 service-features__header">
|
||||
<h2 class="service-features__header__heading">Product Features</h2>
|
||||
</div>
|
||||
<div class="col-lg-6 service-features__content">
|
||||
<p>
|
||||
<strong>AutoAlert fall detection:</strong> AutoAlert is designed to detect falls accurately and connect to help in an instant, even if you can’t push the button. Learn more
|
||||
</p>
|
||||
<p>
|
||||
<strong>2-way voice communication:</strong> With the GoSafe 2 system, speak directly with a trained Response Associate through the pendant.
|
||||
</p>
|
||||
<p><strong>5 locating technologies:</strong> GoSafe 2 features 5 location technologies so no matter where you are, we can get you the help you want. Learn more </p>
|
||||
<p><strong>Waterproof help button:</strong> Wear the pendant in the bath or in the shower, where falls are most common.</p>
|
||||
<p><strong>Rechargeable battery:</strong> The battery lasts up to 2-3 days on a single charge and can even charge while you’re wearing it.</p>
|
||||
<p><strong>All-in-one system:</strong> This single piece system provides fast access to help whenever and wherever you need it.</p>
|
||||
</div>
|
||||
<div class="col-lg-6 service-features__video-wrapper">
|
||||
<img class="service-features__video-wrapper__video-thumbnail" src="/wp-content/themes/lifeline/assets/media/images/lifeline__product-page__service-features__video-thumbnail.jpg" alt="" />
|
||||
<p>GoSafe 2 is designed to find you wherever and whenever you need help and connect you with a Trained Response Associate 24 hours a day, 7 days a week.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,47 +0,0 @@
|
||||
<!-- Be Together BEGIN -->
|
||||
<section class="container-fluid be-together">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 be-together__image-wrapper">
|
||||
<img class="be-together__image-wrapper__image" src="/wp-content/themes/lifeline/assets/media/images/lifeline__philips-cares__be-together__image.png" />
|
||||
</div>
|
||||
<div class="col-lg-8 be-together__content-wrapper">
|
||||
<h2 class="be-together__content-wrapper__heading">Be There Even When You Can't Be Together</h2>
|
||||
<p class="be-together__content-wrapper__copy">Philips Cares is the hub for sharing information amongst family and friends. We call it a care circle because you can fill it with people who care about your well-being. You and your care circle can easily share notes and updates about how you're doing. So when life makes it challenging to be physically together, you can all stay on the same page.</p>
|
||||
<ul class="be-together__content-wrapper__list">
|
||||
<li>Easily form and activate a care circle of family and friends</li>
|
||||
<li>Get meaningful insights and notifications about care</li>
|
||||
<li>Manage your Philips Lifeline service when and how you want</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Be Together END -->
|
||||
<!-- At Your Fingertips START -->
|
||||
<section class="container-fluid at-your-fingertips">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-5 at-your-fingertips__content-wrapper">
|
||||
<h2 class="at-your-fingertips__content-wrapper__heading">Care At Your Fintertips</h2>
|
||||
<p class="at-your-fingertips__content-wrapper__copy">With easy access through your computer or mobile phone, Philips Cares puts important information at your fingertips.</p>
|
||||
<br>
|
||||
<p class="at-your-fingertips__content-wrapper__copy"><strong>Already have a Lifeline System?</strong>
|
||||
Simply download the app or visit the web URL and follow the prompts to connect it to your Lifeline account. You'll need the email address you provided when you ordered Philips Lifeline.</p>
|
||||
<ul class="at-your-fingertips__content-wrapper__app-store-buttons">
|
||||
<li class="at-your-fingertips__content-wrapper__app-store-buttons__apple-app-store-wrapper">
|
||||
<img class="at-your-fingertips__content-wrapper__app-store-buttons__apple-app-store-wrapper__button" src="/wp-content/themes/lifeline/assets/media/images/lifeline__apple-app-store-button.png"/>
|
||||
</li>
|
||||
<li class="at-your-fingertips__content-wrapper__app-store-buttons__google-play-store-wrapper">
|
||||
<img class="at-your-fingertips__content-wrapper__app-store-buttons__google-play-store-wrapper__button" src="/wp-content/themes/lifeline/assets/media/images/lifeline__google-play-button.png"/>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-7 at-your-fingertips__image-wrapper">
|
||||
<img class="at-your-fingertips__image-wrapper__image" src="/wp-content/themes/lifeline/assets/media/images/lifeline__philips-cares__at-your-fingertips__image.png"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- At Your Fingertips END -->
|
||||
@@ -1,38 +0,0 @@
|
||||
<div class="container-fluid product-list">
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4 product-list__product-wrapper">
|
||||
<div class="product-list__product-wrapper__product">
|
||||
<img class="product-list__product-wrapper__product__image" src="/wp-content/themes/lifeline/assets/media/images/lifeline__products__homesafe-standard.png" />
|
||||
<h3 class="product-list__product-wrapper__product__title">Basic System</h3>
|
||||
<p class="product-list__product-wrapper__product__description">Our most affordable press
|
||||
button option. Get access to
|
||||
the help you need 24/7 and uninterrupted support.</p>
|
||||
<a class="button--primary">See Pricing</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-lg-4 product-list__product-wrapper">
|
||||
<div class="product-list__product-wrapper__product">
|
||||
<img class="product-list__product-wrapper__product__image" src="/wp-content/themes/lifeline/assets/media/images/lifeline__products__homesafe-with-autoalert.png" />
|
||||
<h3 class="product-list__product-wrapper__product__title">Basic System</h3>
|
||||
<p class="product-list__product-wrapper__product__description">Proven to detect many types
|
||||
of falls and trigger fewer false
|
||||
alarms.</p>
|
||||
<a class="button--primary">See Pricing</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4 product-list__product-wrapper">
|
||||
<div class="product-list__product-wrapper__product">
|
||||
<img class="product-list__product-wrapper__product__image" src="/wp-content/themes/lifeline/assets/media/images/lifeline__products__on-the-go.png" />
|
||||
<h3 class="product-list__product-wrapper__product__title">Basic System</h3>
|
||||
<p class="product-list__product-wrapper__product__description">Includes 5 locating technologies
|
||||
to quickly pinpoint your location
|
||||
and dispatch help.</p>
|
||||
<a class="button--primary">See Pricing</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<div class="col-12 col-md-7">
|
||||
<h1 class="product-title">{{#productTitleFormatter product.title }}</h1>
|
||||
<p><a href="/resources/reviews/"><img src="/wp-content/uploads/2022/10/reviews_icon.png.webp"> <span style="font-size:16px; font-weight:600;">Read Reviews →</span> </a></p>
|
||||
<p><a href="/resources/reviews/"><img src="/wp-content/themes/medicalalert/assets/media/images/reviews_icon.png"> <span style="font-size:16px; font-weight:600;">Read Reviews →</span> </a></p>
|
||||
<div class="product-description mb-4 mt-3">
|
||||
<p>{{{ product.excerpt }}}</p>
|
||||
</div>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<div class="col-12 col-md-6">
|
||||
<h4>Next Steps:</h4>
|
||||
<ol>
|
||||
<li>Lifeline will send you an email confirming your order. If you do not see it in your inbox, please check your spam/junk folder.</li>
|
||||
<li>Medicalalert will send you an email confirming your order. If you do not see it in your inbox, please check your spam/junk folder.</li>
|
||||
<li>Your order will be processed within 2 days.</li>
|
||||
<li>For self-installation, your sales consultant will provide an expected delivery date. If you requested professional installation you will receive a phone all to confirm that there is an installer available in your area and to schedule the appointment. If you have any questions, please call us at 1-800-380-3111.</li>
|
||||
</ol>
|
||||
|
||||
@@ -240,7 +240,7 @@ const app = Vue.createApp({
|
||||
} else if (type=="discover") {
|
||||
cctype = "Discover";
|
||||
}
|
||||
document.querySelector('.cc_type').innerHTML = '<input type="hidden" name="creditcard_type" id="creditcard_type" value="'+cctype+'"><img aria-hidden="true" src="/wp-content/themes/lifeline/images/' + type +'.png" style="width: 50px;">';
|
||||
document.querySelector('.cc_type').innerHTML = '<input type="hidden" name="creditcard_type" id="creditcard_type" value="'+cctype+'"><img aria-hidden="true" src="/wp-content/themes/medicalalert/images/' + type +'.png" style="width: 50px;">';
|
||||
}
|
||||
},
|
||||
date: {
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
<?php
|
||||
get_header();
|
||||
|
||||
// start main content gathering
|
||||
while (have_posts()) {
|
||||
the_post();
|
||||
|
||||
// get the photo gallery out of output buffering because woo commerce is gross
|
||||
ob_start();
|
||||
do_action('woocommerce_before_single_product_summary');
|
||||
$wooGallery = ob_get_contents();
|
||||
@@ -30,16 +27,12 @@ while (have_posts()) {
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['variation_id'])) {
|
||||
$variation_id = intval($_POST['variation_id']);
|
||||
|
||||
// Check if the variation exists before adding it to the cart
|
||||
$variation = wc_get_product($variation_id);
|
||||
|
||||
if ($variation && $variation->is_type('variation')) {
|
||||
// Add the selected variation to the cart
|
||||
$cart_item_key = WC()->cart->add_to_cart($product->get_id(), 1, $variation_id);
|
||||
|
||||
if ($cart_item_key) {
|
||||
// Redirect to the cart or checkout page
|
||||
echo '<script>window.location.href = "' . wc_get_cart_url() . '";</script>';
|
||||
exit;
|
||||
}
|
||||
@@ -53,16 +46,13 @@ $homeSafeStandardVsAutoAlertProducts = [];
|
||||
|
||||
$currentProductIsHomeSafe = false;
|
||||
$productsWithWearingStyle = [];
|
||||
$productsWithConnectionType = []; // non autoalert
|
||||
$HomeSafeProducts = []; // same as above, but autoalert only
|
||||
$productsWithConnectionType = [];
|
||||
$HomeSafeProducts = [];
|
||||
foreach ($allProducts as $lifelineProduct) {
|
||||
// hydrate all autoAlert products
|
||||
if (strpos($lifelineProduct["title"], "Home") !== false) {
|
||||
// die(var_dump($lifelineProduct));
|
||||
$autoAlertProducts[] = $lifelineProduct;
|
||||
}
|
||||
|
||||
// hydrate all products that have a "style" attribute and match the current product's "connection-type"
|
||||
if (is_array($lifelineProduct["_product_attributes"]) &&
|
||||
array_key_exists("style", $lifelineProduct["_product_attributes"]) &&
|
||||
is_array($currentProduct["_product_attributes"]) &&
|
||||
@@ -72,7 +62,6 @@ foreach ($allProducts as $lifelineProduct) {
|
||||
$productsWithWearingStyle[] = $lifelineProduct;
|
||||
}
|
||||
|
||||
// hydrate all products that have a "connection-type" attribute and match the current product's "style"
|
||||
if (is_array($lifelineProduct["_product_attributes"]) &&
|
||||
array_key_exists("connection-type", $lifelineProduct["_product_attributes"]) &&
|
||||
is_array($currentProduct["_product_attributes"]) &&
|
||||
@@ -82,28 +71,22 @@ foreach ($allProducts as $lifelineProduct) {
|
||||
$productsWithConnectionType[] = $lifelineProduct;
|
||||
}
|
||||
|
||||
// next, determine if the current product is HomeSafe
|
||||
if (strpos($currentProduct["title"], "Home") !== false) {
|
||||
$currentProductIsHomeSafe = true;
|
||||
//var_dump($currentProductIsHomeSafe);
|
||||
}
|
||||
//var_dump($currentProduct["title"]);
|
||||
//var_dump($lifelineProduct);
|
||||
// next, determine which two products we should be switching between with
|
||||
// the radio button like choices shown in the template
|
||||
|
||||
if (is_array($lifelineProduct["_product_attributes"]) &&
|
||||
array_key_exists("connection-type", $lifelineProduct["_product_attributes"]) &&
|
||||
is_array($currentProduct["_product_attributes"]) &&
|
||||
array_key_exists("connection-type", $currentProduct["_product_attributes"]) &&
|
||||
$currentProduct["_product_attributes"]["connection-type"]["value"] == $lifelineProduct["_product_attributes"]["connection-type"]["value"]
|
||||
) {
|
||||
// next, only show standard products that are of style "Wristband"
|
||||
if (is_array($lifelineProduct["_product_attributes"]["style"])) {
|
||||
if ($lifelineProduct["_product_attributes"]["style"]["value"] === "Wristband") {
|
||||
$homeSafeStandardVsAutoAlertProducts[] = $lifelineProduct;
|
||||
}
|
||||
} else {
|
||||
$homeSafeStandardVsAutoAlertProducts[] = $lifelineProduct; // this one should be the current autoalert product
|
||||
$homeSafeStandardVsAutoAlertProducts[] = $lifelineProduct;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -142,18 +125,11 @@ echo site()->render("single_product", [
|
||||
"homeSafeProducts" => array_reverse($homeSafeProducts),
|
||||
"showOTGOptions" => strtolower($currentProduct["title"]) === "mobile system" || strtolower($currentProduct["title"]) === "mini mobile system",
|
||||
"OTGProducts" => array_reverse($ontheGoProducts),
|
||||
|
||||
|
||||
// style link options
|
||||
"hasWearingStyle" => is_array($currentProduct["_product_attributes"]) && array_key_exists("style", $currentProduct["_product_attributes"]),
|
||||
"productsWithWearingStyle" => $productsWithWearingStyle,
|
||||
|
||||
// connection type options
|
||||
//"hasConnectionType" => is_array($currentProduct["_product_attributes"]) && array_key_exists("connection-type", $currentProduct["_product_attributes"]),
|
||||
"productsWithConnectionType" => array_reverse($productsWithConnectionType),
|
||||
"productsWithWearingStyle" => $productsWithWearingStyle,
|
||||
"autoAlertProducts" => array_reverse($autoAlertProducts),
|
||||
|
||||
"currentProductIsHomeSafe" => $currentProductIsHomeSafe,
|
||||
"homeSafeStandardVsAutoAlertProducts" => array_reverse($homeSafeStandardVsAutoAlertProducts),
|
||||
]);
|
||||
|
||||