- Katılım
- 13 Ağu 2009
- Mesajlar
- 3,200
- Tepkime puanı
- 1
- Puanları
- 38
- Yaş
- 40
- Konum
- Bursa
- Web sitesi
- www.opencart-tr.com
Hata: Notice: Undefined index: postcode_required hatası
catalog/view/theme/default/template/checkout/address.tpl
BUL
	
	
	
		
DEĞİŞTİR
	
	
	
		
Hata: Müşteri kasaya git de Ödeme ve Kargo adresini değiştirmek istidğinde "Aradığınız sayfa bulunamadı" hatası görüntülenmesi
Bu değişikliği kontrol edemedim. Resmi sitede olduğu şekilde ekledim.
1. catalog/controller/checkout/address.php
2. catalog/controller/checkout/guest_step_1.php
3. catalog/controller/account/address.php
4. catalog/controller/account/create.php
BUL
	
	
	
		
DEĞİŞTİR
	
	
	
		
			
			catalog/view/theme/default/template/checkout/address.tpl
BUL
		PHP:
	
	$('#postcode').load('index.php?route=checkout/create/postcode&country_id=<?php echo $country_id; ?>');DEĞİŞTİR
		PHP:
	
	$('#postcode').load('index.php?route=checkout/address/postcode&country_id=<?php echo $country_id; ?>');Hata: Müşteri kasaya git de Ödeme ve Kargo adresini değiştirmek istidğinde "Aradığınız sayfa bulunamadı" hatası görüntülenmesi
Bu değişikliği kontrol edemedim. Resmi sitede olduğu şekilde ekledim.
1. catalog/controller/checkout/address.php
2. catalog/controller/checkout/guest_step_1.php
3. catalog/controller/account/address.php
4. catalog/controller/account/create.php
BUL
		PHP:
	
	if ($result['postcode_required']) {
        	$output = '<span class="required">*</span> ' . $this->language->get('entry_postcode');
		} else {
			$output = $this->language->get('entry_postcode');
		}
		$this->response->setOutput($output, $this->config->get('config_compression'));
	}DEĞİŞTİR
		PHP:
	
	$postcodeRequired = (count($result) > 0) ? $result['postcode_required'] : 0;
                if ($postcodeRequired) {
                        $output = '<span class="required">*</span> ' . $this->language->get('entry_postcode');
                } else {
                        $output = $this->language->get('entry_postcode');
                }
                $this->response->setOutput($output, $this->config->get('config_compression'));
        } 
				 
 
		 
 
		