<commit_before><script>
gtag('event', 'checkout_progress', {
  "items": [
<repeat group="{{ @items }}" value="{{ @item }}" counter="{{ @index }}">
<check if="{{ @index > 1 }}">,</check>
{
  'id': "p{{ @item.product_id }}",
  'name': "{{ @item.product_name }}",
  'brand': "{{ @item.brand_name }}",
  'variant': "{{ @item.code }}",
  'quantity': "{{ @item.quantity }}",
  'price': "{{ @item.sale_price }}",
}
</repeat>
  ]
});
</script>
  <div class="panel panel-default">
    <div class="panel-heading">
      <h3 class="panel-title">
        Shipping Address
      </h3>
    </div>
    <div class="panel-body">
      <check if="!@CAN_PICKUP">
        <true>
          <p>
            <strong>Where do you want to us to ship the order?</strong>
            We can ship it to any physical address in the United States.
            (Sorry, no PO Boxes and we don't ship internationally.)
          </p>
        </true>
        <false>
          <p>
            <strong>Where do you want to us to ship the order?</strong>
            We can have your order prepared for pick-up at the store, or
            we can ship it anywhere in the United States. (Sorry, we don't ship
            internationally.)
          </p>

          <p>
            <form method="POST"
                  action="{{ @BASE }}/cart/set-in-store-pickup">
              <button type="submit" class="btn btn-primary btn-block">
                <i class="fa fa-building"></i> Pick it up at the store!
              </button>
            </form>
          </p>

          <p>
            You will be contacted when your pick-up is ready. Current pickup
            hours are Tuesday through Saturday between noon and 3pm.
          </p>

          <check if="{{ @shipping_status == 'special_order' }}">
            <div class="alert alert-danger">
              We will contact you via email to give you an estimated date when
              your special order item(s) will be ready for pickup.
            </div>
          </check>

          <check if="{{ @shipping_status == 'stock_limited' }}">
            <div class="alert alert-danger">
              We will contact you via email to give you an estimated date when
              your out of stock item(s) will be ready for pickup.
            </div>
          </check>

          <hr>
        </false>
      </check>

      <check if="@ADDRESS_NOT_VERIFIED">
        <div class="alert alert-danger">
          <strong>We were unable to verify that shipping address.</strong>
          <ul>
            <repeat group="{{ @verifications }}" value="{{ @data }}">
              <li>{{ @data.message }}</li>
            </repeat>
          </ul>
        </div>
      </check>

      <form method="POST" action="{{ @BASE }}/cart/set-address">
        <div class="row">

          <div class="form-group col-sm-12">
            <label for="name">Name</label>
            <input type="text" class="form-control" name="name" required
                   autocomplete="name"
                   placeholder="<NAME>"
                   value="{{ @shipping_address.name }}">
          </div>

          <div class="form-group col-sm-12">
            <label for="company">Company (optional)</label>
            <input type="text" class="form-control" name="company"
                   autocomplete="organization"
                   placeholder="(optional)"
                   value="{{ @shipping_address.company }}">
          </div>

          <div class="form-group col-sm-12">
            <label for="phone">Phone (optional)</label>
            <input type="text" class="form-control" name="phone"
                   autocomplete="tel-national"
                   placeholder="213-627-7223"
                   value="{{ @shipping_address.phone }}">
          </div>

          <div class="form-group col-sm-12">
            <label for="address1">Address</label><commit_msg>Require phone with shipping address<commit_after><script>
gtag('event', 'checkout_progress', {
  "items": [
<repeat group="{{ @items }}" value="{{ @item }}" counter="{{ @index }}">
<check if="{{ @index > 1 }}">,</check>
{
  'id': "p{{ @item.product_id }}",
  'name': "{{ @item.product_name }}",
  'brand': "{{ @item.brand_name }}",
  'variant': "{{ @item.code }}",
  'quantity': "{{ @item.quantity }}",
  'price': "{{ @item.sale_price }}",
}
</repeat>
  ]
});
</script>
  <div class="panel panel-default">
    <div class="panel-heading">
      <h3 class="panel-title">
        Shipping Address
      </h3>
    </div>
    <div class="panel-body">
      <check if="!@CAN_PICKUP">
        <true>
          <p>
            <strong>Where do you want to us to ship the order?</strong>
            We can ship it to any physical address in the United States.
            (Sorry, no PO Boxes and we don't ship internationally.)
          </p>
        </true>
        <false>
          <p>
            <strong>Where do you want to us to ship the order?</strong>
            We can have your order prepared for pick-up at the store, or
            we can ship it anywhere in the United States. (Sorry, we don't ship
            internationally.)
          </p>

          <p>
            <form method="POST"
                  action="{{ @BASE }}/cart/set-in-store-pickup">
              <button type="submit" class="btn btn-primary btn-block">
                <i class="fa fa-building"></i> Pick it up at the store!
              </button>
            </form>
          </p>

          <p>
            You will be contacted when your pick-up is ready. Current pickup
            hours are Tuesday through Saturday between noon and 3pm.
          </p>

          <check if="{{ @shipping_status == 'special_order' }}">
            <div class="alert alert-danger">
              We will contact you via email to give you an estimated date when
              your special order item(s) will be ready for pickup.
            </div>
          </check>

          <check if="{{ @shipping_status == 'stock_limited' }}">
            <div class="alert alert-danger">
              We will contact you via email to give you an estimated date when
              your out of stock item(s) will be ready for pickup.
            </div>
          </check>

          <hr>
        </false>
      </check>

      <check if="@ADDRESS_NOT_VERIFIED">
        <div class="alert alert-danger">
          <strong>We were unable to verify that shipping address.</strong>
          <ul>
            <repeat group="{{ @verifications }}" value="{{ @data }}">
              <li>{{ @data.message }}</li>
            </repeat>
          </ul>
        </div>
      </check>

      <form method="POST" action="{{ @BASE }}/cart/set-address">
        <div class="row">

          <div class="form-group col-sm-12">
            <label for="name">Name</label>
            <input type="text" class="form-control" name="name" required
                   autocomplete="name"
                   placeholder="<NAME>"
                   value="{{ @shipping_address.name }}">
          </div>

          <div class="form-group col-sm-12">
            <label for="company">Company (optional)</label>
            <input type="text" class="form-control" name="company"
                   autocomplete="organization"
                   placeholder="(optional)"
                   value="{{ @shipping_address.company }}">
          </div>

          <div class="form-group col-sm-12">
            <label for="phone">Phone</label>
            <input type="text" class="form-control" name="phone" required
                   autocomplete="tel-national"
                   placeholder="213-627-7223"
                   value="{{ @shipping_address.phone }}">
          </div>

          <div class="form-group col-sm-12">
            <label for="address1">Address</label>
{'fraction_non_alphanumeric': 0.15161621344279116, 'fraction_numerical': 0.005900461775269369, 'mean_word_length': 1.7757208971164116, 'pattern_counts': {'":': 2, '<': 159, '<?xml version=': 0, '>': 161, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2738523', 'n_tokens_mistral': 2231, 'n_tokens_neox': 2122, 'n_words': 631}