JQuery If Test Not Working

This is a follow-on question from https://www.experts-exchange.com/questions/29135199/In-jQuery-How-Do-You-Do-If-Test-On-Cookie.html?headerLink=workspace_answered_questions

I can create the cookie, write the message but now the message won't go away even if I manually delete the cookie, complete the order close the browser or clear the cache.  If I open a new tab and create a new order the message is still there.  The message is still there if I go to a different browser too.

There is no cache software on my test site.


Here is the code

<script>

jQuery('#cook').click(function(e) {
		e.preventDefault();
		document.cookie = "wantmembership=1; path=/";
              jQuery(this).css('background-color','green');
              jQuery(this).text("I Now Have A Membership!");
			});

jQuery(function($) {
  checkCookie();

  function getCookie(cname) 
  {
    var name = cname + "=";
    var ca = document.cookie.split(';');
    for(var i = 0; i < ca.length; i++) {
      var c = ca[i];
      while (c.charAt(0) === ' ') {
        c = c.substring(1);
      }
      if (c.indexOf(name) === 0) {
        return c.substring(name.length, c.length);
      }
    }
    return "";
  }

  function checkCookie() 
  {
    //document.write("Print this in the function");
    var username = getCookie("wantmembership");
    //document.write("Print this after the get");
    if (username= "wantmembership") {
      //document.write("Print this after the if test");
      jQuery('#order_comments').val('I Want Membership');
    } 
  }
});
</script>

Open in new window


How can I stop the message from showing up if there is no cookie and/or if the order is processed.
sharingsunshineAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David S.Consultant & Challenge SubduerCommented:
The problem is your condition. "=" is the assignment operator, not a comparison operator. "==" is a comparison operator and "===" is a comparison operator that also checks that the values have the same type.
Julian HansenCommented:
You have to delete the cookie.

I don't see any code to remove the cookie - you can do it like this

On the server (PHP)
setcookie('wantmembership','', time() - 3600);

Open in new window

In JavaScript
document.cookie = 'wantmembership=;expires=Thu, 01 Jan 1970 00:00:01 GMT;';

Open in new window


Your code will continue to show the message as long as the cookie exists.
sharingsunshineAuthor Commented:
Perhaps it wasn't clear enough in my original question but I did delete the cookie manually.  Here is a screenshot

https://gyazo.com/16708b257f52a4ee848524c265a8df8e

I didn't want to set a duration on the cookie because many customers add to their cart over time.  Instead I hoped that once the order was processed the cookie would be deleted.  Is that not possible?

I changed the operators but saw no difference even after I had emptied the browser cache.

  function checkCookie() 
  {
    //document.write("Print this in the function");
    var username = getCookie("wantmembership");
    //document.write("Print this after the get");
    if (username=== "wantmembership") {
      //document.write("Print this after the if test");
      jQuery('#order_comments').val('I Want Membership');
    } 
  }
});

Open in new window


Did I need to change the operator somewhere else?  If so, please make it clear where all the changes need to be made.  I am new to jQuery so your specific help will be greatly appreciated.
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Julian HansenCommented:
Did you read David's post?

This is wrong
if (username= "wantmembership") {

Open in new window

It should be
if (username == "wantmembership") {

Open in new window

In the first option you are ASSIGNING 'wantmembership' to username
In the second you are testing its value.
sharingsunshineAuthor Commented:
I made that change, cleared the browser cache, cleared all cookies, closed the browser, restarted Xampp and still the message persists. I even went to a new browser and the message still persists.

Here is the source of my page

<!DOCTYPE html>
<!--[if IE 9 ]> <html lang="en-US" prefix="og: http://ogp.me/ns#" class="ie9 loading-site no-js"> <![endif]-->
<!--[if IE 8 ]> <html lang="en-US" prefix="og: http://ogp.me/ns#" class="ie8 loading-site no-js"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en-US" prefix="og: http://ogp.me/ns#" class="loading-site no-js"> <!--<![endif]-->
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

	<link rel="profile" href="http://gmpg.org/xfn/11" />
	<link rel="pingback" href="http://www.test-tfl.com/xmlrpc.php" />

	<script>(function(html){html.className = html.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script>
<title>Checkout - The Herbs Place</title>

<!-- This site is optimized with the Yoast SEO plugin v9.6 - https://yoast.com/wordpress/plugins/seo/ -->
<!-- Admin only notice: this page does not show a meta description because it does not have one, either write it for this page specifically or go into the [SEO - Search Appearance] menu and set up a template. -->
<link rel="canonical" href="http://www.test-tfl.com/checkout/" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Checkout - The Herbs Place" />
<meta property="og:url" content="http://www.test-tfl.com/checkout/" />
<meta property="og:site_name" content="The Herbs Place" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Checkout - The Herbs Place" />
<!-- / Yoast SEO plugin. -->

<link rel='dns-prefetch' href='//s.w.org' />
<link rel="alternate" type="application/rss+xml" title="The Herbs Place &raquo; Feed" href="http://www.test-tfl.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="The Herbs Place &raquo; Comments Feed" href="http://www.test-tfl.com/comments/feed/" />
		<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/www.test-tfl.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.0.3"}};
			!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='stylesheet' id='dashicons-css'  href='http://www.test-tfl.com/wp-includes/css/dashicons.min.css?ver=5.0.3' type='text/css' media='all' />
<link rel='stylesheet' id='admin-bar-css'  href='http://www.test-tfl.com/wp-includes/css/admin-bar.min.css?ver=5.0.3' type='text/css' media='all' />
<link rel='stylesheet' id='wp-block-library-css'  href='http://www.test-tfl.com/wp-includes/css/dist/block-library/style.min.css?ver=5.0.3' type='text/css' media='all' />
<link rel='stylesheet' id='select2-css'  href='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/css/select2.css?ver=3.5.6' type='text/css' media='all' />
<style id='woocommerce-inline-inline-css' type='text/css'>
.woocommerce form .form-row .required { visibility: visible; }
</style>
<link rel='stylesheet' id='flatsome-icons-css'  href='http://www.test-tfl.com/wp-content/themes/flatsome/assets/css/fl-icons.css?ver=3.3' type='text/css' media='all' />
<link rel='stylesheet' id='yoast-seo-adminbar-css'  href='http://www.test-tfl.com/wp-content/plugins/wordpress-seo/css/dist/adminbar-960.min.css?ver=9.6' type='text/css' media='all' />
<link rel='stylesheet' id='stripe_styles-css'  href='http://www.test-tfl.com/wp-content/plugins/woocommerce-gateway-stripe/assets/css/stripe-styles.css?ver=4.1.14' type='text/css' media='all' />
<link rel='stylesheet' id='flatsome-main-css'  href='http://www.test-tfl.com/wp-content/themes/flatsome/assets/css/flatsome.css?ver=3.7.2' type='text/css' media='all' />
<link rel='stylesheet' id='flatsome-shop-css'  href='http://www.test-tfl.com/wp-content/themes/flatsome/assets/css/flatsome-shop.css?ver=3.7.2' type='text/css' media='all' />
<link rel='stylesheet' id='flatsome-style-css'  href='http://www.test-tfl.com/wp-content/themes/flatsome-child/style.css?ver=3.0' type='text/css' media='all' />
<script type='text/javascript' src='http://www.test-tfl.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wc_tokenization_form_params = {"is_registration_required":"","is_logged_in":"1"};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/frontend/tokenization-form.min.js?ver=3.5.6'></script>
<link rel='https://api.w.org/' href='http://www.test-tfl.com/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.test-tfl.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.test-tfl.com/wp-includes/wlwmanifest.xml" /> 
<meta name="generator" content="WordPress 5.0.3" />
<meta name="generator" content="WooCommerce 3.5.6" />
<link rel='shortlink' href='http://www.test-tfl.com/?p=3' />
<link rel="alternate" type="application/json+oembed" href="http://www.test-tfl.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" />
<link rel="alternate" type="text/xml+oembed" href="http://www.test-tfl.com/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F&#038;format=xml" />
<!-- Start Genie WP Favicon -->
<link rel="shortcut icon" href="http://www.test-tfl.com/wp-content/uploads/gwpf_icon/favicon.ico" />
<link rel="apple-touch-icon-precomposed" href="http://www.test-tfl.com/wp-content/uploads/gwpf_icon/favicon-precomposed.ico" />
<!-- End Genie WP Favicon -->
<style>.bg{opacity: 0; transition: opacity 1s; -webkit-transition: opacity 1s;} .bg-loaded{opacity: 1;}</style><!--[if IE]><link rel="stylesheet" type="text/css" href="http://www.test-tfl.com/wp-content/themes/flatsome/assets/css/ie-fallback.css"><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js"></script><script>var head = document.getElementsByTagName('head')[0],style = document.createElement('style');style.type = 'text/css';style.styleSheet.cssText = ':before,:after{content:none !important';head.appendChild(style);setTimeout(function(){head.removeChild(style);}, 0);</script><script src="http://www.test-tfl.com/wp-content/themes/flatsome/assets/libs/ie-flexibility.js"></script><![endif]-->    <script type="text/javascript">
    WebFontConfig = {
      google: { families: [ "Montserrat","Lato","Montserrat:regular,700","Dancing+Script", ] }
    };
    (function() {
      var wf = document.createElement('script');
      wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
      wf.type = 'text/javascript';
      wf.async = 'true';
      var s = document.getElementsByTagName('script')[0];
      s.parentNode.insertBefore(wf, s);
    })(); </script>
  	<noscript><style>.woocommerce-product-gallery{ opacity: 1 !important; }</style></noscript>
	<meta name='robots' content='noindex,follow' />
<style type="text/css" media="print">#wpadminbar { display:none; }</style>
<style type="text/css" media="screen">
	html { margin-top: 32px !important; }
	* html body { margin-top: 32px !important; }
	@media screen and ( max-width: 782px ) {
		html { margin-top: 46px !important; }
		* html body { margin-top: 46px !important; }
	}
</style>
<style id="custom-css" type="text/css">:root {--primary-color: #008cb2;}/* Site Width */.header-main{height: 91px}#logo img{max-height: 91px}#logo{width:166px;}.header-bottom{min-height: 43px}.header-top{min-height: 30px}.transparent .header-main{height: 30px}.transparent #logo img{max-height: 30px}.has-transparent + .page-title:first-of-type,.has-transparent + #main > .page-title,.has-transparent + #main > div > .page-title,.has-transparent + #main .page-header-wrapper:first-of-type .page-title{padding-top: 110px;}.header.show-on-scroll,.stuck .header-main{height:70px!important}.stuck #logo img{max-height: 70px!important}.search-form{ width: 100%;}.header-bg-color, .header-wrapper {background-color: rgba(255,255,255,0.9)}.header-bottom {background-color: #336633}.stuck .header-main .nav > li > a{line-height: 50px }@media (max-width: 549px) {.header-main{height: 70px}#logo img{max-height: 70px}}.header-top{background-color:#336633!important;}/* Color */.accordion-title.active, .has-icon-bg .icon .icon-inner,.logo a, .primary.is-underline, .primary.is-link, .badge-outline .badge-inner, .nav-outline > li.active> a,.nav-outline >li.active > a, .cart-icon strong,[data-color='primary'], .is-outline.primary{color: #008cb2;}/* Color !important */[data-text-color="primary"]{color: #008cb2!important;}/* Background Color */[data-text-bg="primary"]{background-color: #008cb2;}/* Background */.scroll-to-bullets a,.featured-title, .label-new.menu-item > a:after, .nav-pagination > li > .current,.nav-pagination > li > span:hover,.nav-pagination > li > a:hover,.has-hover:hover .badge-outline .badge-inner,button[type="submit"], .button.wc-forward:not(.checkout):not(.checkout-button), .button.submit-button, .button.primary:not(.is-outline),.featured-table .title,.is-outline:hover, .has-icon:hover .icon-label,.nav-dropdown-bold .nav-column li > a:hover, .nav-dropdown.nav-dropdown-bold > li > a:hover, .nav-dropdown-bold.dark .nav-column li > a:hover, .nav-dropdown.nav-dropdown-bold.dark > li > a:hover, .is-outline:hover, .tagcloud a:hover,.grid-tools a, input[type='submit']:not(.is-form), .box-badge:hover .box-text, input.button.alt,.nav-box > li > a:hover,.nav-box > li.active > a,.nav-pills > li.active > a ,.current-dropdown .cart-icon strong, .cart-icon:hover strong, .nav-line-bottom > li > a:before, .nav-line-grow > li > a:before, .nav-line > li > a:before,.banner, .header-top, .slider-nav-circle .flickity-prev-next-button:hover svg, .slider-nav-circle .flickity-prev-next-button:hover .arrow, .primary.is-outline:hover, .button.primary:not(.is-outline), input[type='submit'].primary, input[type='submit'].primary, input[type='reset'].button, input[type='button'].primary, .badge-inner{background-color: #008cb2;}/* Border */.nav-vertical.nav-tabs > li.active > a,.scroll-to-bullets a.active,.nav-pagination > li > .current,.nav-pagination > li > span:hover,.nav-pagination > li > a:hover,.has-hover:hover .badge-outline .badge-inner,.accordion-title.active,.featured-table,.is-outline:hover, .tagcloud a:hover,blockquote, .has-border, .cart-icon strong:after,.cart-icon strong,.blockUI:before, .processing:before,.loading-spin, .slider-nav-circle .flickity-prev-next-button:hover svg, .slider-nav-circle .flickity-prev-next-button:hover .arrow, .primary.is-outline:hover{border-color: #008cb2}.nav-tabs > li.active > a{border-top-color: #008cb2}.widget_shopping_cart_content .blockUI.blockOverlay:before { border-left-color: #008cb2 }.woocommerce-checkout-review-order .blockUI.blockOverlay:before { border-left-color: #008cb2 }/* Fill */.slider .flickity-prev-next-button:hover svg,.slider .flickity-prev-next-button:hover .arrow{fill: #008cb2;}/* Background Color */[data-icon-label]:after, .secondary.is-underline:hover,.secondary.is-outline:hover,.icon-label,.button.secondary:not(.is-outline),.button.alt:not(.is-outline), .badge-inner.on-sale, .button.checkout, .single_add_to_cart_button{ background-color:#4ad8ff; }[data-text-bg="secondary"]{background-color: #4ad8ff;}/* Color */.secondary.is-underline,.secondary.is-link, .secondary.is-outline,.stars a.active, .star-rating:before, .woocommerce-page .star-rating:before,.star-rating span:before, .color-secondary{color: #4ad8ff}/* Color !important */[data-text-color="secondary"]{color: #4ad8ff!important;}/* Border */.secondary.is-outline:hover{border-color:#4ad8ff}body{font-family:"Lato", sans-serif}.nav > li > a {font-family:"Montserrat", sans-serif;}.nav > li > a {font-weight: 700;}h1,h2,h3,h4,h5,h6,.heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a{font-family: "Montserrat", sans-serif;}.alt-font{font-family: "Dancing Script", sans-serif;}a{color: #0837f1;}@media screen and (min-width: 550px){.products .box-vertical .box-image{min-width: 247px!important;width: 247px!important;}}.footer-1{background-color: #222}.footer-2{background-color: #336633}.absolute-footer, html{background-color: #000}/* Custom CSS */#menu-item-132738 {background-color:red;}/* Custom CSS Tablet */@media (max-width: 849px){#menu-item-132738 {background-color:red;}}/* Custom CSS Mobile */@media (max-width: 549px){#menu-item-132738 {background-color:red;}}@media (max-width: 849px){#wpadminbar{display: none!important;}html{margin-top: 0!important}}@media (min-width: 850px){.mfp-content,.stuck,button.mfp-close{top: 32px!important;}.is-full-height{height: calc(100vh - 32px)!important;}}.xdebug-var-dump{z-index: 999999;}.shortcode-error{border: 2px dashed #000;padding: 20px;color:#fff;font-size:16px;background-color: #71cedf;}.custom-product-page .shortcode-error {padding: 15% 10%;text-align: center;}.edit-block-wrapper{position: relative;}.edit-block-button{font-size: 12px!important;background-color: #555!important;margin: 6px 2px 3px 0px!important;border-radius: 4px!important;}.edit-block-button-builder{background-color: #00a0d2!important;}.label-new.menu-item > a:after{content:"New";}.label-hot.menu-item > a:after{content:"Hot";}.label-sale.menu-item > a:after{content:"Sale";}.label-popular.menu-item > a:after{content:"Popular";}</style>		<style type="text/css" id="wp-custom-css">
			#categories_block_left li a { /* colors categories */
  color:#336633;
}
/*#editorial_block_center #editorial_main_image {
  margin:0 auto;
}*/
#index div#center_column  #editorial_main_image img.editorialimg {
  clear:both;
  margin-left:auto;
  margin-right:auto;
}
.rte p{
  font-size:16px;
}
div.rte div.header_text {
  color:#336633;
  font-size:24px;
  margin-bottom:25px;
  margin-top:20px;
  text-align:center;
  margin:0 auto;
}

div.header_text li {
  margin-bottom:10px;
}
div.header_text ul {
  list-style-type:none;
  margin-top:20px;
}
#cart_quantity_down_119_0_0_0 {
  color:blue;
}
.ajax_cart_product_txt_s {
  font-size:12px;
  margin:0;
  padding:0;
}
/*a.button {
  background-color: #ff0000
}*/
div.navbox2col_center_longer {
  color:black;
  font-size:10px;
  background-color:#FFFF99;
  font-weight:normal;
}
div.navbox2col_center_longer p {
  font-size:10px;
}
div.links_navbox_center_longer_top p {
    text-align:center;
  margin:0 auto;
}
div.links_left_navbox_longer, div.links_right_navbox_longer {
   background-color:#FFFF99;
}
div#search_block_top {
  float:right;
  position:relative;
  top:-30px; /*With QV_Contest 135 px and 223 with protein box*/

}
.boldblackcenter {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	margin: 0 auto;
}
div#cart_vouchers_adder {visibility:hidden;}


@media only screen and (max-width: 220px) {

   body, section, p, div { font-size: 2em; }
  #homepageadvertise li img{max-width: 20%; height:auto;}
/*#page {overflow-y:auto}*/
}
#homepageadvertise li img{max-width: 80%; height:auto;}
.pet_success_navigation {
	text-align:center;
	background-color: #99cc99; 
	padding: 10px; 
	padding-right: 40px; 
	padding-left: 40px; 
	font-size: 20px; 
	margin: 0 auto; 
	width: auto;
}
.pet_success_div {
	margin-top: 15px; 
	margin-bottom: 15px;
}
.pet_success_navigation a {
	margin-left:20px;
}


#editorial_main_image {
  padding: 0 10px;
    text-align: center;
  display:block;
  
}



@media screen and (max-width: 1320px) {
	.main_menu_link{
		line-height: 20px;
		text-align:center
	}
}
	
	#header #search_block_top {
		width:190px;
    top: -30px;
			}
	
@media (max-width: 1320px) {
div.featured-products_block_center {
    margin-right:50px;
  width:80%;
}
}
/*@media screen and (max-device-width: 480px) {*/
@media (max-width: 480px) {
div.featured-products_block_center {
    margin-right:350px;
  width:60%;
}
#search_block_top .button_search {
    height:35px;
    width:37px;
}
  #search_block_top #search_query_top {
  height:35px;
    width:190px;
 /* position:relative;
  right:20px;*/
}
}
@media (max-width: 360px) {
div.featured-products_block_center {
    margin-right:450px;
  width:60%;
  }
#search_block_top .button_search {
  height:35px;
    width:37px;
}
#search_block_top #search_query_top {
  height:35px;
    width:190px;
}

}
div.ans {
  text-align:left;
}
h2.ans a {
  margin-top:20px;
}
#main_section div.rte div.ans > p {
   padding-bottom: 10px
} 
.shophead {
        z-index:1;
        text-align:center;
        margin:0 auto;
        margin-bottom:12px;
}
.shophead a:link {
	color:blue;
	font-size:18px;	
}


.boldred {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        color: #FF0000;
        font-weight: bold;
}
.boldred_footer {
        font-family: Arial, Helvetica, sans-serif;
        color: #FF0000;
        font-weight: bold;
}
.boldred_center {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #FF0000;
        font-weight: bold;
        margin:0 auto;
        text-align:center;
}

.boldred_padding {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #FF0000;
        font-weight: bold;
        padding-bottom:6px;
}
        .boldwhite {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #FFFFFF;
        font-weight: bold;
        text-decoration:underline
}

        .boldredheading {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        color: #FF0000;
        font-weight: bold;
}

.boldredheading_center {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #FF0000;
        font-weight: bold;
        margin:0 auto;
        text-align:center;
}
        .boldblack {
        font-family: Arial, Helvetica, sans-serif;
        color: #000000;
        font-size: 16px;
        font-weight: bold;
}
.normal {
        font-family: Arial, Helvetica, sans-serif;
        color: #000000;
        font-size: 12px;
}
.boldblackcenter {
        font-family: Arial, Helvetica, sans-serif;
        color: #000000;
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        margin: 0 auto;
}
.boldblack_small_underline {
        font-family: Arial, Helvetica, sans-serif;
        color: #000000;
        font-size: 10px;
        font-weight: bold;
        text-decoration:underline;
}
.boldbluecenter {
        font-family: Arial, Helvetica, sans-serif;
        color: #0000FF;
        font-size: 12px;
        font-weight: bold;
        text-align: center;
        margin: 0 auto;
}
.heading {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        color: #000000;
}
.heading2 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: bold;
        color: red;
}
b a:link {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: bold;
        color:#0000FF;
}
.boldblack_indent {
        font-family: Arial, Helvetica, sans-serif;
        color: #000000;
        font-size: 12px;
        font-weight: bold;
        text-indent:2cm;
}
.heading {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        color: #000000;
}
.heading2 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: bold;
        color: red;
}
b a:link {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: bold;
        color:#0000FF;
}
.heading_choices {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: bold;
        color: #000000;
        padding-top:16px;
        padding:0;
}
.heading_italics {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: bold;
        color: #000000;
        font-style:italic;
}
.italics {
        font-family: Arial, Helvetica, sans-serif;
        color: #000000;
        font-style:italic;
}
.heading_center {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: bold;
        color: #000000;
}

.image_center {
margin:0 auto;
text-align:center;
margin-bottom:15px;
}
.image_center_pic{
margin-right:auto;
margin-left:auto;
margin-bottom:20px;
}
.heading_free_shipping {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: bold;
        color: #000000;
        margin-top:15px;
}
.temp_body_href {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        color: blue;
        font-weight: bold;
}
.temp_body_bold {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        color: #000000;
        font-weight: bold;
        margin:0;
        padding:0;
        background-color:#FFFF99;
}
.temp_body_bold_menu {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
        color: #000000;
        font-weight: bold;
        text-transform: uppercase;
}
h1 {
	margin:0 auto;
	text-align:center;}		</style>
	</head>

<body class="page-template-default page page-id-3 logged-in admin-bar no-customize-support woocommerce-checkout woocommerce-page woocommerce-no-js lightbox nav-dropdown-has-arrow">


<a class="skip-link screen-reader-text" href="#main">Skip to content</a>

<div id="wrapper">


<header id="header" class="header has-sticky sticky-jump">
   <div class="header-wrapper">
	<div id="top-bar" class="header-top hide-for-sticky nav-dark">
    <div class="flex-row container">
      <div class="flex-col hide-for-medium flex-left">
          <ul class="nav nav-left medium-nav-center nav-small  nav-divided">
                        </ul>
      </div><!-- flex-col left -->

      <div class="flex-col hide-for-medium flex-center">
          <ul class="nav nav-center nav-small  nav-divided">
                        </ul>
      </div><!-- center -->

      <div class="flex-col hide-for-medium flex-right">
         <ul class="nav top-bar-nav nav-right nav-small  nav-divided">
              <li class="header-contact-wrapper">
		<ul id="header-contact" class="nav nav-divided nav-uppercase header-contact">
		
					
						<li class="">
			  <a class="tooltip" title="10:00 - 18:00 ">
			  	   <i class="icon-clock" style="font-size:10px;"></i>			        <span></span>
			  </a>
			 </li>
			
						<li class="">
			  <a href="tel:434-591-1249" class="tooltip" title="434-591-1249">
			     <i class="icon-phone" style="font-size:10px;"></i>			      <span></span>
			  </a>
			</li>
				</ul>
</li><li class="html header-social-icons ml-0">
	<div class="social-icons follow-icons " ><a href="http://facebook.com/theherbsplace" target="_blank" data-label="Facebook"  rel="noopener noreferrer nofollow" class="icon plain facebook tooltip" title="Follow on Facebook"><i class="icon-facebook" ></i></a><a href="http://twitter.com/theherbsplace" target="_blank"  data-label="Twitter"  rel="noopener noreferrer nofollow" class="icon plain  twitter tooltip" title="Follow on Twitter"><i class="icon-twitter" ></i></a><a href="mailto:your@email" data-label="E-mail"  rel="nofollow" class="icon plain  email tooltip" title="Send us an email"><i class="icon-envelop" ></i></a><a href="http://pinterest.com/theherbsplace" target="_blank" rel="noopener noreferrer nofollow"  data-label="Pinterest"  class="icon plain  pinterest tooltip" title="Follow on Pinterest"><i class="icon-pinterest" ></i></a></div></li>          </ul>
      </div><!-- .flex-col right -->

            <div class="flex-col show-for-medium flex-grow">
          <ul class="nav nav-center nav-small mobile-nav  nav-divided">
              <li class="html custom html_topbar_left">[aws_search_form]</li>          </ul>
      </div>
      
    </div><!-- .flex-row -->
</div><!-- #header-top -->
<div id="masthead" class="header-main ">
      <div class="header-inner flex-row container logo-left medium-logo-center" role="navigation">

          <!-- Logo -->
          <div id="logo" class="flex-col logo">
            <!-- Header logo -->
<a href="http://www.test-tfl.com/" title="The Herbs Place" rel="home">
    <img width="166" height="91" src="http://www.test-tfl.com/wp-content/uploads/2018/05/logo.jpg" class="header_logo header-logo" alt="The Herbs Place"/><img  width="166" height="91" src="http://www.test-tfl.com/wp-content/uploads/2018/05/logo.jpg" class="header-logo-dark" alt="The Herbs Place"/></a>
          </div>

          <!-- Mobile Left Elements -->
          <div class="flex-col show-for-medium flex-left">
            <ul class="mobile-nav nav nav-left ">
              <li class="nav-icon has-icon">
  		<a href="#" data-open="#main-menu" data-pos="left" data-bg="main-menu-overlay" data-color="" class="is-small" aria-controls="main-menu" aria-expanded="false">
		
		  <i class="icon-menu" ></i>
		  		</a>
	</li>            </ul>
          </div>

          <!-- Left Elements -->
          <div class="flex-col hide-for-medium flex-left
            flex-grow">
            <ul class="header-nav header-nav-main nav nav-left  nav-uppercase" >
              <li class="header-search-form search-form html relative has-icon">
	<div class="header-search-form-wrapper">
		<div class="searchform-wrapper ux-search-box relative form- is-normal"><form role="search" method="get" class="searchform" action="http://www.test-tfl.com/">
		<div class="flex-row relative">
						<div class="flex-col search-form-categories">
			<select class="search_categories resize-select mb-0" name="product_cat"><option value="" selected='selected'>All</option><option value="uncategorized">Uncategorized</option><option value="natria_body_care_page_1_c_89">Natria Body Care</option><option value="on-sale">On Sale</option><option value="home">Home</option><option value="specials">Specials</option></select>			</div><!-- .flex-col -->
									<div class="flex-col flex-grow">
			  <input type="search" class="search-field mb-0" name="s" value="" placeholder="Search&hellip;" />
		    <input type="hidden" name="post_type" value="product" />
        			</div><!-- .flex-col -->
			<div class="flex-col">
				<button type="submit" class="ux-search-submit submit-button secondary button icon mb-0">
					<i class="icon-search" ></i>				</button>
			</div><!-- .flex-col -->
		</div><!-- .flex-row -->
	 <div class="live-search-results text-left z-top"></div>
</form>
</div>	</div>
</li>            </ul>
          </div>

          <!-- Right Elements -->
          <div class="flex-col hide-for-medium flex-right">
            <ul class="header-nav header-nav-main nav nav-right  nav-uppercase">
              <li class="account-item has-icon
     has-dropdown"
>

<a href="http://www.test-tfl.com/my-account/" class="account-link account-login
  "
  title="My account">

			<span class="header-account-title">
		My account		</span>
	
  
</a><!-- .account-link -->



<ul class="nav-dropdown  nav-dropdown-default">
    
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--dashboard">
          <a href="http://www.test-tfl.com/my-account/">Dashboard</a>
      <!-- empty -->
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--orders">
          <a href="http://www.test-tfl.com/my-account/orders/">Orders</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--downloads">
          <a href="http://www.test-tfl.com/my-account/downloads/">Downloads</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--edit-address">
          <a href="http://www.test-tfl.com/my-account/edit-address/">Addresses</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--payment-methods">
          <a href="http://www.test-tfl.com/my-account/payment-methods/">Payment methods</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--edit-account">
          <a href="http://www.test-tfl.com/my-account/edit-account/">Account details</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--customer-logout">
    <a href="http://www.test-tfl.com/my-account/customer-logout/">Logout</a>
  </li>
</ul>

</li>
<li class="header-divider"></li><li class="cart-item has-icon">

<a href="http://www.test-tfl.com/cart/" title="Cart" class="header-cart-link is-small">


<span class="header-cart-title">
   Cart   /      <span class="cart-price"><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#36;</span>14.95</span></span>
  </span>

    <span class="cart-icon image-icon">
    <strong>1</strong>
  </span>
  </a>


</li>
            </ul>
          </div>

          <!-- Mobile Right Elements -->
          <div class="flex-col show-for-medium flex-right">
            <ul class="mobile-nav nav nav-right ">
              <li class="cart-item has-icon">

      <a href="http://www.test-tfl.com/cart/" title="Cart" class="header-cart-link is-small">
  
    <span class="cart-icon image-icon">
    <strong>1</strong>
  </span> 
  </a>


  <!-- Cart Sidebar Popup -->
  <div id="cart-popup" class="mfp-hide widget_shopping_cart">
  <div class="cart-popup-inner inner-padding">
      <div class="cart-popup-title text-center">
          <h4 class="uppercase">Cart</h4>
          <div class="is-divider"></div>
      </div>
      <div class="widget_shopping_cart_content">
          

	<ul class="woocommerce-mini-cart cart_list product_list_widget ">
							<li class="woocommerce-mini-cart-item mini_cart_item">
						<a href="http://www.test-tfl.com/cart/?remove_item=61375400ef83bab8fa37a8f334f1bb06&#038;_wpnonce=240f606f07" class="remove remove_from_cart_button" aria-label="Remove this item" data-product_id="134123" data-cart_item_key="61375400ef83bab8fa37a8f334f1bb06" data-product_sku="">&times;</a>													<a href="http://www.test-tfl.com/product/nu-skin-hand-lotion/">
								<img src="http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/images/placeholder.png" alt="Placeholder" width="247" class="woocommerce-placeholder wp-post-image" height="296" />Nu Skin Hand Lotion							</a>
																		<span class="quantity">1 &times; <span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#36;</span>14.95</span></span>					</li>
						</ul>

	<p class="woocommerce-mini-cart__total total"><strong>Subtotal:</strong> <span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#36;</span>14.95</span></p>

	
	<p class="woocommerce-mini-cart__buttons buttons"><a href="http://www.test-tfl.com/cart/" class="button wc-forward">View cart</a><a href="http://www.test-tfl.com/checkout/" class="button checkout wc-forward">Checkout</a></p>


      </div>
             <div class="cart-sidebar-content relative"></div>  </div>
  </div>

</li>
            </ul>
          </div>

      </div><!-- .header-inner -->
     
            <!-- Header divider -->
      <div class="container"><div class="top-divider full-width"></div></div>
      </div><!-- .header-main --><div id="wide-nav" class="header-bottom wide-nav nav-dark hide-for-medium">
    <div class="flex-row container">

                        <div class="flex-col hide-for-medium flex-left">
                <ul class="nav header-nav header-bottom-nav nav-left  nav-uppercase">
                    <li id="menu-item-132697" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children  menu-item-132697 has-dropdown"><a href="http://www.test-tfl.com/shop-a-z/" class="nav-top-link">Shop A – Z<i class="icon-angle-down" ></i></a>
<ul class='nav-dropdown nav-dropdown-default'>
	<li id="menu-item-132709" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children  menu-item-132709 nav-dropdown-col"><a href="/product-category/home/shop_a_z_page_1_c_28/">A</a>
	<ul class='nav-column nav-dropdown-default'>
		<li id="menu-item-132699" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132699"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_b_page_1_c_29/">B</a></li>
		<li id="menu-item-132700" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132700"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_c_page_1_c_27/">C</a></li>
		<li id="menu-item-132701" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132701"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_d_page_1_c_30/">D</a></li>
		<li id="menu-item-132702" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132702"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_e_page_1_c_31/">E</a></li>
	</ul>
</li>
	<li id="menu-item-132703" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children  menu-item-132703 nav-dropdown-col"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_f_page_1_c_32/">F</a>
	<ul class='nav-column nav-dropdown-default'>
		<li id="menu-item-132704" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132704"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_g_page_1_c_46/">G</a></li>
		<li id="menu-item-132705" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132705"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_h_page_1_c_47/">H</a></li>
		<li id="menu-item-132706" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132706"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_i_page_1_c_48/">I</a></li>
		<li id="menu-item-132707" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132707"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_j_page_1_c_49/">J</a></li>
	</ul>
</li>
	<li id="menu-item-132708" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children  menu-item-132708 nav-dropdown-col"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_k_page_1_c_50/">K</a>
	<ul class='nav-column nav-dropdown-default'>
		<li id="menu-item-132710" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132710"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_l_page_1_c_51/">L</a></li>
		<li id="menu-item-132711" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132711"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_m_page_1_c_52/">M</a></li>
		<li id="menu-item-132712" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132712"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_n_page_1_c_53/">N</a></li>
		<li id="menu-item-132713" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132713"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_o_page_1_c_54/">O</a></li>
	</ul>
</li>
	<li id="menu-item-132714" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children  menu-item-132714 nav-dropdown-col"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_p_page_1_c_55/">P</a>
	<ul class='nav-column nav-dropdown-default'>
		<li id="menu-item-132715" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132715"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_q_page_1_c_56/">Q</a></li>
		<li id="menu-item-132716" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132716"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_r_page_1_c_57/">R</a></li>
		<li id="menu-item-132717" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132717"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_s_page_1_c_58/">S</a></li>
		<li id="menu-item-132718" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132718"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_t_page_1_c_59/">T</a></li>
	</ul>
</li>
	<li id="menu-item-132719" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children  menu-item-132719 nav-dropdown-col"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_U_page_1_c_60/">U</a>
	<ul class='nav-column nav-dropdown-default'>
		<li id="menu-item-132720" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132720"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_v_page_1_c_61/">V</a></li>
		<li id="menu-item-132721" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132721"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_w_page_1_c_85/">W</a></li>
		<li id="menu-item-132722" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132722"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_x_page_1_c_63/">X</a></li>
		<li id="menu-item-132723" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132723"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_y_page_1_c_64/">Y</a></li>
		<li id="menu-item-132724" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132724"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_z_page_1_c_65/">Z</a></li>
	</ul>
</li>
</ul>
</li>
<li id="menu-item-132665" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132665"><a href="http://www.test-tfl.com/rebate-program/" class="nav-top-link">Membership</a></li>
<li id="menu-item-132778" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children  menu-item-132778 has-dropdown"><a href="/product-category/home/pet_catalog_page_1_c_87/" class="nav-top-link">Herbs For Pets<i class="icon-angle-down" ></i></a>
<ul class='nav-dropdown nav-dropdown-default'>
	<li id="menu-item-132777" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132777"><a href="/welcome_to_the_herbs_place_for_pets_sp_63/">Pets Home</a></li>
	<li id="menu-item-132669" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132669"><a href="http://www.test-tfl.com/pet_catalog_sp_210/">Pet Catalog – The Herbs Place</a></li>
</ul>
</li>
<li id="menu-item-132667" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children  menu-item-132667 has-dropdown"><a href="http://www.test-tfl.com/bandit-s-heartworm-program/" class="nav-top-link">The Heartworm Program<i class="icon-angle-down" ></i></a>
<ul class='nav-dropdown nav-dropdown-default'>
	<li id="menu-item-132776" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132776"><a href="/heartworm-success-stories1/">Heartworm Success Stories</a></li>
	<li id="menu-item-132769" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132769"><a href="http://www.test-tfl.com/bandit-s-heartworm-program/">The Heartworm Program</a></li>
	<li id="menu-item-132770" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132770"><a href="http://www.test-tfl.com/heartworm_prevention_sp_104/">Heartworm Prevention</a></li>
	<li id="menu-item-132771" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132771"><a href="http://www.test-tfl.com/bandit-s-heartworm-programs-faqs/">Heartworm Programs&#8217; FAQs</a></li>
	<li id="menu-item-132774" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132774"><a href="http://www.test-tfl.com/bandit-s-favorite-recipes-2/">Bandit&#8217;s Favorite Recipes</a></li>
	<li id="menu-item-132775" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132775"><a href="/heartworm_success_stories_sp_105/">Buddy&#8217;s Heartworm Story</a></li>
</ul>
</li>
<li id="menu-item-132738" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132738"><a href="/product-category/on-sale/" class="nav-top-link">Sale</a></li>
<li id="menu-item-132781" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children  menu-item-132781 has-dropdown"><a href="#" class="nav-top-link">More<i class="icon-angle-down" ></i></a>
<ul class='nav-dropdown nav-dropdown-default'>
	<li id="menu-item-132782" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132782"><a href="http://www.test-tfl.com/outside_the_usa_sp_84/">Outside the USA – The Herbs Place</a></li>
	<li id="menu-item-132783" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132783"><a href="http://www.test-tfl.com/f_a_q_sp_150/">F A Q – The Herbs Place</a></li>
	<li id="menu-item-132784" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132784"><a href="http://www.test-tfl.com/pdf_downloads_sp_131/">PDF Downloads – The Herbs Place</a></li>
	<li id="menu-item-132785" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132785"><a href="http://www.test-tfl.com/quality_sp_29/">Nature&#8217;s Sunshine Quality &#8211; The Key To Purity And Potency</a></li>
	<li id="menu-item-132786" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132786"><a href="http://www.test-tfl.com/business_opportunity_sp_62/">Nature&#8217;s Sunshine Business Opportunity/Small Investment</a></li>
	<li id="menu-item-132787" class="menu-item menu-item-type-custom menu-item-object-custom  menu-item-132787"><a href="/a_healing_moment_article_list_sp_64">Christian Articles to Encourage and Edify</a></li>
	<li id="menu-item-132788" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132788"><a href="http://www.test-tfl.com/free_online_classes_sp_30/">Free Online Classes – The Herbs Place</a></li>
	<li id="menu-item-132789" class="menu-item menu-item-type-post_type menu-item-object-page  menu-item-132789"><a href="http://www.test-tfl.com/ordering_options_sp_66/">Ordering Options of The Herbs Place.com</a></li>
</ul>
</li>
                </ul>
            </div><!-- flex-col -->
            
            
                        <div class="flex-col hide-for-medium flex-right flex-grow">
              <ul class="nav header-nav header-bottom-nav nav-right  nav-uppercase">
                                 </ul>
            </div><!-- flex-col -->
            
            
    </div><!-- .flex-row -->
</div><!-- .header-bottom -->

<div class="header-bg-container fill"><div class="header-bg-image fill"></div><div class="header-bg-color fill"></div></div><!-- .header-bg-container -->   </div><!-- header-wrapper-->
</header>


<main id="main" class="">


	
<div class="checkout-page-title page-title">
	<div class="page-title-inner flex-row medium-flex-wrap container">
	  <div class="flex-col flex-grow medium-text-center">
  	 	 <nav class="breadcrumbs heading-font checkout-breadcrumbs text-center h2 strong">
    	   <a href="http://www.test-tfl.com/cart/" class="hide-for-small">Shopping Cart</a>
    	   <span class="divider hide-for-small"><i class="icon-angle-right" ></i></span>
    	   <a href="http://www.test-tfl.com/checkout/" class="current">Checkout details</a>
    	   <span class="divider hide-for-small"><i class="icon-angle-right" ></i></span>
    	   <a href="#" class="no-click hide-for-small">Order Complete</a>
		 </nav>
	  </div><!-- .flex-left -->
	</div><!-- flex-row -->
</div><!-- .page-title -->
<div class="cart-container container page-wrapper page-checkout"><div class="woocommerce"><div class="woocommerce-notices-wrapper"></div><div class="woocommerce-notices-wrapper"></div>
<form name="checkout" method="post" class="checkout woocommerce-checkout " action="http://www.test-tfl.com/checkout/" enctype="multipart/form-data">

	<div class="row pt-0 ">
		<div class="large-7 col  ">
			
				
				<div id="customer_details">
					<div class="clear">
						<div class="woocommerce-billing-fields">
	
		<h3>Billing details</h3>

	
	
	<div class="woocommerce-billing-fields__field-wrapper">
		<p class="form-row form-row-first validate-required" id="billing_first_name_field" data-priority="10"><label for="billing_first_name" class="">First name&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_first_name" id="billing_first_name" placeholder=""  value="Randal" autocomplete="given-name" /></span></p><p class="form-row form-row-last validate-required" id="billing_last_name_field" data-priority="20"><label for="billing_last_name" class="">Last name&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_last_name" id="billing_last_name" placeholder=""  value="Watkins" autocomplete="family-name" /></span></p><p class="form-row form-row-wide" id="billing_company_field" data-priority="30"><label for="billing_company" class="">Company name&nbsp;<span class="optional">(optional)</span></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_company" id="billing_company" placeholder=""  value="The Herbs Place" autocomplete="organization" /></span></p><p class="form-row form-row-wide address-field update_totals_on_change validate-required" id="billing_country_field" data-priority="40"><label for="billing_country" class="">Country&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><select name="billing_country" id="billing_country" class="country_to_state country_select " autocomplete="country"><option value="">Select a country&hellip;</option><option value="PR" >Puerto Rico</option><option value="US"  selected='selected'>United States (US)</option><option value="VI" >United States (US) Virgin Islands</option></select><noscript><button type="submit" name="woocommerce_checkout_update_totals" value="Update country">Update country</button></noscript></span></p><p class="form-row address-field form-row-first validate-required" id="billing_address_1_field" data-priority="50"><label for="billing_address_1" class="">Street address&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_address_1" id="billing_address_1" placeholder="House number and street name"  value="2920 SUMMERHURST DR" autocomplete="address-line1" /></span></p><p class="form-row address-field form-row-last" id="billing_address_2_field" data-priority="60"><label for="billing_address_2" class="">Apartment, suite, unit etc. (optional)&nbsp;<span class="optional">(optional)</span></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_address_2" id="billing_address_2" placeholder="Apartment, suite, unit etc. (optional)"  value="" autocomplete="address-line2" /></span></p><p class="form-row form-row-wide address-field validate-required" id="billing_city_field" data-priority="70"><label for="billing_city" class="">Town / City&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_city" id="billing_city" placeholder=""  value="MIDLOTHIAN" autocomplete="address-level2" /></span></p><p class="form-row form-row-wide address-field validate-required validate-state" id="billing_state_field" data-priority="80"><label for="billing_state" class="">State / County&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><select name="billing_state" id="billing_state" class="state_select " autocomplete="address-level1" data-placeholder="">
						<option value="">Select an option&hellip;</option><option value="AL" >Alabama</option><option value="AK" >Alaska</option><option value="AZ" >Arizona</option><option value="AR" >Arkansas</option><option value="CA" >California</option><option value="CO" >Colorado</option><option value="CT" >Connecticut</option><option value="DE" >Delaware</option><option value="DC" >District Of Columbia</option><option value="FL" >Florida</option><option value="GA" >Georgia</option><option value="HI" >Hawaii</option><option value="ID" >Idaho</option><option value="IL" >Illinois</option><option value="IN" >Indiana</option><option value="IA" >Iowa</option><option value="KS" >Kansas</option><option value="KY" >Kentucky</option><option value="LA" >Louisiana</option><option value="ME" >Maine</option><option value="MD" >Maryland</option><option value="MA" >Massachusetts</option><option value="MI" >Michigan</option><option value="MN" >Minnesota</option><option value="MS" >Mississippi</option><option value="MO" >Missouri</option><option value="MT" >Montana</option><option value="NE" >Nebraska</option><option value="NV" >Nevada</option><option value="NH" >New Hampshire</option><option value="NJ" >New Jersey</option><option value="NM" >New Mexico</option><option value="NY" >New York</option><option value="NC" >North Carolina</option><option value="ND" >North Dakota</option><option value="OH" >Ohio</option><option value="OK" >Oklahoma</option><option value="OR" >Oregon</option><option value="PA" >Pennsylvania</option><option value="RI" >Rhode Island</option><option value="SC" >South Carolina</option><option value="SD" >South Dakota</option><option value="TN" >Tennessee</option><option value="TX" >Texas</option><option value="UT" >Utah</option><option value="VT" >Vermont</option><option value="VA"  selected='selected'>Virginia</option><option value="WA" >Washington</option><option value="WV" >West Virginia</option><option value="WI" >Wisconsin</option><option value="WY" >Wyoming</option><option value="AA" >Armed Forces (AA)</option><option value="AE" >Armed Forces (AE)</option><option value="AP" >Armed Forces (AP)</option></select></span></p><p class="form-row form-row-wide address-field validate-required validate-postcode" id="billing_postcode_field" data-priority="90"><label for="billing_postcode" class="">Postcode / ZIP&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_postcode" id="billing_postcode" placeholder=""  value="23113-2173" autocomplete="postal-code" /></span></p><p class="form-row form-row-wide validate-phone" id="billing_phone_field" data-priority="100"><label for="billing_phone" class="">Phone&nbsp;<span class="optional">(optional)</span></label><span class="woocommerce-input-wrapper"><input type="tel" class="input-text " name="billing_phone" id="billing_phone" placeholder=""  value="4349896052" autocomplete="tel" /></span></p><p class="form-row form-row-wide validate-email" id="billing_email_field" data-priority="110"><label for="billing_email" class="">Email address&nbsp;<span class="optional">(optional)</span></label><span class="woocommerce-input-wrapper"><input type="email" class="input-text " name="billing_email" id="billing_email" placeholder=""  value="nsp@theherbsplace.com" autocomplete="email username" /></span></p>	</div>

	<a class="wc_avatax_validate_address button" data-address-type="billing">Validate Address</a></div>

					</div>

					<div class="clear">
						<div class="woocommerce-shipping-fields">
	
		<h3 id="ship-to-different-address">
			<label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">
				<input id="ship-to-different-address-checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox"  type="checkbox" name="ship_to_different_address" value="1" /> <span>Ship to a different address?</span>
			</label>
		</h3>

		<div class="shipping_address">

			
			<div class="woocommerce-shipping-fields__field-wrapper">
				<p class="form-row form-row-first validate-required" id="shipping_first_name_field" data-priority="10"><label for="shipping_first_name" class="">First name&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="shipping_first_name" id="shipping_first_name" placeholder=""  value="Randal" autocomplete="given-name" /></span></p><p class="form-row form-row-last validate-required" id="shipping_last_name_field" data-priority="20"><label for="shipping_last_name" class="">Last name&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="shipping_last_name" id="shipping_last_name" placeholder=""  value="Watkins" autocomplete="family-name" /></span></p><p class="form-row form-row-wide" id="shipping_company_field" data-priority="30"><label for="shipping_company" class="">Company name&nbsp;<span class="optional">(optional)</span></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="shipping_company" id="shipping_company" placeholder=""  value="The Herbs Place" autocomplete="organization" /></span></p><p class="form-row form-row-wide address-field update_totals_on_change validate-required" id="shipping_country_field" data-priority="40"><label for="shipping_country" class="">Country&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><select name="shipping_country" id="shipping_country" class="country_to_state country_select " autocomplete="country"><option value="">Select a country&hellip;</option><option value="PR" >Puerto Rico</option><option value="US"  selected='selected'>United States (US)</option><option value="VI" >United States (US) Virgin Islands</option></select><noscript><button type="submit" name="woocommerce_checkout_update_totals" value="Update country">Update country</button></noscript></span></p><p class="form-row address-field form-row-first validate-required" id="shipping_address_1_field" data-priority="50"><label for="shipping_address_1" class="">Street address&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="shipping_address_1" id="shipping_address_1" placeholder="House number and street name"  value="2920 SUMMERHURST DR" autocomplete="address-line1" /></span></p><p class="form-row address-field form-row-last" id="shipping_address_2_field" data-priority="60"><label for="shipping_address_2" class="">Apartment, suite, unit etc.&nbsp;<span class="optional">(optional)</span></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="shipping_address_2" id="shipping_address_2" placeholder="Apartment, suite, unit etc. (optional)"  value="" autocomplete="address-line2" /></span></p><p class="form-row form-row-wide address-field validate-required" id="shipping_city_field" data-priority="70"><label for="shipping_city" class="">Town / City&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="shipping_city" id="shipping_city" placeholder=""  value="MIDLOTHIAN" autocomplete="address-level2" /></span></p><p class="form-row form-row-wide address-field validate-required validate-state" id="shipping_state_field" data-priority="80"><label for="shipping_state" class="">State / County&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><select name="shipping_state" id="shipping_state" class="state_select " autocomplete="address-level1" data-placeholder="">
						<option value="">Select an option&hellip;</option><option value="AL" >Alabama</option><option value="AK" >Alaska</option><option value="AZ" >Arizona</option><option value="AR" >Arkansas</option><option value="CA" >California</option><option value="CO" >Colorado</option><option value="CT" >Connecticut</option><option value="DE" >Delaware</option><option value="DC" >District Of Columbia</option><option value="FL" >Florida</option><option value="GA" >Georgia</option><option value="HI" >Hawaii</option><option value="ID" >Idaho</option><option value="IL" >Illinois</option><option value="IN" >Indiana</option><option value="IA" >Iowa</option><option value="KS" >Kansas</option><option value="KY" >Kentucky</option><option value="LA" >Louisiana</option><option value="ME" >Maine</option><option value="MD" >Maryland</option><option value="MA" >Massachusetts</option><option value="MI" >Michigan</option><option value="MN" >Minnesota</option><option value="MS" >Mississippi</option><option value="MO" >Missouri</option><option value="MT" >Montana</option><option value="NE" >Nebraska</option><option value="NV" >Nevada</option><option value="NH" >New Hampshire</option><option value="NJ" >New Jersey</option><option value="NM" >New Mexico</option><option value="NY" >New York</option><option value="NC" >North Carolina</option><option value="ND" >North Dakota</option><option value="OH" >Ohio</option><option value="OK" >Oklahoma</option><option value="OR" >Oregon</option><option value="PA" >Pennsylvania</option><option value="RI" >Rhode Island</option><option value="SC" >South Carolina</option><option value="SD" >South Dakota</option><option value="TN" >Tennessee</option><option value="TX" >Texas</option><option value="UT" >Utah</option><option value="VT" >Vermont</option><option value="VA"  selected='selected'>Virginia</option><option value="WA" >Washington</option><option value="WV" >West Virginia</option><option value="WI" >Wisconsin</option><option value="WY" >Wyoming</option><option value="AA" >Armed Forces (AA)</option><option value="AE" >Armed Forces (AE)</option><option value="AP" >Armed Forces (AP)</option></select></span></p><p class="form-row form-row-wide address-field validate-required validate-postcode" id="shipping_postcode_field" data-priority="90"><label for="shipping_postcode" class="">Postcode / ZIP&nbsp;<abbr class="required" title="required">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="shipping_postcode" id="shipping_postcode" placeholder=""  value="23113-2173" autocomplete="postal-code" /></span></p>			</div>

			<a class="wc_avatax_validate_address button" data-address-type="shipping">Validate Address</a>
		</div>

	</div>
<div class="woocommerce-additional-fields">
	
	
		
		<div class="woocommerce-additional-fields__field-wrapper">
							<p class="form-row notes" id="order_comments_field" data-priority="10"><label for="order_comments" class="">Order notes&nbsp;<span class="optional">(optional)</span></label><span class="woocommerce-input-wrapper"><textarea name="order_comments" class="input-text " id="order_comments" placeholder="Notes about your order, e.g. special notes for delivery."  rows="2" cols="5">I Want Membership</textarea></span></p>					</div>

	
	</div>
					</div>
				</div>

				
			
		</div><!-- large-7 -->

		<div class="large-5 col">
			
					<div class="col-inner has-border">
						<div class="checkout-sidebar sm-touch-scroll">
							<h3 id="order_review_heading">Your order</h3>

							
							<div id="order_review" class="woocommerce-checkout-review-order">
								<table class="shop_table woocommerce-checkout-review-order-table">
	<thead>
		<tr>
			<th class="product-name">Product</th>
			<th class="product-total">Total</th>
		</tr>
	</thead>
	<tbody>
							<tr class="cart_item">
						<td class="product-name">
							Nu Skin Hand Lotion&nbsp;							 <strong class="product-quantity">&times; 1</strong>													</td>
						<td class="product-total">
							<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#36;</span>14.95</span>						</td>
					</tr>
					




	</tbody>
	<tfoot>

		<tr class="cart-subtotal">
			<th>Subtotal</th>
			<td><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#36;</span>14.95</span></td>
		</tr>

		
		
			
			
<tr class="woocommerce-shipping-totals shipping
	">
	<td class="shipping__inner" colspan="2">
		<table class="shipping__table ">
			<tbody>
			<tr>
				<th >Shipping</th>
				<td data-title="Shipping">
					There are no shipping methods available. Please ensure that your address has been entered correctly, or contact us if you need any help.
					
									</td>
			</tbody>
			</tr>
		</table>
	</td>
</tr>
			
		
		
									<tr class="tax-total">
					<th>Tax</th>
					<td><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#36;</span>0.00</span></td>
				</tr>
					
		
		<tr class="order-total">
			<th>Total</th>
			<td><strong><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&#36;</span>14.95</span></strong> </td>
		</tr>

		
	</tfoot>
</table>
<div id="payment" class="woocommerce-checkout-payment">
			<ul class="wc_payment_methods payment_methods methods">
			<li class="wc_payment_method payment_method_stripe">
	<input id="payment_method_stripe" type="radio" class="input-radio" name="payment_method" value="stripe"  checked='checked' data-order_button_text="" />

	<label for="payment_method_stripe">
		Credit Card (Stripe) <img src="/wp-content/plugins/woocommerce/assets/images/icons/credit-cards/visa.png" /><img src="/wp-content/plugins/woocommerce/assets/images/icons/credit-cards/amex.png" /><img src="/wp-content/plugins/woocommerce/assets/images/icons/credit-cards/mastercard.png" /><img src="/wp-content/plugins/woocommerce/assets/images/icons/credit-cards/discover.png" />	</label>
			<div class="payment_box payment_method_stripe" >
			<div
			id="stripe-payment-data"
			data-panel-label=""
			data-description=""
			data-email="nsp@theherbsplace.com"
			data-verify-zip="false"
			data-billing-address="false"
			data-shipping-address="false" 
			data-amount="1495"
			data-name="The Herbs Place"
			data-full-name=" "
			data-currency="usd"
			data-image=""
			data-locale="en"
			data-three-d-secure="false"
			data-allow-remember-me="true"><p>Pay with your credit card via Stripe. TEST MODE ENABLED. In test mode, you can use the card number 4242424242424242 with any CVC and a valid expiration date or check the <a href="https://stripe.com/docs/testing" target="_blank">Testing Stripe documentation</a> for more card numbers.</p>
		<fieldset id="wc-stripe-cc-form" class="wc-credit-card-form wc-payment-form" style="background:transparent;">
			
							<div class="form-row form-row-wide">
					<label for="stripe-card-element">Card Number <span class="required">*</span></label>
					<div class="stripe-card-group">
						<div id="stripe-card-element" class="wc-stripe-elements-field">
						<!-- a Stripe Element will be inserted here. -->
						</div>

						<i class="stripe-credit-card-brand stripe-card-brand" alt="Credit Card"></i>
					</div>
				</div>

				<div class="form-row form-row-first">
					<label for="stripe-exp-element">Expiry Date <span class="required">*</span></label>

					<div id="stripe-exp-element" class="wc-stripe-elements-field">
					<!-- a Stripe Element will be inserted here. -->
					</div>
				</div>

				<div class="form-row form-row-last">
					<label for="stripe-cvc-element">Card Code (CVC) <span class="required">*</span></label>
				<div id="stripe-cvc-element" class="wc-stripe-elements-field">
				<!-- a Stripe Element will be inserted here. -->
				</div>
				</div>
				<div class="clear"></div>
			
			<!-- Used to display form errors -->
			<div class="stripe-source-errors" role="alert"></div>
			<br />
						<div class="clear"></div>
		</fieldset>
		</div>		</div>
	</li>
		</ul>
		<div class="form-row place-order">
		<noscript>
			Since your browser does not support JavaScript, or it is disabled, please ensure you click the <em>Update Totals</em> button before placing your order. You may be charged more than the amount stated above if you fail to do so.			<br/><button type="submit" class="button alt" name="woocommerce_checkout_update_totals" value="Update totals">Update totals</button>
		</noscript>

			<div class="woocommerce-terms-and-conditions-wrapper">
		<div class="woocommerce-terms-and-conditions" style="display: none; max-height: 200px; overflow: auto;">
<p align="center" class="heading"><b>Terms         of Use</b></p>
<p>Access to and use of this site (&#8220;The Herbs Place.com&#8221;)           is provided by Sunshine Life Center, Inc. subject to the following     terms: </p>
<p> By using The Herbs Place.com you agree to be legally bound by these terms,           which shall take effect immediately on your first use of The Herbs     Place.com.</p>
<p> The Herbs Place.com may change these terms at any time by posting changes           online. Please review these terms regularly to ensure you are aware     of any changes made. Your continued use of The Herbs Place.com after changes           are posted means you agree to be legally bound by these terms as updated           and/or amended.</p>
<p>          <b>Disclaimers and Limitation of Liability</b> </p>
<p> The Herbs Place.com content, including the information       and images, are provided &#8220;AS IS&#8221; and on an &#8220;IS AVAILABLE&#8221; basis       without any representations or any kind of warranty made (whether express       or           implied by law), including the implied warranties of satisfactory quality,           fitness           for a particular purpose, non-infringement, compatibility, security       and accuracy.</p>
<p> The stories and information on this site are not meant to diagnose or prescribe           for you. If you have a medical problem, you should consult your medical           doctor. </p>
<p> The ideas and information on this site have not been endorsed     or approved by the FDA. The information and products on this     site are not intended to             diagnose, prevent, treat, or cure any disease. This           information is            for educational use only and is not to be relied upon           for medical            conditions. Those with health concerns should always           consult a health            practitioner. The Herbs Place staff does not include           medical            personnel that are qualified to give medical advice.</p>
<p> In no event shall TheHerbsPlace.com be liable for any damages whatsoever           resulting from any action arising in connection with the use of this     information or its publication, including any action for infringement of     copyright           or defamation. </p>
<p> The decision to use, or not to use, any information is the sole responsibility           of the reader. Opinions expressed here are those of individual contributors.           This web site does not verify or endorse the claims of contributing     writers. </p>
<p> If any of these terms are determined to be illegal, invalid or otherwise           unenforceable by reason of the laws of any state or country in which     these terms are intended to be effective, then to the extent and within the     jurisdiction           in which that term is illegal, invalid or unenforceable, it shall be     severed and deleted from these terms and the remaining terms shall survive,     remain           in full force and effect and continue to be binding and enforceable.</p>
</div>
					<p class="form-row validate-required">
				<label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">
				<input type="checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" name="terms"  id="terms" />
					<span class="woocommerce-terms-and-conditions-checkbox-text">I have read and agree to the website <a href="http://www.test-tfl.com/terms_of_use_sp_87/" class="woocommerce-terms-and-conditions-link" target="_blank">terms and conditions</a></span>&nbsp;<span class="required">*</span>
				</label>
				<input type="hidden" name="terms-field" value="1" />
			</p>
			</div>
	
		
		<button type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="Place order" data-value="Place order">Place order</button>
		
		<input type="hidden" id="woocommerce-process-checkout-nonce" name="woocommerce-process-checkout-nonce" value="9dd6182317" /><input type="hidden" name="_wp_http_referer" value="/checkout/" />	</div>
</div>
							</div>

							<div class="woocommerce-privacy-policy-text"><p>Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our <a href="http://www.test-tfl.com/privacy_policy_sp_88/" class="woocommerce-privacy-policy-link" target="_blank">privacy policy</a>.</p>
</div>						</div>
					</div>

							</div><!-- large-5 -->

	</div><!-- row -->
</form>

</div>
</div>


</main><!-- #main -->

<footer id="footer" class="footer-wrapper">

	
<!-- FOOTER 1 -->


<!-- FOOTER 2 -->
<div class="footer-widgets footer footer-2 dark">
		<div class="row dark large-columns-2 mb-0">
	   		<div id="custom_html-3" class="widget_text col pb-0 widget widget_custom_html"><div class="textwidget custom-html-widget"><a href="/contact7">Contact Us</a></div></div><div id="text-3" class="col pb-0 widget widget_text"><span class="widget-title">Find Us</span><div class="is-divider small"></div>			<div class="textwidget"><p><strong>Address</strong></p>
<p>The Herbs Place<br />
2920 Summerhurst Drive (Not Retail)<br />
Midlothian, VA 23113<br />
866-580-3226 or 434-591-1249</p>
<p><strong>Hours</strong><br />
Monday—Friday: 10:00AM–6:00PM</p>
</div>
		</div>        
		</div><!-- end row -->
</div><!-- end footer 2 -->



<div class="absolute-footer dark medium-text-center text-center">
  <div class="container clearfix">

    
    <div class="footer-primary pull-left">
              <div class="menu-footer-container"><ul id="menu-footer" class="links footer-nav uppercase"><li id="menu-item-132809" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132809"><a href="http://www.test-tfl.com/contact7/">Contact Us</a></li>
</ul></div>            <div class="copyright-footer">
        Copyright 2019 © <strong>The Herbs Place</strong>      </div>
          </div><!-- .left -->
  </div><!-- .container -->
</div><!-- .absolute-footer -->

<a href="#top" class="back-to-top button icon invert plain fixed bottom z-1 is-outline hide-for-medium circle" id="top-link"><i class="icon-angle-up" ></i></a>

</footer><!-- .footer-wrapper -->

</div><!-- #wrapper -->

<!-- Mobile Sidebar -->
<div id="main-menu" class="mobile-sidebar no-scrollbar mfp-hide">
    <div class="sidebar-menu no-scrollbar ">
        <ul class="nav nav-sidebar  nav-vertical nav-uppercase">
              <li class="header-search-form search-form html relative has-icon">
	<div class="header-search-form-wrapper">
		<div class="searchform-wrapper ux-search-box relative form- is-normal"><form role="search" method="get" class="searchform" action="http://www.test-tfl.com/">
		<div class="flex-row relative">
						<div class="flex-col search-form-categories">
			<select class="search_categories resize-select mb-0" name="product_cat"><option value="" selected='selected'>All</option><option value="uncategorized">Uncategorized</option><option value="natria_body_care_page_1_c_89">Natria Body Care</option><option value="on-sale">On Sale</option><option value="home">Home</option><option value="specials">Specials</option></select>			</div><!-- .flex-col -->
									<div class="flex-col flex-grow">
			  <input type="search" class="search-field mb-0" name="s" value="" placeholder="Search&hellip;" />
		    <input type="hidden" name="post_type" value="product" />
        			</div><!-- .flex-col -->
			<div class="flex-col">
				<button type="submit" class="ux-search-submit submit-button secondary button icon mb-0">
					<i class="icon-search" ></i>				</button>
			</div><!-- .flex-col -->
		</div><!-- .flex-row -->
	 <div class="live-search-results text-left z-top"></div>
</form>
</div>	</div>
</li><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-132697"><a href="http://www.test-tfl.com/shop-a-z/" class="nav-top-link">Shop A – Z</a>
<ul class=children>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-132709"><a href="/product-category/home/shop_a_z_page_1_c_28/">A</a>
	<ul class=nav-sidebar-ul>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132699"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_b_page_1_c_29/">B</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132700"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_c_page_1_c_27/">C</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132701"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_d_page_1_c_30/">D</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132702"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_e_page_1_c_31/">E</a></li>
	</ul>
</li>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-132703"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_f_page_1_c_32/">F</a>
	<ul class=nav-sidebar-ul>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132704"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_g_page_1_c_46/">G</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132705"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_h_page_1_c_47/">H</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132706"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_i_page_1_c_48/">I</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132707"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_j_page_1_c_49/">J</a></li>
	</ul>
</li>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-132708"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_k_page_1_c_50/">K</a>
	<ul class=nav-sidebar-ul>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132710"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_l_page_1_c_51/">L</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132711"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_m_page_1_c_52/">M</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132712"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_n_page_1_c_53/">N</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132713"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_o_page_1_c_54/">O</a></li>
	</ul>
</li>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-132714"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_p_page_1_c_55/">P</a>
	<ul class=nav-sidebar-ul>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132715"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_q_page_1_c_56/">Q</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132716"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_r_page_1_c_57/">R</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132717"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_s_page_1_c_58/">S</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132718"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_t_page_1_c_59/">T</a></li>
	</ul>
</li>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-132719"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_U_page_1_c_60/">U</a>
	<ul class=nav-sidebar-ul>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132720"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_v_page_1_c_61/">V</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132721"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_w_page_1_c_85/">W</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132722"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_x_page_1_c_63/">X</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132723"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_y_page_1_c_64/">Y</a></li>
		<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132724"><a href="/product-category/home/shop_a_z_page_1_c_28/shop_z_page_1_c_65/">Z</a></li>
	</ul>
</li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132665"><a href="http://www.test-tfl.com/rebate-program/" class="nav-top-link">Membership</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-132778"><a href="/product-category/home/pet_catalog_page_1_c_87/" class="nav-top-link">Herbs For Pets</a>
<ul class=children>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132777"><a href="/welcome_to_the_herbs_place_for_pets_sp_63/">Pets Home</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132669"><a href="http://www.test-tfl.com/pet_catalog_sp_210/">Pet Catalog – The Herbs Place</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-132667"><a href="http://www.test-tfl.com/bandit-s-heartworm-program/" class="nav-top-link">The Heartworm Program</a>
<ul class=children>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132776"><a href="/heartworm-success-stories1/">Heartworm Success Stories</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132769"><a href="http://www.test-tfl.com/bandit-s-heartworm-program/">The Heartworm Program</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132770"><a href="http://www.test-tfl.com/heartworm_prevention_sp_104/">Heartworm Prevention</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132771"><a href="http://www.test-tfl.com/bandit-s-heartworm-programs-faqs/">Heartworm Programs&#8217; FAQs</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132774"><a href="http://www.test-tfl.com/bandit-s-favorite-recipes-2/">Bandit&#8217;s Favorite Recipes</a></li>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132775"><a href="/heartworm_success_stories_sp_105/">Buddy&#8217;s Heartworm Story</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132738"><a href="/product-category/on-sale/" class="nav-top-link">Sale</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-132781"><a href="#" class="nav-top-link">More</a>
<ul class=children>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132782"><a href="http://www.test-tfl.com/outside_the_usa_sp_84/">Outside the USA – The Herbs Place</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132783"><a href="http://www.test-tfl.com/f_a_q_sp_150/">F A Q – The Herbs Place</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132784"><a href="http://www.test-tfl.com/pdf_downloads_sp_131/">PDF Downloads – The Herbs Place</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132785"><a href="http://www.test-tfl.com/quality_sp_29/">Nature&#8217;s Sunshine Quality &#8211; The Key To Purity And Potency</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132786"><a href="http://www.test-tfl.com/business_opportunity_sp_62/">Nature&#8217;s Sunshine Business Opportunity/Small Investment</a></li>
	<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-132787"><a href="/a_healing_moment_article_list_sp_64">Christian Articles to Encourage and Edify</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132788"><a href="http://www.test-tfl.com/free_online_classes_sp_30/">Free Online Classes – The Herbs Place</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132789"><a href="http://www.test-tfl.com/ordering_options_sp_66/">Ordering Options of The Herbs Place.com</a></li>
</ul>
</li>
<li class="account-item has-icon menu-item">

<a href="http://www.test-tfl.com/my-account/" class="account-link account-login" title="My account">
    <span class="header-account-title">
    My account  </span>
</a>


<ul class="children">
    
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--dashboard">
          <a href="http://www.test-tfl.com/my-account/">Dashboard</a>
      <!-- empty -->
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--orders">
          <a href="http://www.test-tfl.com/my-account/orders/">Orders</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--downloads">
          <a href="http://www.test-tfl.com/my-account/downloads/">Downloads</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--edit-address">
          <a href="http://www.test-tfl.com/my-account/edit-address/">Addresses</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--payment-methods">
          <a href="http://www.test-tfl.com/my-account/payment-methods/">Payment methods</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--edit-account">
          <a href="http://www.test-tfl.com/my-account/edit-account/">Account details</a>
        </li>
      <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--customer-logout">
    <a href="http://www.test-tfl.com/my-account/customer-logout/">Logout</a>
  </li>
</ul>
</li>
        </ul>
    </div><!-- inner -->
</div><!-- #mobile-menu -->
	<script type="text/javascript">
		var c = document.body.className;
		c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
		document.body.className = c;
	</script>
	<script type='text/javascript' src='http://www.test-tfl.com/wp-includes/js/admin-bar.min.js?ver=5.0.3'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/select2/select2.full.min.js?ver=4.0.3'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woo-checkout-field-editor-pro/assets/js/thwcfd-checkout-field-editor-frontend.js?ver=1.3.1'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js?ver=2.70'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wc_add_to_cart_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"http:\/\/www.test-tfl.com\/cart\/","is_cart":"","cart_redirect_after_add":"no"};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js?ver=3.5.6'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/selectWoo/selectWoo.full.min.js?ver=1.0.4'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js?ver=2.1.4'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var woocommerce_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%"};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js?ver=3.5.6'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wc_country_select_params = {"countries":"{\"US\":{\"AL\":\"Alabama\",\"AK\":\"Alaska\",\"AZ\":\"Arizona\",\"AR\":\"Arkansas\",\"CA\":\"California\",\"CO\":\"Colorado\",\"CT\":\"Connecticut\",\"DE\":\"Delaware\",\"DC\":\"District Of Columbia\",\"FL\":\"Florida\",\"GA\":\"Georgia\",\"HI\":\"Hawaii\",\"ID\":\"Idaho\",\"IL\":\"Illinois\",\"IN\":\"Indiana\",\"IA\":\"Iowa\",\"KS\":\"Kansas\",\"KY\":\"Kentucky\",\"LA\":\"Louisiana\",\"ME\":\"Maine\",\"MD\":\"Maryland\",\"MA\":\"Massachusetts\",\"MI\":\"Michigan\",\"MN\":\"Minnesota\",\"MS\":\"Mississippi\",\"MO\":\"Missouri\",\"MT\":\"Montana\",\"NE\":\"Nebraska\",\"NV\":\"Nevada\",\"NH\":\"New Hampshire\",\"NJ\":\"New Jersey\",\"NM\":\"New Mexico\",\"NY\":\"New York\",\"NC\":\"North Carolina\",\"ND\":\"North Dakota\",\"OH\":\"Ohio\",\"OK\":\"Oklahoma\",\"OR\":\"Oregon\",\"PA\":\"Pennsylvania\",\"RI\":\"Rhode Island\",\"SC\":\"South Carolina\",\"SD\":\"South Dakota\",\"TN\":\"Tennessee\",\"TX\":\"Texas\",\"UT\":\"Utah\",\"VT\":\"Vermont\",\"VA\":\"Virginia\",\"WA\":\"Washington\",\"WV\":\"West Virginia\",\"WI\":\"Wisconsin\",\"WY\":\"Wyoming\",\"AA\":\"Armed Forces (AA)\",\"AE\":\"Armed Forces (AE)\",\"AP\":\"Armed Forces (AP)\"}}","i18n_select_state_text":"Select an option\u2026","i18n_no_matches":"No matches found","i18n_ajax_error":"Loading failed","i18n_input_too_short_1":"Please enter 1 or more characters","i18n_input_too_short_n":"Please enter %qty% or more characters","i18n_input_too_long_1":"Please delete 1 character","i18n_input_too_long_n":"Please delete %qty% characters","i18n_selection_too_long_1":"You can only select 1 item","i18n_selection_too_long_n":"You can only select %qty% items","i18n_load_more":"Loading more results\u2026","i18n_searching":"Searching\u2026"};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/frontend/country-select.min.js?ver=3.5.6'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wc_address_i18n_params = {"locale":"{\"US\":{\"postcode\":[],\"state\":[]},\"default\":{\"first_name\":{\"required\":true,\"class\":[\"form-row-first\"],\"autocomplete\":\"given-name\"},\"last_name\":{\"required\":true,\"class\":[\"form-row-last\"],\"autocomplete\":\"family-name\"},\"company\":{\"class\":[\"form-row-wide\"],\"autocomplete\":\"organization\",\"required\":false},\"country\":{\"type\":\"country\",\"required\":true,\"class\":[\"form-row-wide\",\"address-field\",\"update_totals_on_change\"],\"autocomplete\":\"country\"},\"address_1\":{\"required\":true,\"class\":{\"1\":\"address-field\",\"2\":\"form-row-first\"},\"autocomplete\":\"address-line1\"},\"address_2\":{\"label_class\":[],\"class\":{\"1\":\"address-field\",\"2\":\"form-row-last\"},\"autocomplete\":\"address-line2\",\"required\":false},\"city\":{\"required\":true,\"class\":[\"form-row-wide\",\"address-field\"],\"autocomplete\":\"address-level2\"},\"state\":{\"type\":\"state\",\"required\":true,\"class\":[\"form-row-wide\",\"address-field\"],\"validate\":[\"state\"],\"autocomplete\":\"address-level1\"},\"postcode\":{\"required\":true,\"class\":[\"form-row-wide\",\"address-field\"],\"validate\":[\"postcode\"],\"autocomplete\":\"postal-code\"}}}","locale_fields":"{\"address_1\":\"#billing_address_1_field, #shipping_address_1_field\",\"address_2\":\"#billing_address_2_field, #shipping_address_2_field\",\"state\":\"#billing_state_field, #shipping_state_field, #calc_shipping_state_field\",\"postcode\":\"#billing_postcode_field, #shipping_postcode_field, #calc_shipping_postcode_field\",\"city\":\"#billing_city_field, #shipping_city_field, #calc_shipping_city_field\"}","i18n_required_text":"required","i18n_optional_text":"optional"};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/frontend/address-i18n.min.js?ver=3.5.6'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wc_checkout_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","update_order_review_nonce":"3cf27cb957","apply_coupon_nonce":"5b681a53b5","remove_coupon_nonce":"272ec58413","option_guest_checkout":"yes","checkout_url":"\/?wc-ajax=checkout","is_checkout":"1","debug_mode":"","i18n_checkout_error":"Error processing checkout. Please try again."};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js?ver=3.5.6'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wc_cart_fragments_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","cart_hash_key":"wc_cart_hash_876a468afd1d8820c41f1ca5a715d731","fragment_name":"wc_fragments_876a468afd1d8820c41f1ca5a715d731"};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js?ver=3.5.6'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wc_avatax_frontend = {"address_validation_nonce":"ceb1188ef4","address_validation_countries":["US"],"i18n":{"address_validated":"Address validated."},"ajax_url":"http:\/\/www.test-tfl.com\/wp-admin\/admin-ajax.php"};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce-avatax/assets/js/frontend/wc-avatax-frontend.min.js?ver=1.6.4'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/themes/flatsome/inc/extensions/flatsome-live-search/flatsome-live-search.js?ver=3.7.2'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce/assets/js/jquery-payment/jquery.payment.min.js?ver=3.0.0'></script>
<script type='text/javascript' src='https://js.stripe.com/v3/?ver=3.0'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var wc_stripe_params = {"key":"pk_test_mglFpt1kCXqGxXMHzkVdEH3g","i18n_terms":"Please accept the terms and conditions first","i18n_required_fields":"Please fill in required checkout fields first","no_prepaid_card_msg":"Sorry, we're not accepting prepaid cards at this time. Your credit card has not been charged. Please try with alternative payment method.","no_sepa_owner_msg":"Please enter your IBAN account name.","no_sepa_iban_msg":"Please enter your IBAN account number.","sepa_mandate_notification":"email","allow_prepaid_card":"yes","inline_cc_form":"no","stripe_checkout_require_billing_address":"no","is_checkout":"yes","return_url":"http:\/\/www.test-tfl.com\/checkout\/order-received\/?utm_nooverride=1","ajaxurl":"\/?wc-ajax=%%endpoint%%","stripe_nonce":"5170e2fe77","statement_descriptor":"The Herbs Place","elements_options":[],"sepa_elements_options":{"supportedCountries":["SEPA"],"placeholderCountry":"US","style":{"base":{"fontSize":"15px"}}},"invalid_owner_name":"Billing First Name and Last Name are required.","is_stripe_checkout":"no","is_change_payment_page":"no","is_add_payment_page":"no","is_pay_for_order_page":"no","elements_styling":"","elements_classes":"","invalid_number":"The card number is not a valid credit card number.","invalid_expiry_month":"The card's expiration month is invalid.","invalid_expiry_year":"The card's expiration year is invalid.","invalid_cvc":"The card's security code is invalid.","incorrect_number":"The card number is incorrect.","incomplete_number":"The card number is incomplete.","incomplete_cvc":"The card's security code is incomplete.","incomplete_expiry":"The card's expiration date is incomplete.","expired_card":"The card has expired.","incorrect_cvc":"The card's security code is incorrect.","incorrect_zip":"The card's zip code failed validation.","invalid_expiry_year_past":"The card's expiration year is in the past","card_declined":"The card was declined.","missing":"There is no card on a customer that is being charged.","processing_error":"An error occurred while processing the card.","invalid_request_error":"Unable to process this payment, please try again or use alternative method.","invalid_sofort_country":"The billing country is not accepted by SOFORT. Please try another country."};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woocommerce-gateway-stripe/assets/js/stripe.min.js?ver=4.1.14'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-includes/js/hoverIntent.min.js?ver=1.8.1'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var flatsomeVars = {"ajaxurl":"http:\/\/www.test-tfl.com\/wp-admin\/admin-ajax.php","rtl":"","sticky_height":"100","user":{"can_edit_pages":true}};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/themes/flatsome/assets/js/flatsome.js?ver=3.7.2'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/themes/flatsome/assets/js/woocommerce.js?ver=3.7.2'></script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-includes/js/wp-embed.min.js?ver=5.0.3'></script>
<script type='text/javascript'>
/* <![CDATA[ */
var ajaxLink = {"ajaxurl":"http:\/\/www.test-tfl.com\/wp-admin\/admin-ajax.php"};
/* ]]> */
</script>
<script type='text/javascript' src='http://www.test-tfl.com/wp-content/plugins/woo-save-abandoned-carts/public/js/woocommerce-live-checkout-field-capture-public.js?ver=2.1'></script>
	<!--[if lte IE 8]>
		<script type="text/javascript">
			document.body.className = document.body.className.replace( /(^|\s)(no-)?customize-support(?=\s|$)/, '' ) + ' no-customize-support';
		</script>
	<![endif]-->
	<!--[if gte IE 9]><!-->
		<script type="text/javascript">
			(function() {
				var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');

						request = true;
		
				b[c] = b[c].replace( rcs, ' ' );
				// The customizer requires postMessage and CORS (if the site is cross domain)
				b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
			}());
		</script>
	<!--<![endif]-->
			<div id="wpadminbar" class="nojq nojs">
							<a class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1">Skip to toolbar</a>
						<div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="Toolbar" tabindex="0">
				<ul id="wp-admin-bar-root-default" class="ab-top-menu">
		<li id="wp-admin-bar-wp-logo" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/about.php"><span class="ab-icon"></span><span class="screen-reader-text">About WordPress</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wp-logo-default" class="ab-submenu">
		<li id="wp-admin-bar-about"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/about.php">About WordPress</a>		</li></ul><ul id="wp-admin-bar-wp-logo-external" class="ab-sub-secondary ab-submenu">
		<li id="wp-admin-bar-wporg"><a class="ab-item" href="https://wordpress.org/">WordPress.org</a>		</li>
		<li id="wp-admin-bar-documentation"><a class="ab-item" href="https://codex.wordpress.org/">Documentation</a>		</li>
		<li id="wp-admin-bar-support-forums"><a class="ab-item" href="https://wordpress.org/support/">Support Forums</a>		</li>
		<li id="wp-admin-bar-feedback"><a class="ab-item" href="https://wordpress.org/support/forum/requests-and-feedback">Feedback</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-site-name" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/">The Herbs Place</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-site-name-default" class="ab-submenu">
		<li id="wp-admin-bar-dashboard"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/">Dashboard</a>		</li></ul><ul id="wp-admin-bar-appearance" class="ab-submenu">
		<li id="wp-admin-bar-themes"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/themes.php">Themes</a>		</li>
		<li id="wp-admin-bar-widgets"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/widgets.php">Widgets</a>		</li>
		<li id="wp-admin-bar-menus"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/nav-menus.php">Menus</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-flatsome_panel" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/admin.php?page=flatsome-panel"><svg style="width:20px; margin-top:-4px; height:20px;vertical-align:middle;" width="184px" height="186px" viewBox="0 0 184 186" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- Generator: Sketch 3.8.1 (29687) - http://www.bohemiancoding.com/sketch --> <title>Logo-white</title> <desc>Created with Sketch.</desc> <defs></defs> <g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Logo-white" fill="#FFFFFF"> <g id="Group"> <path d="M92.6963305,153.35517 L69.6726254,130.331465 L92.6963305,107.30776 L92.6963305,66.7055226 L49.3715069,110.030346 L32.472925,93.1317642 L92.6963305,32.9083587 L92.6963305,0.803652143 L0.106126393,93.3938562 L92.6963305,185.98406 L92.6963305,153.35517 Z" id="Combined-Shape"></path> </g> <g id="Group" opacity="0.502623601" transform="translate(136.800003, 93.000000) scale(-1, 1) translate(-136.800003, -93.000000) translate(90.300003, 0.000000)"> <path d="M92.6963305,153.35517 L69.6726254,130.331465 L92.6963305,107.30776 L92.6963305,66.7055226 L49.3715069,110.030346 L32.472925,93.1317642 L92.6963305,32.9083587 L92.6963305,0.803652143 L0.106126393,93.3938562 L92.6963305,185.98406 L92.6963305,153.35517 Z" id="Combined-Shape" opacity="0.387068563"></path> </g> </g> </g> </svg> Flatsome</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-flatsome_panel-default" class="ab-submenu">
		<li id="wp-admin-bar-theme_options" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bpanel%5D="><span class="dashicons dashicons-admin-generic" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Theme Options</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-theme_options-default" class="ab-submenu">
		<li id="wp-admin-bar-options_header" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bpanel%5D=header"><span class="dashicons dashicons-arrow-up-alt dashicons-header" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Header</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-options_header-default" class="ab-submenu">
		<li id="wp-admin-bar-options_header_presets"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=header-presets">Presets</a>		</li>
		<li id="wp-admin-bar-options_header_logo"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=title_tagline">Logo & Site Identity</a>		</li>
		<li id="wp-admin-bar-options_header_top"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=top_bar">Top Bar</a>		</li>
		<li id="wp-admin-bar-options_header_main"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=main_bar">Header Main</a>		</li>
		<li id="wp-admin-bar-options_header_bottom"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=bottom_bar"> Header Bottom</a>		</li>
		<li id="wp-admin-bar-options_header_mobile"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=header_mobile"> Header Mobile</a>		</li>
		<li id="wp-admin-bar-options_header_sticky"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=header_sticky"> Sticky Header</a>		</li>
		<li id="wp-admin-bar-options_header_dropdown"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=header_dropdown">Dropdown Style</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-options_layout"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=layout"><span class="dashicons dashicons-editor-table" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Layout</a>		</li>
		<li id="wp-admin-bar-options_static_front_page"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=static_front_page"><span class="dashicons dashicons-admin-home" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Homepage</a>		</li>
		<li id="wp-admin-bar-options_style" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bpanel%5D=style"><span class="dashicons dashicons-admin-appearance" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Style</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-options_style-default" class="ab-submenu">
		<li id="wp-admin-bar-options_style_colors"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=colors">Colors</a>		</li>
		<li id="wp-admin-bar-options_style_global"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=global-styles">Global Styles</a>		</li>
		<li id="wp-admin-bar-options_style_type"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=type">Typography</a>		</li>
		<li id="wp-admin-bar-options_style_css"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=custom-css">Custom CSS</a>		</li>
		<li id="wp-admin-bar-options_style_lightbox"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=lightbox">Image Lightbox</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-options_shop" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bpanel%5D=woocommerce"><span class="dashicons dashicons-cart" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Shop (WooCommerce)</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-options_shop-default" class="ab-submenu">
		<li id="wp-admin-bar-options_shop_store_notice"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=woocommerce_store_notice">Store Notice</a>		</li>
		<li id="wp-admin-bar-options_shop_category_page"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=woocommerce_product_catalog">Product Catalog</a>		</li>
		<li id="wp-admin-bar-options_shop_product_page"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=product-page">Product Page</a>		</li>
		<li id="wp-admin-bar-options_shop_my_account"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=fl-my-account">My Account</a>		</li>
		<li id="wp-admin-bar-options_shop_payment_icons"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=payment-icons">Payment Icons</a>		</li>
		<li id="wp-admin-bar-options_shop_product_images"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=woocommerce_product_images">Product Images</a>		</li>
		<li id="wp-admin-bar-options_shop_checkout"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=woocommerce_checkout">Checkout</a>		</li>
		<li id="wp-admin-bar-options_shop_cart"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=cart-checkout">Cart</a>		</li>
		<li id="wp-admin-bar-options_advanced_woocommerce_2"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-woocommerce">Advanced</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-options_pages"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=pages"><span class="dashicons dashicons-admin-page" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Pages</a>		</li>
		<li id="wp-admin-bar-options_blog"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bpanel%5D=blog"><span class="dashicons dashicons-edit" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Blog</a>		</li>
		<li id="wp-admin-bar-options_portfolio"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=fl-portfolio"><span class="dashicons dashicons-portfolio" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Portfolio</a>		</li>
		<li id="wp-admin-bar-options_footer"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=footer"><span class="dashicons dashicons-arrow-down-alt" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Footer</a>		</li>
		<li id="wp-admin-bar-options_menus" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bpanel%5D=nav_menus"><span class="dashicons dashicons-menu " style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Menus</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-options_menus-default" class="ab-submenu">
		<li id="wp-admin-bar-options_menus_backend"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/nav-menus.php">Back-end editor</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-options_widgets" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bpanel%5D=widgets"><span class="dashicons dashicons-welcome-widgets-menus" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Widgets</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-options_widgets-default" class="ab-submenu">
		<li id="wp-admin-bar-options_widgets_backend"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/widgets.php">Back-end editor</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-options_share"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=share"><span class="dashicons dashicons-share" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Share</a>		</li>
		<li id="wp-admin-bar-options_reset"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=advanced"><span class="dashicons dashicons-admin-generic" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Reset</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-options_advanced" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab="><span class="dashicons dashicons-admin-tools" style="font-size:20px; -webkit-font-smoothing: antialiased; font-weight:400!important; padding-right:4px; font-family:dashicons!important;margin-top:-2px;"></span> Advanced</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-options_advanced-default" class="ab-submenu">
		<li id="wp-admin-bar-options_advanced_custom_scripts"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-globalsettings">Global Settings</a>		</li>
		<li id="wp-admin-bar-options_advanced_custom_css"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-customcss">Custom CSS</a>		</li>
		<li id="wp-admin-bar-options_ux_builder"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-uxbuilder">UX Builder</a>		</li>
		<li id="wp-admin-bar-options_advanced_custom_lazyloading"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-lazyloading">Lazy Loading</a>		</li>
		<li id="wp-admin-bar-options_advanced_site_loader"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-siteloader">Site Loader</a>		</li>
		<li id="wp-admin-bar-options_advanced_site_search"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-sitesearch">Site Search</a>		</li>
		<li id="wp-admin-bar-options_advanced_google_apis"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-googleapis">Google APIs</a>		</li>
		<li id="wp-admin-bar-options_advanced_maintenance"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-maintenancemode">Maintenance</a>		</li>
		<li id="wp-admin-bar-options_advanced_404"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-404page">404 Page</a>		</li>
		<li id="wp-admin-bar-options_advanced_custom_fonts"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-customfonts">Custom Fonts</a>		</li>
		<li id="wp-admin-bar-options_advanced_catalog_mode"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-catalogmode">Catalog Mode</a>		</li>
		<li id="wp-admin-bar-options_advanced_infinite_scroll"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-infinitescroll">Infinite Scroll</a>		</li>
		<li id="wp-admin-bar-options_advanced_portfolio"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-portfolio">Portfolio</a>		</li>
		<li id="wp-admin-bar-options_advanced_woocommerce"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-woocommerce">WooCommerce</a>		</li>
		<li id="wp-admin-bar-options_advanced_integrations"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-integrations">Integrations</a>		</li>
		<li id="wp-admin-bar-options_advanced_backup"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=optionsframework&#038;tab=of-option-backupandimport">Backup / Import</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-flatsome_panel_license"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=flatsome-panel">Theme License</a>		</li>
		<li id="wp-admin-bar-flatsome_panel_support"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=flatsome-panel-support">Help & Guides</a>		</li>
		<li id="wp-admin-bar-flatsome_panel_changelog"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=flatsome-panel-changelog">Change log</a>		</li>
		<li id="wp-admin-bar-flatsome_panel_setup_wizard"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=flatsome-setup">Setup Wizard</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-customize" class="menupop hide-if-no-customize"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/customize.php?url=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F">Customize</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-customize-default" class="ab-submenu">
		<li id="wp-admin-bar-admin_bar_helper"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/customize.php?url=http://www.test-tfl.com/checkout/&#038;autofocus%5Bsection%5D=woocommerce_checkout">Checkout layout</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-updates"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/update-core.php" title="6 Plugin Updates, 5 Theme Updates"><span class="ab-icon"></span><span class="ab-label">11</span><span class="screen-reader-text">6 Plugin Updates, 5 Theme Updates</span></a>		</li>
		<li id="wp-admin-bar-comments"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/edit-comments.php"><span class="ab-icon"></span><span class="ab-label awaiting-mod pending-count count-3" aria-hidden="true">3</span><span class="screen-reader-text">3 comments awaiting moderation</span></a>		</li>
		<li id="wp-admin-bar-new-content" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/post-new.php"><span class="ab-icon"></span><span class="ab-label">New</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-new-content-default" class="ab-submenu">
		<li id="wp-admin-bar-new-post"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/post-new.php">Post</a>		</li>
		<li id="wp-admin-bar-new-media"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/media-new.php">Media</a>		</li>
		<li id="wp-admin-bar-new-page"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/post-new.php?post_type=page">Page</a>		</li>
		<li id="wp-admin-bar-new-blocks"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/post-new.php?post_type=blocks">Block</a>		</li>
		<li id="wp-admin-bar-new-product"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/post-new.php?post_type=product">Product</a>		</li>
		<li id="wp-admin-bar-new-shop_order"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/post-new.php?post_type=shop_order">Order</a>		</li>
		<li id="wp-admin-bar-new-featured_item"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/post-new.php?post_type=featured_item">Portfolio</a>		</li>
		<li id="wp-admin-bar-new-user"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/user-new.php">User</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-edit" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/post.php?post=3&#038;action=edit">Edit Page</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-edit-default" class="ab-submenu">
		<li id="wp-admin-bar-edit_uxbuilder"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/edit.php?page=uxbuilder&#038;post_id=3">Edit with UX Builder</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-wpseo-menu" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_dashboard"><div id="yoast-ab-icon" class="ab-item yoast-logo svg"><span class="screen-reader-text">SEO</span></div><div class="wpseo-score-icon adminbar-seo-score na"><span class="adminbar-seo-score-text screen-reader-text"></span></div></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wpseo-menu-default" class="ab-submenu">
		<li id="wp-admin-bar-wpseo-configuration-wizard"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_configurator">Configuration Wizard</a>		</li>
		<li id="wp-admin-bar-wpseo-kwresearch" class="menupop"><div class="ab-item ab-empty-item" tabindex="0" aria-haspopup="true">Keyword Research</div><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wpseo-kwresearch-default" class="ab-submenu">
		<li id="wp-admin-bar-wpseo-kwresearchtraining"><a class="ab-item" href="https://yoa.st/wp-admin-bar?php_version=7.2.8&#038;platform=wordpress&#038;platform_version=5.0.3&#038;software=free&#038;software_version=9.6&#038;role=administrator&#038;days_active=229" target="_blank">Keyword research training</a>		</li>
		<li id="wp-admin-bar-wpseo-adwordsexternal"><a class="ab-item" href="https://yoa.st/keywordplanner" target="_blank">Google Ads</a>		</li>
		<li id="wp-admin-bar-wpseo-googleinsights"><a class="ab-item" href="https://yoa.st/google-trends" target="_blank">Google Trends</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-wpseo-analysis" class="menupop"><div class="ab-item ab-empty-item" tabindex="0" aria-haspopup="true">Analyze this page</div><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wpseo-analysis-default" class="ab-submenu">
		<li id="wp-admin-bar-wpseo-inlinks"><a class="ab-item" href="https://search.google.com/search-console/links/drilldown?resource_id=http%3A%2F%2Fwww.test-tfl.com&#038;type=EXTERNAL&#038;target=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F&#038;domain=" target="_blank">Check links to this URL</a>		</li>
		<li id="wp-admin-bar-wpseo-kwdensity"><a class="ab-item" href="http://www.zippy.co.uk/keyworddensity/index.php?url=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F&#038;keyword=" target="_blank">Check Keyphrase Density</a>		</li>
		<li id="wp-admin-bar-wpseo-cache"><a class="ab-item" href="//webcache.googleusercontent.com/search?strip=1&#038;q=cache:http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">Check Google Cache</a>		</li>
		<li id="wp-admin-bar-wpseo-header"><a class="ab-item" href="//quixapp.com/headers/?r=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">Check Headers</a>		</li>
		<li id="wp-admin-bar-wpseo-structureddata"><a class="ab-item" href="https://search.google.com/structured-data/testing-tool#url=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">Google Structured Data Test</a>		</li>
		<li id="wp-admin-bar-wpseo-facebookdebug"><a class="ab-item" href="//developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">Facebook Debugger</a>		</li>
		<li id="wp-admin-bar-wpseo-pinterestvalidator"><a class="ab-item" href="https://developers.pinterest.com/tools/url-debugger/?link=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">Pinterest Rich Pins Validator</a>		</li>
		<li id="wp-admin-bar-wpseo-htmlvalidation"><a class="ab-item" href="//validator.w3.org/check?uri=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">HTML Validator</a>		</li>
		<li id="wp-admin-bar-wpseo-cssvalidation"><a class="ab-item" href="//jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">CSS Validator</a>		</li>
		<li id="wp-admin-bar-wpseo-pagespeed"><a class="ab-item" href="//developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">Google Page Speed Test</a>		</li>
		<li id="wp-admin-bar-wpseo-google-mobile-friendly"><a class="ab-item" href="https://www.google.com/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Fwww.test-tfl.com%2Fcheckout%2F" target="_blank">Mobile-Friendly Test</a>		</li></ul></div>		</li>
		<li id="wp-admin-bar-wpseo-settings" class="menupop"><div class="ab-item ab-empty-item" tabindex="0" aria-haspopup="true">SEO Settings</div><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wpseo-settings-default" class="ab-submenu">
		<li id="wp-admin-bar-wpseo-general"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_dashboard">General</a>		</li>
		<li id="wp-admin-bar-wpseo-titles"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_titles">Search Appearance</a>		</li>
		<li id="wp-admin-bar-wpseo-search-console"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_search_console">Search Console</a>		</li>
		<li id="wp-admin-bar-wpseo-social"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_social">Social</a>		</li>
		<li id="wp-admin-bar-wpseo-tools"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_tools">Tools</a>		</li>
		<li id="wp-admin-bar-wpseo-licenses"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_licenses">Premium</a>		</li>
		<li id="wp-admin-bar-wpseo-courses"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/admin.php?page=wpseo_courses">Courses</a>		</li></ul></div>		</li></ul></div>		</li>
		<li id="wp-admin-bar-imagify" class="menupop"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/options-general.php?page=imagify">Imagify</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-imagify-default" class="ab-submenu">
		<li id="wp-admin-bar-imagify-settings"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/options-general.php?page=imagify">Settings</a>		</li>
		<li id="wp-admin-bar-imagify-bulk-optimization"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/upload.php?page=imagify-bulk-optimization">Bulk Optimization</a>		</li>
		<li id="wp-admin-bar-imagify-documentation"><a class="ab-item" href="https://imagify.io/documentation/" target="_blank">Documentation</a>		</li>
		<li id="wp-admin-bar-imagify-rate-it"><a class="ab-item" href="https://wordpress.org/support/view/plugin-reviews/imagify?rate=5#postform" target="_blank">Rate Imagify on WordPress.org</a>		</li></ul></div>		</li></ul><ul id="wp-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
		<li id="wp-admin-bar-search" class="admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form action="http://www.test-tfl.com/" method="get" id="adminbarsearch"><input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" /><label for="adminbar-search" class="screen-reader-text">Search</label><input type="submit" class="adminbar-button" value="Search"/></form></div>		</li>
		<li id="wp-admin-bar-my-account" class="menupop with-avatar"><a class="ab-item" aria-haspopup="true" href="http://www.test-tfl.com/wp-admin/profile.php">Howdy, <span class="display-name">sharingsunshine</span><img alt='' src='http://1.gravatar.com/avatar/ad0398725f89f015f9acd28476177591?s=26&#038;d=mm&#038;r=g' srcset='http://1.gravatar.com/avatar/ad0398725f89f015f9acd28476177591?s=52&#038;d=mm&#038;r=g 2x' class='avatar avatar-26 photo' height='26' width='26' /></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user-actions" class="ab-submenu">
		<li id="wp-admin-bar-user-info"><a class="ab-item" tabindex="-1" href="http://www.test-tfl.com/wp-admin/profile.php"><img alt='' src='http://1.gravatar.com/avatar/ad0398725f89f015f9acd28476177591?s=64&#038;d=mm&#038;r=g' srcset='http://1.gravatar.com/avatar/ad0398725f89f015f9acd28476177591?s=128&#038;d=mm&#038;r=g 2x' class='avatar avatar-64 photo' height='64' width='64' /><span class='display-name'>sharingsunshine</span></a>		</li>
		<li id="wp-admin-bar-edit-profile"><a class="ab-item" href="http://www.test-tfl.com/wp-admin/profile.php">Edit My Profile</a>		</li>
		<li id="wp-admin-bar-logout"><a class="ab-item" href="http://www.test-tfl.com/wp-login.php?action=logout&#038;_wpnonce=8eed70ff0d">Log Out</a>		</li></ul></div>		</li></ul>			</div>
						<a class="screen-reader-shortcut" href="http://www.test-tfl.com/wp-login.php?action=logout&#038;_wpnonce=8eed70ff0d">Log Out</a>
					</div>

		<script>

jQuery('#cook').click(function(e) {
		e.preventDefault();
		document.cookie = "wantmembership=1; path=/";
              jQuery(this).css('background-color','green');
              jQuery(this).text("I Now Have A Membership!");
			});

jQuery(function($) {
  checkCookie();

  function getCookie(cname) 
  {
    var name = cname + "=";
    var ca = document.cookie.split(';');
    for(var i = 0; i < ca.length; i++) {
      var c = ca[i];
      while (c.charAt(0) === ' ') {
        c = c.substring(1);
      }
      if (c.indexOf(name) === 0) {
        return c.substring(name.length, c.length);
      }
    }
    return "";
  }

  function checkCookie() 
  {
    //document.write("Print this in the function");
    var username = getCookie("wantmembership");
    //document.write("Print this after the get");
    if (username == "wantmembership") {
      //document.write("Print this after the if test");
      jQuery('#order_comments').val('I Want Membership');
    } 
  }
});
</script>

<script type="text/javascript">

/*jQuery(function($) {

  $('body').on('change', '[name="shipping_method[0]"]', doPOCheck);
  $('#billing_address_1,#billing_address_2,#shipping_address_1,#shipping_address_2,#ship-to-different-address-checkbox').change(doPOCheck);
  */

jQuery(function($) {
  // ADD THIS TO DO THE PO Check AFTER AJAX IS DONE
  $(document).ajaxStop(function() {
    doPOCheck();
  });
  /* REMOVE LINE 4 FROM YOUR CODE */
//  $('body').on('change', '[name="shipping_method[0]"]', doPOCheck);
  $('#billing_address_1,#billing_address_2,#shipping_address_1,#shipping_address_2,#ship-to-different-address-checkbox').change(doPOCheck);


  function doPOCheck ()
  {
    // Only proceed if we UPS is checked
//   if ($('#shipping_method_0_132643').is(':checked'){
if ($('#shipping_method_0_132643, #shipping_method_0_132615, #shipping_method_0_132639, #shipping_method_0_132642, #shipping_method_0_132640,#shipping_method_0_132641').is(':checked')) {
 if ($('#ship-to-different-address-checkbox').is(':checked')) {
        ad1 = $('#shipping_address_1').val();
        ad2 = $('#shipping_address_2').val();
      }
      else {
        ad1 = $('#billing_address_1').val();
        ad2 = $('#billing_address_2').val();
      }
      if (hasPOBox(ad1, ad2)) {

    
showPoError();

  }

      else {
        hidePoError();
      }
    }
	else {
	  hidePoError();
	}
  }
  
  function showPoError() 
  {
    var msg ='<div class="pobox-error woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout"><ul class="woocommerce-error message-wrapper" role="alert"><li><div class="message-container container alert-color medium-text-center"><span class="message-icon icon-close"></span> <strong>UPS can not send to PO Box.</strong></div></li></ul></div>';
    if(!jQuery('.pobox-error').length) {
      $('#place_order').after(msg);
    }
  }

  function hidePoError(){
    $('.pobox-error').remove();
  }
  // This now becomes generic for billing and shipping
  function hasPOBox(ad1, ad2)
  {
    ad1 = ad1.replace(/[^A-Z]/gi,'').substr(0,5).toLowerCase();
    ad2 = ad2.replace(/[^A-Z]/gi,'').substr(0,5).toLowerCase();

    return (ad1=='pobox' || ad2=='pobox');
 }
});

</script>
</body>
</html>

Open in new window

Julian HansenCommented:
Line 855 has the message hardcoded in the page.
<p class="form-row notes" id="order_comments_field" data-priority="10"><label for="order_comments" class="">Order notes&nbsp;<span class="optional">(optional)</span></label><span class="woocommerce-input-wrapper"><textarea name="order_comments" class="input-text " id="order_comments" placeholder="Notes about your order, e.g. special notes for delivery."  rows="2" cols="5">I Want Membership</textarea></span></p>
That means it is getting set on the server.
The JavaScript code never runs on that page. You can test this by putting a console.log inside the if () statement.
sharingsunshineAuthor Commented:
Glad you found that extra code.  That takes away the message.  However, now even if the cookie is created the message isn't showing.  Here is a screenshot.

https://gyazo.com/78fced3ea85fad52fd89073bd8ccaea5

I did the console.log but I thought because the code was part of the jQuery statement below it would be firing.  I can see it isn't so shouldn't it be firing on that page too?

jQuery(function($) {
  checkCookie();

  function getCookie(cname) 
  {
    var name = cname + "=";
    var ca = document.cookie.split(';');
    for(var i = 0; i < ca.length; i++) {
      var c = ca[i];
      while (c.charAt(0) === ' ') {
        c = c.substring(1);
      }
      if (c.indexOf(name) === 0) {
        return c.substring(name.length, c.length);
      }
    }
    return "";
  }

  function checkCookie() 
  {
    //document.write("Print this in the function");
    var username = getCookie("wantmembership");
    //document.write("Print this after the get");
    if (username ==  "wantmembership") {
console.log
      //document.write("Print this after the if test");
      jQuery('#order_comments').val('I Want Membership');
    } 
  }
});

Open in new window

Julian HansenCommented:
Then the cookie is not being set or order_comments input is not on the page.

This is not complicated - if you set a cookie and test for it and the control exists the code will work.

If it is not working - then one of those is missing.

You have showed us your latest jQuery - but not the rest. Can we see a link to the page - or a test page that demonstrates the problem.
sharingsunshineAuthor Commented:
This is all of the code.  Unfortunately, this is running on Xampp on my desktop.

<script>

jQuery('#cook').click(function(e) {
		e.preventDefault();
		document.cookie = "wantmembership=1; path=/";
              jQuery(this).css('background-color','green');
              jQuery(this).text("I Now Have A Membership!");
			});

jQuery(function($) {
  checkCookie();

  function getCookie(cname) 
  {
    var name = cname + "=";
    var ca = document.cookie.split(';');
    for(var i = 0; i < ca.length; i++) {
      var c = ca[i];
      while (c.charAt(0) === ' ') {
        c = c.substring(1);
      }
      if (c.indexOf(name) === 0) {
        return c.substring(name.length, c.length);
      }
    }
    return "";
  }

  function checkCookie() 
  {
    //document.write("Print this in the function");
    var username = getCookie("wantmembership");
    //document.write("Print this after the get");
    if (username ==  "wantmembership") {
console.log
      //document.write("Print this after the if test");
      jQuery('#order_comments').val('I Want Membership');
    } 
  }
});
</script>

Open in new window

Julian HansenCommented:
Firstly you have a rogue console.log in your code - but that is not the problem.

What does getCookie() do?

You give it a cookie name and it returns you the .... value of the cookie.

What does your cook click handler do?

It sets the cookie for the user and makes its value .... 1.

When you run checkCookie() what value is it checking for on the cookie?

Do you see the problem?

You are not checking for the right value - you are checking for "wantmembership" - that is the cookie name - you should be checking for a non-false value because the cookie is set to 1 - you only want to know if it exists so you should be doing this
  function checkCookie() 
  {
    if (getCookie("wantmembership")) {
      jQuery('#order_comments').val('I Want Membership');
    } 
  }

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sharingsunshineAuthor Commented:
Thanks for the explanation, that made it work and when I delete the cookie it goes away.  Because this is gone so long I wanted to award you the points.  I will have another question about getting the cookie to be deleted when the submit button is pressed.
Julian HansenCommented:
You are welcome.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.