Owlet Template - For Physicians
by Dovy Paukstys
HTML
<script src="//fonts.googleapis.com/css?family=.|Muli:light,normal,bold|Muli:light,normal,bold"></script>
<link rel="stylesheet" href="//cdn.shopify.com/s/files/1/1004/3036/t/2/assets/styles.scss.css">
<link rel="stylesheet" href="https://cdn.shopify.com/s/files/1/1004/3036/t/2/assets/owletcustom.css">
<link rel="stylesheet" href="https://cdn.shopify.com/s/files/1/1004/3036/t/2/assets/webfont-whitney.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://cdn.shopify.com/s/files/1/1004/3036/t/2/assets/app.js"></script>
<script src="https://cdn.shopify.com/s/assets/themes_support/option_selection-54fd013c3dd1f914fc3ca277900ec7c1.js"></script>
<script src="https://owletcare.myshopify.com/services/javascripts/currencies.js"></script>
<script src="https://cdn.shopify.com/s/files/1/1004/3036/t/2/assets/jquery.currencies.min.js"></script>
<div class="mega-image" id="physicians-header">
<div class="container text-center banner-content">
<h1>For Physicians</h1>
<h2>Owlet has taken pulse oximetry and made it appropriate for the nursery</h2>
</div>
</div>
<div class="mega-image" id="clinical">
<div class="clinical-container banner-content">
<div class="col-lg-12 col-md-12 col-sm-12 text-center" id="clinical-header">
<h1>Clinical</h1>
</div>
<div class="col-lg-12 col-md-12 col-sm-12" id="clinical-logos"><img src="https://cdn.shopify.com/s/files/1/1004/3036/files/seattle.jpg?15854304685359160012" /><img src="https://cdn.shopify.com/s/files/1/1004/3036/files/mayo-clinic.jpg?15854304685359160012" /><img src="https://cdn.shopify.com/s/files/1/1004/3036/files/nih-logo.png?15854304685359160012" /></div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="clinical-faq">
<h3>Clinical Validation</h3>
<p>Owlet is being clinically validated for accuracy and sensitivity to critical events with Seattle Children’s Hospital. Owlet received the Institutional Review Board (IRB) approval. Preliminary accuracy test results show...
JavaScript
//<![CDATA[
var Shopify = Shopify || {};
Shopify.shop = "owletcare.myshopify.com";
Shopify.theme = {"name":"Parallax","id":64978627,"theme_store_id":688,"role":"main"};
//]]>
Currency.format = 'money_with_currency_format';
var shopCurrency = 'USD';
/* Sometimes merchants change their shop currency, let's tell our JavaScript file */
Currency.money_with_currency_format[shopCurrency] = "$ {{amount}} USD";
Currency.money_format[shopCurrency] = "$ {{amount}}";
/* Default currency */
var defaultCurrency = 'USD' || shopCurrency;
/* Cookie currency */
var cookieCurrency = Currency.cookie.read();
/* Fix for customer account pages */
jQuery('span.money span.money').each(function() {
jQuery(this).parents('span.money').removeClass('money');
});
/* Saving the current price */
jQuery('span.money').each(function() {
jQuery(this).attr('data-currency-USD', jQuery(this).html());
});
// If there's no cookie.
if (cookieCurrency == null) {
if (shopCurrency !== defaultCurrency) {
Currency.convertAll(shopCurrency, defaultCurrency);
}
else {
Currency.currentCurrency = defaultCurrency;
}
}
// If the cookie value does not correspond to any value in the currency dropdown.
else if (jQuery('[name=currencies]').size() && jQuery('[name=currencies] option[value=' + cookieCurrency + ']').size() === 0) {
Currency.currentCurrency = shopCurrency;
Currency.cookie.write(shopCurrency);
}
else if (cookieCurrency === shopCurrency) {
Currency.currentCurrency = shopCurrency;
}
else {
Currency.convertAll(shopCurrency, cookieCurrency);
}
jQuery('[name=currencies]').val(Currency.currentCurrency).change(function() {
var newCurrency = jQuery(this).val();
Currency.convertAll(Currency.currentCurrency, newCurrency);
jQuery('.selected-currency').text(Currency.currentCurrency);
});
var original_selectCallback = window.selectCallback;
var selectCallback = function(variant, selector) {
original_selectCallback(variant, selector);
...