soylent.com Open in urlscan Pro
23.227.38.32  Public Scan

Submitted URL: http://soylent.com/
Effective URL: https://soylent.com/
Submission Tags: tranco_l324
Submission: On November 10 via api from DE — Scanned from CA

Form analysis 31 forms found in the DOM

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$37.05</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.09</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$42.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.50</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462614839407">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4462614839407" tabindex="0">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="0" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$37.05</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="0">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.78</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$37.05</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.09</span>/<span x-text="product.unitName">Bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$42.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.50</span>/<span x-text="product.unitName">Bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4489418014831">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4489418014831" tabindex="0">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="1" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$37.05</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="1">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.78</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$37.05</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.09</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$42.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.50</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462621163631">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4462621163631" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="2" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$37.05</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="2">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.78</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$32.30</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$2.69</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$42.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.50</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462627749999">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4462627749999" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 day</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="3" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$32.30</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="3">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">23.10</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$37.05</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.09</span>/<span x-text="product.unitName">Bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$42.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.50</span>/<span x-text="product.unitName">Bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-753752408170">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-753752408170" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="4" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$37.05</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="4">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.78</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$37.05</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.09</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$42.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.50</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462641447023">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4462641447023" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="5" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$37.05</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="5">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.78</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$40.79</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.40</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$46.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.83</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462794604655">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4462794604655" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 day</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="6" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$40.79</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="6">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$29.70</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$2.48</span>/<span x-text="product.unitName">Bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$33.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$2.75</span>/<span x-text="product.unitName">Bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4605292609647">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4605292609647" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="7" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$29.70</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="7">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$29.70</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$2.48</span>/<span x-text="product.unitName">Bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$33.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$2.75</span>/<span x-text="product.unitName">Bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4605292675183">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4605292675183" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="8" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$29.70</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="8">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$40.79</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.40</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$46.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.83</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4572886302831">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4572886302831" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 day</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="9" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$40.79</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="9">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$37.05</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.09</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$42.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.50</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462631157871">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4462631157871" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="10" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$37.05</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="10">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.78</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$37.05</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.09</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$42.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.50</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-4462559559791">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-4462559559791" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="11" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$37.05</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="11">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.78</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="-1">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$40.79</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$3.40</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="-1">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$46.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$3.83</span>/<span x-text="product.unitName">bottle</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6876814082159">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-6876814082159" tabindex="-1">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 day</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 day</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="12" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$40.79</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="12">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">11.33</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="-1">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$52.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$1.50</span>/<span x-text="product.unitName">Meal</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$64.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.83</span>/<span x-text="product.unitName">Meal</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-1774714912879">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-1774714912879" tabindex="0">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="0" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$52.50</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="0">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">17.97</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$52.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$1.50</span>/<span x-text="product.unitName">meal</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$64.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.83</span>/<span x-text="product.unitName">meal</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-1764282499183">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-1764282499183" tabindex="0">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="15">15 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="45">45 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="1" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$52.50</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="1">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">17.97</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$22.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.94</span>/<span x-text="product.unitName">Square</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.04</span>/<span x-text="product.unitName">Square</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-2169123471471">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-2169123471471" tabindex="0">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="0" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$22.50</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="0">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template>
  <div class="flex flex-column product-form__purchase-selector">
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type" tabindex="0">
        <span class="flex-1">Subscribe &amp; Save</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))">$22.50</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))">$0.94</span>/<span x-text="product.unitName">Square</span>)</p>
      </div>
    </div>
    <div class="flex justify-between mb-0.5gutter">
      <label class="f6 capitalize flex items-start mb0 grey-dark">
        <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type" tabindex="0">
        <span class="flex-1">One-Time Purchase</span>
      </label>
      <div class="ttl tr f8 mb0 self-center product-form__selector-price">
        <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))">$1.04</span>/<span x-text="product.unitName">Square</span>)</p>
      </div>
    </div>
  </div>
  <template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`" for="frequency-6557974462575">Deliver Every:</label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency" id="frequency-6557974462575" tabindex="0">
          <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
            <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
          </template>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="30">30 Days</option>
          <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`" value="60">60 Days</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="1" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$22.50</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="1">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <div>
        <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)">10.00</i>% </span>
        <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text" tabindex="0">Why Subscribe?</a>
          <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
            <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
          </p>
        </div>
      </div>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="product-form__main" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex justify-end product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`" for="size-6706700189807"></label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" name="size" x-model="product.state.size" tabindex="0">
          <template x-for="option in product.productOptions">
            <option x-text="option"></option>
          </template>
          <option x-text="option">XS</option>
          <option x-text="option">S</option>
          <option x-text="option">M</option>
          <option x-text="option">L</option>
          <option x-text="option">XL</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="0" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$25.00</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="0">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex justify-end product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$15.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="0"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="0">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="0"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" disabled="disabled" key="1" tabindex="0">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$15.00</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="1" style="display: none;">Add to Cart</p>
        <p x-show="!isAddToCart(product)">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex justify-end product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$2.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="2" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$2.00</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="2">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex justify-end product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="3" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$25.00</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="3">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex justify-end product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$25.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`" for="size-6706700222575"></label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" name="size" x-model="product.state.size" tabindex="-1">
          <template x-for="option in product.productOptions">
            <option x-text="option"></option>
          </template>
          <option x-text="option">XS</option>
          <option x-text="option">S</option>
          <option x-text="option">M</option>
          <option x-text="option">L</option>
          <option x-text="option">XL</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="4" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$25.00</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="4">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="flex flex-column h-100 product-form" @submit.prevent="addToCart(product, $dispatch)">
  <template x-if="productShippingFrequencies(product)">
    <div class="flex flex-column product-form__purchase-selector">
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="subscription" name="purchase_type">
          <span class="flex-1">Subscribe &amp; Save</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(productSubscriptionPrice(product))"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(productSubscriptionPrice(product), product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
      <div class="flex justify-between mb-0.5gutter">
        <label class="f6 capitalize flex items-start mb0 grey-dark">
          <input class="product-form__purchase-selector__radio" type="radio" x-model="product.state.purchaseType" value="onetime" name="purchase_type">
          <span class="flex-1">One-Time Purchase</span>
        </label>
        <div class="ttl tr f8 mb0 self-center product-form__selector-price">
          <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
          <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
            <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
          </template>
        </div>
      </div>
    </div>
  </template><template x-if="!productShippingFrequencies(product) &amp;&amp; product.productOptionLabel != 'Value' ">
    <div class="flex justify-end product-form__selector-price-single">
      <p class="ttl tr f8">
        <strong class="grey-dark" x-text="formatPrice(product.price)"></strong>
        <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
          <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
        </template>
      </p>
    </div>
  </template>
  <div class="flex justify-end product-form__selector-price-single">
    <p class="ttl tr f8">
      <strong class="grey-dark" x-text="formatPrice(product.price)">$45.00</strong>
      <template x-if="product.showUnitInPlp &amp;&amp; product.unitName &amp;&amp; product.bulkQuantity">
        <p class="di">(<span x-text="formatPrice(unitPrice(product.price, product.bulkQuantity))"></span>/<span x-text="product.unitName"></span>)</p>
      </template>
    </p>
  </div>
  <div class="product-form__main product-form__main--onetime" :class="{ 'product-form__main--onetime': !productShippingFrequencies(product) }">
    <template x-if="productShippingFrequencies(product)">
      <div :class="{'product-form__frequency--hidden' : product.state.purchaseType === 'onetime' }" class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`frequency-${product.id}`">Deliver Every:</label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" :id="`frequency-${product.id}`" :disabled="product.state.purchaseType === 'onetime'" name="frequency" x-model="product.state.frequency">
            <template x-for="frequency in productShippingFrequencies(product)" :key="frequency">
              <option :value="frequency" x-text="`${frequency} ${product.subscriptions.shipping_interval_unit_type}`"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <template x-if="product.productOptionLabel != 'Title' ">
      <div class="product-form__frequency">
        <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`"></label>
        <div class="product-form__frequency_select-wrapper">
          <select class="product-form__frequency__select" name="size" x-model="product.state.size">
            <template x-for="option in product.productOptions">
              <option x-text="option"></option>
            </template>
          </select>
          <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
        </div>
      </div>
    </template>
    <div class="product-form__frequency">
      <label class="db f8 capitalize product-form__frequency__label" :for="`size-${product.id}`" for="size-6706700255343"></label>
      <div class="product-form__frequency_select-wrapper">
        <select class="product-form__frequency__select" name="size" x-model="product.state.size" tabindex="-1">
          <template x-for="option in product.productOptions">
            <option x-text="option"></option>
          </template>
          <option x-text="option">XS</option>
          <option x-text="option">S</option>
          <option x-text="option">M</option>
          <option x-text="option">L</option>
          <option x-text="option">XL</option>
        </select>
        <i class="product-form_frequency__icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
              <path d="M9 1L4.374 5 0 1" stroke-width="2" stroke="#343538" fill="none" fill-rule="evenodd"></path>
            </svg>
          </i>
      </div>
    </div>
    <div class="relative flex product-form__cta flex-grow-1" :class="{ 'flex-grow-1': !productShippingFrequencies(product) }">
      <div class="flex justify-center product-form__cta__stepper">
        <button class="relative" type="button" @click="product.state.quantity = Math.max(1, product.state.quantity - 1)" :disabled="parseInt(product.state.quantity) === 1" disabled="disabled" tabindex="-1"> - </button>
        <input class="relative self-center" type="number" name="quantity" x-model="product.state.quantity" min="1" tabindex="-1">
        <button class="relative" type="button" @click="product.state.quantity = parseInt(product.state.quantity) + 1" tabindex="-1"> + </button>
      </div>
      <button class="product-form__cta__submit add-to-cart  uppercase fw7" type="submit" :disabled="!isAddToCart(product)" :key="index" key="5" tabindex="-1">
        <template x-if="product.productOptionLabel != 'Value' ">
          <span x-text="priceWithButton(product)"></span><span class="pdf__dot-separator"></span>
        </template>
        <span x-text="priceWithButton(product)">$45.00</span><span class="pdf__dot-separator"></span>
        <p class="add-to-cart" x-show="isAddToCart(product)" :key="index" key="5">Add to Cart</p>
        <p x-show="!isAddToCart(product)" style="display: none;">Sold Out</p>
      </button>
    </div>
  </div>
  <div class="product-form__footer">
    <div class="mb0 tc f7 flex justify-center">
      <template x-if="productShippingFrequencies(product)">
        <div>
          <span> Subscribe &amp; Save <i class="fs-normal" x-text="parseFloat(product.subscriptions.discount_percentage).toFixed(2)"></i>% </span>
          <div class="product-form__tooltip"> | <a href="#" @click.prevent="showTooltip" @click.away="hideTooltip" class="f7 product-form__tooltip-text">Why Subscribe?</a>
            <p class="product-form__tooltip-content" :class="{'is-active' : isActiveTooltip}">
              <span class="product-form__tooltip-inner">Not only will you get free shipping, but you’re able to manage your subscription at any time.</span>
            </p>
          </div>
        </div>
      </template>
      <template x-if="!productShippingFrequencies(product)">
        <span> &nbsp; </span>
      </template>
      <span> &nbsp; </span>
    </div>
  </div>
</form>

<form class="needsclick klaviyo-form klaviyo-form-version-cid_1 kl-private-reset-css-Xuajs1" data-testid="klaviyo-form-YmL3b8" novalidate="" tabindex="-1"
  style="display: flex; flex-direction: row; box-sizing: border-box; width: 100%; overflow: visible; max-width: 450px; margin: 0px auto; border-radius: 2px; border-style: none; border-width: 0px; border-color: rgb(0, 0, 0); background-color: rgba(255, 255, 255, 0); background-repeat: no-repeat; background-position-y: 50%; padding: 10px 0px;">
  <div class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: column; width: 100%; margin: 0px; padding: 0px; justify-content: center;">
    <div data-testid="form-row" class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: row; align-items: stretch; position: relative;">
      <div component="[object Object]" data-testid="form-component" class="needsclick  kl-private-reset-css-Xuajs1"
        style="display: flex; justify-content: flex-start; padding: 10px 6px 10px 0px; position: relative; background-color: rgba(255, 255, 255, 0); flex: 1 0 0px;">
        <div class="kl-private-reset-css-Xuajs1 kl-private-quill-wrapper-Lkqws1" style="width: 100%;">
          <div class="ql-snow ql-container ql-disabled">
            <div class="ql-editor" data-gramm="false" contenteditable="false">
              <p><strong style="color: rgb(255, 255, 255); font-size: 18px;">SIGN UP FOR OUR NEWSLETTER TO STAY UP TO DATE ON PRODUCT LAUNCHES, PROMOTIONS, AND ALL THINGS SOYLENT!</strong></p>
            </div>
            <div class="ql-clipboard" contenteditable="true" tabindex="-1"></div>
          </div>
        </div>
      </div>
    </div>
    <div data-testid="form-row" class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; flex-direction: row; align-items: stretch; position: relative;">
      <div component="[object Object]" data-testid="form-component" class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; justify-content: flex-start; padding: 10px 8px 10px 0px; position: relative; flex: 1 0 0px;">
        <div class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; flex-grow: 1; flex-direction: column; align-self: flex-end;"><label class="needsclick  kl-private-reset-css-Xuajs1"
            style="color: rgb(204, 204, 204); font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0px; padding-bottom: 6px;">Email</label><input
            class="needsclick go663772103 kl-private-reset-css-Xuajs1" type="email" name="email" tabindex="0" placeholder="Your Email Address" aria-label="Email" aria-invalid="false" options="[object Object]"
            style="box-sizing: border-box; border-radius: 2px; padding: 0px 0px 0px 16px; height: 38px; text-align: left; color: rgb(255, 255, 255); font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 0px; background-color: rgba(255, 178, 178, 0); border: 1px solid rgb(204, 204, 204);">
          <div class="needsclick  kl-private-reset-css-Xuajs1" style="width: 100%; position: relative;"></div>
        </div>
      </div>
      <div component="[object Object]" data-testid="form-component" class="needsclick  kl-private-reset-css-Xuajs1" style="display: flex; justify-content: flex-start; padding: 10px 10px 10px 0px; position: relative; flex: 0 1 auto;"><button
          class="needsclick go726231488 kl-private-reset-css-Xuajs1" type="button" tabindex="0"
          style="background: rgb(255, 255, 255); border-radius: 0px; border-style: solid; border-color: rgb(0, 0, 0); border-width: 1px; color: rgb(32, 35, 34); font-family: Apercu, Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 0px; line-height: 1; white-space: normal; padding: 11px 10px; text-align: center; word-break: break-word; align-self: flex-end; cursor: pointer;">SIGN
          UP</button></div>
    </div>
  </div><input type="submit" tabindex="-1" value="Submit" style="display: none;">
</form>

POST /cart

<form action="/cart" method="post" novalidate="">
  <div class="ajax-cart__header" role="group" aria-label="Cart Header" data-ajax-cart-header="">
    <a href="#" class="ajax-cart__close" aria-label="Close" data-ajax-cart-close=""><svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-close"><path fill="#212322" fill-rule="evenodd" d="M8.203 7.373l6.207-6.207c.477-.478 1.18-.548 1.571-.157.39.39.32 1.094-.157 1.571L9.617 8.787l6.207 6.207c.477.477.547 1.18.157 1.571-.39.39-1.094.32-1.571-.157L8.203 10.2l-6.207 6.207c-.477.477-1.18.547-1.571.157-.39-.39-.32-1.094.157-1.571l6.207-6.207L.582 2.58C.104 2.103.034 1.4.425 1.009c.39-.39 1.094-.32 1.571.157l6.207 6.207z"></path></svg></a>
    <h1 class="h5">Your Cart</h1>
  </div>
  <div class="ajax-cart__body" role="group" aria-label="Cart Body" data-ajax-cart-body="">
    <div class="ajax-cart__empty-message">
      <p>Your bag is empty</p>
    </div>
  </div>
</form>

GET /search

<form action="/search" method="get" role="search">
  <input type="hidden" name="type" value="product,article">
  <div class="minimal-input-box minimal-input-box--large">
    <input type="search" placeholder="Search products &amp; content" class="minimal-input-box__input">
    <button type="submit" class="minimal-input-box__submit">
      <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-search" viewBox="0 0 20 20">
        <path class="st0"
          d="M18.7 17.3l-3.2-3.2c1.1-1.4 1.7-3.1 1.7-5 0-4.5-3.6-8.1-8.1-8.1S1 4.6 1 9.1s3.6 8.1 8.1 8.1c1.9 0 3.6-.6 5-1.7l3.2 3.2c.2.2.5.3.7.3s.5-.1.7-.3c.4-.4.4-1 0-1.4zM3 9.1C3 5.7 5.7 3 9.1 3c3.4 0 6.1 2.7 6.1 6.1 0 1.7-.7 3.2-1.8 4.3-1.1 1.1-2.6 1.8-4.3 1.8-3.4 0-6.1-2.7-6.1-6.1z">
        </path>
      </svg>
      <span class="icon-fallback-text">Search</span>
    </button>
  </div>
</form>

Text Content

Skip to content


Free shipping to the continental U.S. on orders $25 and over!

 * 

 * Drinks
   

    * COMPLETE MEAL
      
      No time, no problem! Complete, drinkable meal.
   
    * COMPLETE PROTEIN
      
      Smooth and creamy high protein + nutrition.
   
    * COMPLETE ENERGY
      
      Brain and body boost without the crash.
   
    * Shop AllComplete MealComplete ProteinComplete EnergyVariety / Sampler
      Packs

 * Powders
   

    * SOYLENT POWDER
      
      Scoop, shake, go! Complete meal. Goodbye hunger.
   
    * BLENDER BOTTLE
      
      Every great meal needs a great vessel.
   
    * POWDER SCOOP
      
      Who wants to measure? Scoop and go!
   
    * Shop AllGift Cards

 * Bars
 * MERCH
 * Shop All
 * Learn
   

    * INSIGHTS
      
      Do your research? We do!
   
    * STORY
      
      Where we started. Where we are going.
   
    * SCIENCE
      
      What's inside and why?
   
    * MISSION
      
      Do good. Give back. Save the planet.

 * Store Locator

 * United States
 * Canada
 * Global


SOYLENT

Soylent
 * Drinks
   
   COMPLETE MEAL
   
   No time, no problem! Complete, drinkable meal.
   
   
   
   COMPLETE PROTEIN
   
   Smooth and creamy high protein + nutrition.
   
   
   
   COMPLETE ENERGY
   
   Brain and body boost without the crash.
   
   Shop AllComplete MealComplete ProteinComplete EnergyVariety / Sampler Packs
   close
 * Powders
   
   SOYLENT POWDER
   
   Scoop, shake, go! Complete meal. Goodbye hunger.
   
   
   
   BLENDER BOTTLE
   
   Every great meal needs a great vessel.
   
   
   
   POWDER SCOOP
   
   Who wants to measure? Scoop and go!
   
   Shop AllGift Cards
   close
 * Bars
 * MERCH
 * Shop All
 * Learn
   
   INSIGHTS
   
   Do your research? We do!
   
   
   
   STORY
   
   Where we started. Where we are going.
   
   
   
   SCIENCE
   
   What's inside and why?
   
   
   
   MISSION
   
   Do good. Give back. Save the planet.
   
   close

 * Store Locator

 *  * United States
    * Canada
    * Global

 * Account
 * 0

 * Account
 * 0


COMPLETE NUTRITION. SCIENCE-BACKED AND SUSTAINABLE.

When there is no time, grab a Soylent and have a nutritious meal that is as easy
as it is delicious!
Shop now


FIND YOUR PERFECT SOYLENT

Drinks Powder Squared Merch

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 

No time, no problem! Grab a complete, nutritious meal that is as healthy as it
is tasty!

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT DRINK CREAMY CHOCOLATE

12 bottles
4.6
Rated 4.55 out of 5 stars
925 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$37.05

(/)

($3.09/bottle)

One-Time Purchase
$42.00

(/)

($3.50/bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$37.05

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.78%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT CAFE MOCHA COFFEE PROTEIN SHAKE

12 bottles
4.2
Rated 4.24 out of 5 stars
306 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$37.05

(/)

($3.09/Bottle)

One-Time Purchase
$42.00

(/)

($3.50/Bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$37.05

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.78%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT DRINK MINT CHOCOLATE

12 bottles
4.6
Rated 4.6 out of 5 stars
513 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$37.05

(/)

($3.09/bottle)

One-Time Purchase
$42.00

(/)

($3.50/bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$37.05

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.78%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT DRINK ORIGINAL

12 bottles
4.3
Rated 4.26 out of 5 stars
1068 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$32.30

(/)

($2.69/bottle)

One-Time Purchase
$42.00

(/)

($3.50/bottle)

(/)

Deliver Every:

Deliver Every:
15 day 30 day 45 day 60 day

- +
$32.30

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 23.10%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT CAFE CHAI

12 bottles
4.5
Rated 4.47 out of 5 stars
158 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$37.05

(/)

($3.09/Bottle)

One-Time Purchase
$42.00

(/)

($3.50/Bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$37.05

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.78%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT DRINK VANILLA

12 bottles
4.2
Rated 4.16 out of 5 stars
362 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$37.05

(/)

($3.09/bottle)

One-Time Purchase
$42.00

(/)

($3.50/bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$37.05

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.78%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT NEAPOLITAN VARIETY PACK

12 bottles
4.2
Rated 4.19 out of 5 stars
276 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$40.79

(/)

($3.40/bottle)

One-Time Purchase
$46.00

(/)

($3.83/bottle)

(/)

Deliver Every:

Deliver Every:
15 day 30 day 45 day 60 day

- +
$40.79

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.33%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT COMPLETE PROTEIN CHOCOLATE

12 bottles
4.6
Rated 4.57 out of 5 stars
70 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$29.70

(/)

($2.48/Bottle)

One-Time Purchase
$33.00

(/)

($2.75/Bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$29.70

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 10.00%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT COMPLETE ENERGY CHOCOLATE

12 bottles
4.3
Rated 4.26 out of 5 stars
258 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$29.70

(/)

($2.48/Bottle)

One-Time Purchase
$33.00

(/)

($2.75/Bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$29.70

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 10.00%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT CHOCOLATE LOVER'S VARIETY PACK

12 bottles
4.4
Rated 4.43 out of 5 stars
21 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$40.79

(/)

($3.40/bottle)

One-Time Purchase
$46.00

(/)

($3.83/bottle)

(/)

Deliver Every:

Deliver Every:
15 day 30 day 45 day 60 day

- +
$40.79

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.33%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT DRINK STRAWBERRY

12 bottles
4.3
Rated 4.26 out of 5 stars
1068 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$37.05

(/)

($3.09/bottle)

One-Time Purchase
$42.00

(/)

($3.50/bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$37.05

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.78%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT DRINK BANANA

12 bottles
4.3
Rated 4.27 out of 5 stars
311 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$37.05

(/)

($3.09/bottle)

One-Time Purchase
$42.00

(/)

($3.50/bottle)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$37.05

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.78%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT SAMPLER VARIETY PACK

12 bottles
4.7
Rated 4.74 out of 5 stars
23 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$40.79

(/)

($3.40/bottle)

One-Time Purchase
$46.00

(/)

($3.83/bottle)

(/)

Deliver Every:

Deliver Every:
15 day 30 day 45 day 60 day

- +
$40.79

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 11.33%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 

 * 1/14
 * 2/14
 * 3/14
 * 4/14
 * 5/14

Scoop, shake, go! Just add water to create a smooth and delicious, complete
nutrition shake!

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT POWDER - ORIGINAL

7 Pouches/case
4.6
Rated 4.61 out of 5 stars
367 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$52.50

(/)

($1.50/Meal)

One-Time Purchase
$64.00

(/)

($1.83/Meal)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$52.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 17.97%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT POWDER - CACAO

7 Pouches/case
4.4
Rated 4.37 out of 5 stars
606 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$52.50

(/)

($1.50/meal)

One-Time Purchase
$64.00

(/)

($1.83/meal)

(/)

Deliver Every:

Deliver Every:
15 Days 30 Days 45 Days 60 Days

- +
$52.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 17.97%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 
 * 1/3

A delicious and healthy snack you can take anywhere!

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT SQUARED CHOCOLATE BROWNIE

24 Squares
4.3
Rated 4.27 out of 5 stars
187 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$22.50

(/)

($0.94/Square)

One-Time Purchase
$25.00

(/)

($1.04/Square)

(/)

Deliver Every:

Deliver Every:
30 Days 60 Days

- +
$22.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 10.00%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT SQUARED PEANUT BUTTER CHOCOLATE CHIP

24 Squares
4.1
Rated 4.13 out of 5 stars
16 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

Subscribe & Save
$22.50

(/)

($0.94/Square)

One-Time Purchase
$25.00

(/)

($1.04/Square)

(/)

Deliver Every:

Deliver Every:
30 Days 60 Days

- +
$22.50

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

Subscribe & Save 10.00%
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 
 * 1/3

Swag for the ultimate Soylenteer!

Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

Deliver Every:


- +

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

 


SOYLENT T-SHIRT - BLACK #1

0.0
Rated 0 out of 5 stars
No Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$25.00

(/)

Deliver Every:


XS S M L XL
- +
$25.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

   


SOYLENT PORTABLE BLENDER BOTTLE

5
Rated 5 out of 5 stars
1 Review
Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$15.00

(/)

Deliver Every:


- +
$15.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

   


PLASTIC POWDER SCOOP

4.4
Rated 4.37 out of 5 stars
606 Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$2.00

(/)

Deliver Every:


- +
$2.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

   


SOYLENT HAT

0.0
Rated 0 out of 5 stars
No Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$25.00

(/)

Deliver Every:


- +
$25.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

   


SOYLENT T-SHIRT - BLACK #2

0.0
Rated 0 out of 5 stars
No Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$25.00

(/)

Deliver Every:


XS S M L XL
- +
$25.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

   


SOYLENT LIGHTWEIGHT HOODIE

0.0
Rated 0 out of 5 stars
No Reviews
Subscribe & Save

(/)

One-Time Purchase

(/)

(/)

$45.00

(/)

Deliver Every:


XS S M L XL
- +
$45.00

Add to Cart

Sold Out

Subscribe & Save %
| Why Subscribe?

Not only will you get free shipping, but you’re able to manage your subscription
at any time.

   

 * 1/7
 * 2/7
 * 3/7

Shop All

WHY SOYLENT?

You want to be healthy, you don't have extra time and you don't want to harm the
planet. We get it. We create products that deliver complete nutrition in
convenient formats so you can get your fill anywhere, anytime, all while
maintaining a clear conscience!

PLANT-BASED PROTEIN

VITAMIN & MINERALS

SLOW BURNING CARBS

HEALTHY FATS

LEARN MOREShop Now



PERKS OF SUBSCRIBING


EXCLUSIVE SUBSCRIBER SAVINGS

Subscribing will save you time and money! Save up to 17% on your purchase when
you subscribe with the freedom to cancel any time!


CUSTOMIZE YOUR SUBSCRIPTION

Set up your subscription to meet your unique needs. Curate the perfect mix of
shakes, bars and powders and know they will arrive at your door each month!


COMPLETE CONTROL & FLEXIBILITY

You can update your delivery frequency (between 15 and 60 days), change products
and even pause or cancel your subscription with the click of a button. You are
in control.
subscribe today


GOOD FOR YOU, GOOD FOR THE PLANET.


COMPLETE NUTRITION

Soylent products help you meet your daily and weekly nutritonal goals. Our
products can both stand in for complete meals as well as fill your nutrition
gaps as snacks, supplements, and beyond!


SUSTAINABILITY

Soylent supports sustainable agriculture and employs best practices to reduce
our carbon footprint across our entire supply chain.


SCIENCE-BASED

Every ingredient in our products is backed by science and carefully selected for
specific and synergistic functional benefits.


AFFORDABILITY

We believe that everyone has the right to nutritious meals and are committed to
having products that are affordable and accessible to all.


OVER 5 MILLION MEALS DONATED THROUGH #SOYLENTFORGOOD!

5,043,608

Learn more


SOYLENT PRODUCTS FIT YOUR LIFESTYLE


READY TO DRINK MEALS


EASY TO MIX POWDERS


ON THE GO BARS


PEOPLE LOVE SOYLENT

"Absolutely delicious, best meal replacement drink I've ever tasted. Tastes like
melted chocolate ice cream!"

ERICA

"Delicious chocolate flavor and very filling. Definitely don't get tired of this
one."

NATE

"I have bought this product again and again. I drink it every morning and have
done so for three years!"

LEE

"Love this drink for early mornings. Tastes great and fills me up."

KEVIN


 * 01/04
 * 02/04
 * 03/04
 * 04/04

RATHER GRAB A SOYLENT IN A STORE?

Whether you’d like to try a single bottle, our retail exclusive 11oz 4packs, or
just a new flavor — a Soylent is waiting around the corner for you.

Find soylent near you

“This is the most recent display of how the seven-year-old food tech start-up is
shaking things up.”
"Who are meal replacements like Soylent for? Me, for one."
"I've Eaten Soylent for 3 years. Here's how it changed me."
"Best Invention - Soylent Squared"

FOLLOW US @SOYLENT

Tag us on Instagram for a chance to be featured!



LEARN MORE

 * Insights
 * Press
 * FAQ
 * Gift Gards
 * Discount Programs


SUPPORT

 * Contact
 * Find a Store
 * Careers


SOCIAL

 * Instagram
 * Tiktok
 * Twitter
 * Reddit
 * Linkedin
 * Facebook

SIGN UP FOR OUR NEWSLETTER TO STAY UP TO DATE ON PRODUCT LAUNCHES, PROMOTIONS,
AND ALL THINGS SOYLENT!


Email

SIGN UP
soylent logo
 * Terms & Conditions
 * Privacy Policy
 * Accessibility Statement
 * Do Not Sell My Personal Information
 * Manage Cookies

Copyright © 2021, Soylent


YOUR CART

Your bag is empty

Search








PRIVACY PREFERENCE CENTER




 * YOUR PRIVACY


 * STRICTLY NECESSARY COOKIES


 * PERFORMANCE COOKIES


 * FUNCTIONAL COOKIES


 * TARGETING COOKIES

YOUR PRIVACY

When you visit any website, it may store or retrieve information on your
browser, mostly in the form of cookies. This information might be about you,
your preferences or your device and is mostly used to make the site work as you
expect it to. The information does not usually directly identify you, but it can
give you a more personalized web experience. Because we respect your right to
privacy, you can choose not to allow some types of cookies. Click on the
different category headings to find out more and change our default settings.
However, blocking some types of cookies may impact your experience of the site
and the services we are able to offer.
More information

STRICTLY NECESSARY COOKIES

Always Active

These cookies are necessary for the website to function and cannot be switched
off in our systems. They are usually only set in response to actions made by you
which amount to a request for services, such as setting your privacy
preferences, logging in or filling in forms. You can set your browser to block
or alert you about these cookies, but some parts of the site will not then work.
These cookies do not store any personally identifiable information.

PERFORMANCE COOKIES

Performance Cookies


These cookies allow us to count visits and traffic sources so we can measure and
improve the performance of our site. They help us to know which pages are the
most and least popular and see how visitors move around the site. All
information these cookies collect is aggregated and therefore anonymous. If you
do not allow these cookies we will not know when you have visited our site, and
will not be able to monitor its performance.

FUNCTIONAL COOKIES

Functional Cookies


These cookies enable the website to provide enhanced functionality and
personalisation. They may be set by us or by third party providers whose
services we have added to our pages. If you do not allow these cookies then some
or all of these services may not function properly.

TARGETING COOKIES

Targeting Cookies


These cookies may be set through our site by our advertising partners. They may
be used by those companies to build a profile of your interests and show you
relevant adverts on other sites. They do not store directly personal
information, but are based on uniquely identifying your browser and internet
device. If you do not allow these cookies, you will experience less targeted
advertising.

Back Button Back



Vendor Search
Filter Button
Consent Leg.Interest
checkbox label label
checkbox label label
checkbox label label

Clear
checkbox label label
Apply Cancel
Confirm My Choices
Allow All



MANAGE MY DATA PREFERENCES

By clicking “Accept All Cookies”, you agree to the storing of cookies on your
device to enhance site navigation, analyze site usage, and assist in our
marketing efforts.

Cookies Settings Accept All Cookies





We have a store specifically for Canada customers Go Stay here