Üye Ol Sayfasından Adres Bilgilerini Kaldırmak

FatalCode

OpenCart-TR
Katılım
13 Haz 2010
Mesajlar
4
Tepkime puanı
0
Puanları
0
Sistemi farklı işde kullanıcam. Ürünler online olarak teslim edilcek o yuzden üye olurken adres bilgilerini kaldırmak ve sipariş verirken kargolanacak adresi seçin bölümünü nasıl kaldırabilirim?
 

admin

Administrator
Yönetici
Katılım
13 Ağu 2009
Mesajlar
3,200
Tepkime puanı
1
Puanları
38
Yaş
38
Konum
Bursa
Web sitesi
www.opencart-tr.com
RE: Üye oluşda adres bilgilerini kaldırmak

Adres bilgileri fatura için gereklidir. Kargo adresini kaldırmak için ürünü eklerken kargo gerekli kısmını hayır yapın.
 

FatalCode

OpenCart-TR
Katılım
13 Haz 2010
Mesajlar
4
Tepkime puanı
0
Puanları
0
RE: Üye oluşda adres bilgilerini kaldırmak

eka7a' Alıntı:
Adres bilgileri fatura için gereklidir. Kargo adresini kaldırmak için ürünü eklerken kargo gerekli kısmını hayır yapın.

Dediğim gibi farklı bi işde kullanıcam siteyi. O yüzden adresede faturayada gerek yok.

Üye olurken ve siparişi verirkenki karşıma çıkan adres bölümlerini kaldırmak istiyorum.

Teslimatlar online olucak.
 

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
RE: Üye oluşda adres bilgilerini kaldırmak

catalog\view\theme\Kullandığın Tema\template\account\create.tpl

Bul ve Sil..
Kod:
      <b style="margin-bottom: 2px; display: block;"><?php echo $text_your_address; ?></b>
      <div style="background: #F9F9F9; border: 1px solid #E9E9E9; padding: 10px; margin-bottom: 10px;">
        <table>
          <tr>
            <td width="150"><?php echo $entry_company; ?></td>
            <td><input type="text" name="company" value="<?php echo $company; ?>" /></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_address_1; ?></td>
            <td><input type="text" name="address_1" value="<?php echo $address_1; ?>" />
              <?php if ($error_address_1) { ?>
              <span class="error"><?php echo $error_address_1; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td><?php echo $entry_address_2; ?></td>
            <td><input type="text" name="address_2" value="<?php echo $address_2; ?>" /></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_city; ?></td>
            <td><input type="text" name="city" value="<?php echo $city; ?>" />
              <?php if ($error_city) { ?>
              <span class="error"><?php echo $error_city; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td><?php echo $entry_postcode; ?></td>
            <td><input type="text" name="postcode" value="<?php echo $postcode; ?>" /></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_country; ?></td>
            <td><select name="country_id" id="country_id" onchange="$('select[name=\'zone_id\']').load('index.php?route=account/create/zone&country_id=' + this.value + '&zone_id=<?php echo $zone_id; ?>');">
                <option value="FALSE"><?php echo $text_select; ?></option>
                <?php foreach ($countries as $country) { ?>
                <option value="<?php echo $country['country_id']; ?>"><?php echo $country['name']; ?></option>
                <?php } ?>
              </select>
              <?php if ($error_country) { ?>
              <span class="error"><?php echo $error_country; ?></span>
              <?php } ?></td>
          </tr>
          <tr>
            <td><span class="required">*</span> <?php echo $entry_zone; ?></td>
            <td><select name="zone_id">
              </select>
              <?php if ($error_zone) { ?>
              <span class="error"><?php echo $error_zone; ?></span>
              <?php } ?></td>
          </tr>
        </table>
      </div>


catalog\controller\account\create.php Aç..


Bul ve Sil..
Kod:
    	if ((strlen(utf8_decode($this->request->post['address_1'])) < 3) || (strlen(utf8_decode($this->request->post['address_1'])) > 128)) {
      		$this->error['address_1'] = $this->language->get('error_address_1');
    	}

    	if ((strlen(utf8_decode($this->request->post['city'])) < 3) || (strlen(utf8_decode($this->request->post['city'])) > 128)) {
      		$this->error['city'] = $this->language->get('error_city');
    	}

    	if ($this->request->post['country_id'] == 'FALSE') {
      		$this->error['country'] = $this->language->get('error_country');
    	}
		
    	if ($this->request->post['zone_id'] == 'FALSE') {
      		$this->error['zone'] = $this->language->get('error_zone');
    	}
 

jeiceei

OpenCart-TR
Katılım
26 Ocak 2010
Mesajlar
1
Tepkime puanı
0
Puanları
0
RE: Üye oluşda adres bilgilerini kaldırmak

mirac, dediklerini yaptım fakat , üye olurken aşağıdaki hatayı veriyor şimdi.

PHP:
Notice: Undefined index: company in /home/djhasanc/public_html/whowinthegame.com/catalog/model/account/customer.php on line 8Notice: Undefined index: address_1 in /home/djhasanc/public_html/whowinthegame.com/catalog/model/account/customer.php on line 8Notice: Undefined index: address_2 in /home/djhasanc/public_html/whowinthegame.com/catalog/model/account/customer.php on line 8Notice: Undefined index: city in /home/djhasanc/public_html/whowinthegame.com/catalog/model/account/customer.php on line 8Notice: Undefined index: postcode in /home/djhasanc/public_html/whowinthegame.com/catalog/model/account/customer.php on line 8Notice: Undefined index: country_id in /home/djhasanc/public_html/whowinthegame.com/catalog/model/account/customer.php on line 8Notice: Undefined index: zone_id in /home/djhasanc/public_html/whowinthegame.com/catalog/model/account/customer.php on line 8Warning: Cannot modify header information - headers already sent by (output started at /home/djhasanc/public_html/whowinthegame.com/index.php:92) in /home/djhasanc/public_html/whowinthegame.com/system/engine/controller.php on line 27

bu hatayı nasıl düzeltebilirim ?
 

admin

Administrator
Yönetici
Katılım
13 Ağu 2009
Mesajlar
3,200
Tepkime puanı
1
Puanları
38
Yaş
38
Konum
Bursa
Web sitesi
www.opencart-tr.com
RE: Üye oluşda adres bilgilerini kaldırmak

company, address_1 ...... gibi kısımları tpl dosyasından kaldırmamışsınız
 
Üst