OPTIN Subscribe Page

Put in your phone number below to subscribe!

<!-- Subscribe with Phone Number Section -->
<div class="subscribe-section">
  <h2>Subscribe for Updates</h2>
  <p>Sign up to receive exclusive offers and updates via SMS.</p>

  <form method="post" action="/contact" id="sms-subscribe-form">
    <input type="hidden" name="form_type" value="customer">
    <input type="hidden" name="utf8" value="✓">
    
    <!-- Add a Tag for Filtering in Shopify -->
    <input type="hidden" name="contact[tags]" value="SMS_OPTED_IN">

    <!-- Phone Number Input -->
    <input type="tel" name="contact[phone]" placeholder="Enter your phone number" required>

    <!-- Consent Checkbox -->
    <label class="checkbox-container">
      <input type="checkbox" name="contact[accepts_marketing]" value="true" required>
      <span class="checkmark"></span> 
      By providing your phone number, you consent to receive automated promotional and transactional text messages from Biolife Health and Wellness. Message & data rates may apply. Reply STOP to opt out.
    </label>

    <!-- Submit Button -->
    <button type="submit">Subscribe</button>
  </form>
</div>

<!-- Styles -->
<style>
  .subscribe-section {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
  }
  .subscribe-section input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  .subscribe-section button {
    background: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
  }
  .checkbox-container {
    display: flex;
    align-items: flex-start;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    text-align: left;
  }
  .checkbox-container input {
    margin-right: 10px;
  }
</style>