123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?php
- /**
- * FecShop file.
- *
- * @link http://www.fecshop.com/
- * @copyright Copyright (c) 2016 FecShop Software LLC
- * @license http://www.fecshop.com/license/
- */
- ?>
- <?php $address_list = $parentThis['address_list']; ?>
- <?php $cart_address_id = $parentThis['cart_address_id']; ?>
- <?php $country_select = $parentThis['country_select']; ?>
- <?php $state_html = $parentThis['state_html']; ?>
- <?php $cart_address = $parentThis['cart_address']; ?>
- <div id="billing_address">
- <ul>
- <li>
- <p class="onestepcheckout-numbers onestepcheckout-numbers-1"><?= Yii::$service->page->translate->__('Shipping Address');?></p>
- </li>
- <li>
- <div>
- <ul id="billing_address_list" class="billing_address_list_new" style="">
- <li class="clearfix">
- <div class="input-box input-firstname">
- <label for="billing:firstname"><?= Yii::$service->page->translate->__('First Name');?><span class="required">*</span></label>
- <input value="<?= $cart_address['first_name'] ?>" id="billing:firstname" name="billing[first_name]" class="required-entry input-text" type="text">
- </div>
- <div class="input-box input-lastname">
- <label for="billing:lastname"><?= Yii::$service->page->translate->__('Last Name');?> <span class="required">*</span></label>
- <input value="<?= $cart_address['last_name'] ?>" id="billing:lastname" name="billing[last_name]" class="required-entry input-text" type="text">
- </div>
- <div class="clear"></div>
- </li>
- <li class="clearfix">
- <div class=" input-box input-email">
- <label for="billing:email"><?= Yii::$service->page->translate->__('Email Address');?> <span class="required">*</span></label>
- <input value="<?= $cart_address['email'] ?>" class="validate-email required-entry input-text" title="Email Address" id="billing:email" name="billing[email]" type="text">
- <div class="customer_email_validation">
-
- </div>
- </div>
- </li>
- <li>
- <div class="input-box input-telephone">
- <label for="billing:telephone"><?= Yii::$service->page->translate->__('Telephone');?> <span class="required">*</span></label>
- <input value="<?= $cart_address['telephone'] ?>" id="billing:telephone" class="required-entry input-text" title="Telephone" name="billing[telephone]" type="text">
- </div>
- </li>
- <li class="clearfix">
- <div class="input-box input-address">
- <label for="billing:street1"><?= Yii::$service->page->translate->__('Street');?><span class="required">*</span></label>
- <input value="<?= $cart_address['street1'] ?>" class="required-entry input-text onestepcheckout-address-line" id="billing:street1" name="billing[street1]" title="Street Address 1" type="text">
-
- <input value="<?= $cart_address['street2'] ?>" class="input-text onestepcheckout-address-line" id="billing:street2" name="billing[street2]" title="Street Address 2" type="text">
- </div>
- </li>
- <li class="clearfix">
- <div class="input-box input-country">
- <label for="billing:country"><?= Yii::$service->page->translate->__('Country');?> <span class="required">*</span></label>
- <select title="Country" class="billing_country validate-select" id="billing:country" name="billing[country]">
- <?= $country_select ?>
- </select>
- </div>
- </li>
- <li class="clearfix">
- <div class="input-box input-state"><label for="billing:state" class="required"><?= Yii::$service->page->translate->__('State');?><span class="required">*</span></label>
- <div class="state_html">
- <?= $state_html ?>
- </div>
- </div>
- </li>
- <li class="clearfix">
- <div class="input-box input-city">
- <label for="billing:city"><?= Yii::$service->page->translate->__('City');?> <span class="required">*</span></label>
- <input value="<?= $cart_address['city'] ?>" id="billing:city" class="required-entry input-text" title="City" name="billing[city]" type="text">
- </div>
- </li>
- <li class="clearfix">
- <div class="input-box input-zip">
- <label for="billing:zip"><?= Yii::$service->page->translate->__('Zip Code');?> <span class="required">*</span></label>
- <input value="<?= $cart_address['zip'] ?>" class="validate-zip-international required-entry input-text" id="billing:zip" name="billing[zip]" title="Zip Code" type="text">
- </div>
- </li>
- <?php if(!Yii::$app->user->isGuest): ?>
-
- <?php else: ?>
- <li class="clearfix">
- <div class="input-box">
- <input value="1" name="create_account" id="id_create_account" type="checkbox">
- <label style="display:inline" for="id_create_account"><?= Yii::$service->page->translate->__('Create an account for later use');?></label>
- </div>
- <div class="label_create_account">
-
- </div>
- </li>
- <li style="display: none;" id="onestepcheckout-li-password">
- <div class="input-box input-password">
- <label for="billing:customer_password"><?= Yii::$service->page->translate->__('Password');?></label>
- <input name="billing[customer_password]" id="billing:customer_password" title="Password" value="" class="validate-password input-text customer_password" type="password">
- </div>
- <div class="input-box input-password">
- <label for="billing:confirm_password"><?= Yii::$service->page->translate->__('Confirm Password');?></label>
- <input name="billing[confirm_password]" title="Confirm Password" id="billing:confirm_password" value="" class="validate-password input-text customer_confirm_password" type="password">
- </div>
- </li>
- <?php endif; ?>
- </ul>
- </div>
- </li>
- </ul>
- </div>
|