Bilgi formunu genişletmek

brskhrmn

OpenCart-TR
Katılım
16 Şub 2011
Mesajlar
39
Tepkime puanı
0
Puanları
0
misafir sipariş formundaki bilgi kutucuklarını nasıl genişletebilirim? biraz daha uzamasını istiyorum..

2j5hs1d.jpg
 

Gökhan TAYLAN

OpenCart-TR
Katılım
14 Tem 2010
Mesajlar
826
Tepkime puanı
0
Puanları
16
Konum
İzmir
site içerisinde bu konuda bilgiler mevcut öncelikle araştırmanızı öneriyorum :

catalog/view/theme/temaadınız/template/checkout/guest_step_1.tpl

<td><input type="text" size="50" name="firstname" value="<?php echo $firstname; ?>" />

size="50" değerini istediğiniz gibi değiştirin ben ekledim
 

brskhrmn

OpenCart-TR
Katılım
16 Şub 2011
Mesajlar
39
Tepkime puanı
0
Puanları
0
kullandığım temanın guest_step_1.tpl dosyasında öyle bir kod yok ne yazık ki. hatta "size" geçen bir kod bile yok.

Kod:
      <!-- start shipping address -->
  <div id="shipping_details">
      <b style="margin-bottom: 2px; display: block;"><?php echo $text_shipping_address; ?></b>
      <div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-bottom: 10px;">
      <table>
          <tr>
            <td width="150"><span class="required">*</span> <?php echo $entry_firstname; ?></td>
            <td><input type="text" name="shipping_firstname" value="<?php echo $shipping_firstname; ?>" />
              <?php if ($error_shipping_firstname) { ?>
              <span class="error"><?php echo $error_shipping_firstname; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_lastname; ?></td>
            <td><input type="text" name="shipping_lastname" value="<?php echo $shipping_lastname; ?>" />
              <?php if ($error_shipping_lastname) { ?>
              <span class="error"><?php echo $error_shipping_lastname; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td width="150"><?php echo $entry_company; ?></td>
            <td><input type="text" name="shipping_company" value="<?php echo $shipping_company; ?>" /></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_address_1; ?></td>
            <td><input type="text" name="shipping_address_1" value="<?php echo $shipping_address_1; ?>" />
              <?php if ($error_shipping_address_1) { ?>
              <span class="error"><?php echo $error_shipping_address_1; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td><?php echo $entry_address_2; ?></td>
            <td><input type="text" name="shipping_address_2" value="<?php echo $shipping_address_2; ?>" /></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_city; ?></td>
            <td><input type="text" name="shipping_city" value="<?php echo $shipping_city; ?>" />
              <?php if ($error_shipping_city) { ?>
              <span class="error"><?php echo $error_shipping_city; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td id="shipping_postcode"><?php echo $entry_postcode; ?></td>
            <td><input type="text" name="shipping_postcode" value="<?php echo $shipping_postcode; ?>" />
			  <?php if ($error_shipping_postcode) { ?>
              <span class="error"><?php echo $error_shipping_postcode; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_country; ?></td>
            <td><select name="shipping_country_id" id="shipping_country_id" onchange="$('select[name=\'shipping_zone_id\']').load('index.php?route=checkout/guest_step_1/zone&country_id=' + this.value + '&zone_id=<?php echo $shipping_zone_id; ?>'); $('#shipping_postcode').load('index.php?route=checkout/guest_step_1/postcode&country_id=' + this.value);">
                <option value="FALSE"><?php echo $text_select; ?></option>
                <?php foreach ($countries as $country) { ?>
                <?php if ($country['country_id'] == $shipping_country_id) { ?>
                <option value="<?php echo $country['country_id']; ?>" selected="selected"><?php echo $country['name']; ?></option>
                <?php } else { ?>
                <option value="<?php echo $country['country_id']; ?>"><?php echo $country['name']; ?></option>
                <?php } ?>
                <?php } ?>
              </select>
              <?php if ($error_shipping_country) { ?>
              <span class="error"><?php echo $error_shipping_country; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_zone; ?></td>
            <td><select name="shipping_zone_id">
              </select>
              <?php if ($error_shipping_zone) { ?>
              <span class="error"><?php echo $error_shipping_zone; ?></span>
              <?php } ?></td>
          </tr>
        </table>
      </div>
      </div>
      <!-- end shipping address -->

kodlar bu şekilde.. 150 lik bölümleri değiştiriyorm ancak bir değişim olmuyor..
 

mirac

OpenCart-TR
Katılım
7 Şub 2010
Mesajlar
1,383
Tepkime puanı
0
Puanları
36
Yaş
42
Konum
Beykoz____
Web sitesi
www.notebook-cantasi.com
Yoksa arkadaşın dediği gibi eklemeniz gerekiyor.. İlgili dosyadaki kodlarda alttaki değişiklikleri yapmayı deneyin..

Bul..
Kod:
<td><input type="text"

Değiştir..
Kod:
<td><input size="50" type="text"
 

EnverYigit

OpenCart-TR
Katılım
15 Ara 2011
Mesajlar
199
Tepkime puanı
0
Puanları
0
Yaş
32
Merhabalar,
Adres satırını 2-3 satır olarak nasıl yapabiliriz. Teşekkürler..
 
Üst