Asel Mavi ve Asel Kırmızı temalarım paylaşımda..

metin2008

OpenCart-TR
Katılım
16 Ocak 2011
Mesajlar
75
Tepkime puanı
0
Puanları
0
bende bu şekilde hata verdi
Notice: Undefined index: description in catalog/view/theme/mucitben/template/module/featured_home.tpl on line 24

featurel_home.tpl 24. satırı aşagıdaki gibi

Kod:
<p><?php echo substr(strip_tags(html_entity_decode($products[$j]['description'])),0,80 ).' ...'; ?></p><br />
 

osdem66

OpenCart-TR
Katılım
19 Ağu 2010
Mesajlar
882
Tepkime puanı
0
Puanları
0
Yaş
57
Web sitesi
opencart-themes.org
catalog-controller-featured.php içine

Bunu bul:

Kod:
'description' => $result['description'],

altına bunu ekle

'description' => strip_tags(substr(html_entity_decode($result['description']),0,80))."...",
 

metin2008

OpenCart-TR
Katılım
16 Ocak 2011
Mesajlar
75
Tepkime puanı
0
Puanları
0
/catalog/controller/module/featured.php
dosyasının içinde
Kod:
'description' => $result['description'],
yok


bendeki /catalog/controller/module/featured.php dosyası aşağıda

Kod:
<?php
class ControllerModulefeatured extends Controller {
	protected function index() {
		$this->language->load('module/featured');

      	$this->data['heading_title'] = $this->language->get('heading_title');

		$this->load->model('catalog/product');
		$this->load->model('catalog/review');
		$this->load->model('tool/seo_url');
		$this->load->model('tool/image');

		$this->data['button_add_to_cart'] = $this->language->get('button_add_to_cart');

		$this->data['products'] = array();

		$results = $this->model_catalog_product->getfeaturedProducts($this->config->get('featured_limit'));

		foreach ($results as $result) {
			if ($result['image']) {
				$image = $result['image'];
			} else {
				$image = 'no_image.jpg';
			}

			if ($this->config->get('config_review')) {
				$rating = $this->model_catalog_review->getAverageRating($result['product_id']);
			} else {
				$rating = false;
			}

			$special = FALSE;

			$discount = $this->model_catalog_product->getProductDiscount($result['product_id']);

			if ($discount) {
				$price = $this->currency->format($this->tax->calculate($discount, $result['tax_class_id'], $this->config->get('config_tax')));
			} else {
				$price = $this->currency->format($this->tax->calculate($result['price'], $result['tax_class_id'], $this->config->get('config_tax')));

				$special = $this->model_catalog_product->getProductSpecial($result['product_id']);

				if ($special) {
					$special = $this->currency->format($this->tax->calculate($special, $result['tax_class_id'], $this->config->get('config_tax')));
				}
			}

			$options = $this->model_catalog_product->getProductOptions($result['product_id']);

			if ($options) {
				$add = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/product&product_id=' . $result['product_id']);
			} else {
				$add = HTTPS_SERVER . 'index.php?route=checkout/cart&product_id=' . $result['product_id'];
			}

			$this->data['products'][] = array(
				'product_id'    => $result['product_id'],
				'name'    		=> $result['name'],
				'model'   		=> $result['model'],
				'rating'  		=> $rating,
				'stars'   		=> sprintf($this->language->get('text_stars'), $rating),
				'price'   		=> $price,
				'options'   	=> $options,
				'special' 		=> $special,
				'image'   		=> $this->model_tool_image->resize($image, 38, 38),
				'thumb'   		=> $this->model_tool_image->resize($image, $this->config->get('config_image_product_width'), $this->config->get('config_image_product_height')),
				'href'    		=> $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=product/product&product_id=' . $result['product_id']),
				'add'    		=> $add
			);
		}

		if (!$this->config->get('config_customer_price')) {
			$this->data['display_price'] = TRUE;
		} elseif ($this->customer->isLogged()) {
			$this->data['display_price'] = TRUE;
		} else {
			$this->data['display_price'] = FALSE;
		}

		$this->id = 'featured';

		if ($this->config->get('featured_position') == 'home') {
			$this->data['heading_title'] .= (' ' . $this->language->get('text_products'));
			if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/featured_home.tpl')) {
				$this->template = $this->config->get('config_template') . '/template/module/featured_home.tpl';
			} else {
				$this->template = 'default/template/module/featured_home.tpl';
			}
		} else {
			if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/featured.tpl')) {
				$this->template = $this->config->get('config_template') . '/template/module/featured.tpl';
			} else {
				$this->template = 'default/template/module/featured.tpl';
			}
		}

		$this->render();
	}
}
?>
 

metin2008

OpenCart-TR
Katılım
16 Ocak 2011
Mesajlar
75
Tepkime puanı
0
Puanları
0
osdem66' Alıntı:
61 ile 62 satırlar arasına ekleyiniz..

Allah razı olsun senden sorun düzeldi
birde okubenide yazdığı gibi bende


catalog/controller/language/turkish/common/header php aç

dosyası yok
 

osdem66

OpenCart-TR
Katılım
19 Ağu 2010
Mesajlar
882
Tepkime puanı
0
Puanları
0
Yaş
57
Web sitesi
opencart-themes.org
nasıl yook.. header.php olmaması mümkün degil türkçe dil dosyası o türkçe kurulum yaptıysanız mutlaka vardır...english klaösrü içindeki kullanıyor o zazaman ona bakın..
 

metin2008

OpenCart-TR
Katılım
16 Ocak 2011
Mesajlar
75
Tepkime puanı
0
Puanları
0
ya beim demek istediğim

catalog/controller/language/turkish/common/header php diye bir klasör yok



catalog/language/turkish/common/home.php de
Kod:
$_['text_latest']    = 'Yeni ürünler';

buldum.
onun altına ekledim düzeldi. ama ürün ayrıntılarına girince yine

Kod:
text_num0
diye görünüyor. acaba başka biryerdedemi değişiklik yapmam lazım
 

FatihKuLL

OpenCart-TR
Katılım
11 Eki 2010
Mesajlar
119
Tepkime puanı
0
Puanları
0
Yaş
36
Konum
ankara
Web sitesi
www.sifaeli.net
metin2008' Alıntı:
ya beim demek istediğim

catalog/controller/language/turkish/common/header php diye bir klasör yok



catalog/language/turkish/common/home.php de
Kod:
$_['text_latest']    = 'Yeni ürünler';

buldum.
onun altına ekledim düzeldi. ama ürün ayrıntılarına girince yine

Kod:
text_num0
diye görünüyor. acaba başka biryerdedemi değişiklik yapmam lazım


catalog/language/turkish/common içindeki header.php içinde yap değişikliği
 

metin2008

OpenCart-TR
Katılım
16 Ocak 2011
Mesajlar
75
Tepkime puanı
0
Puanları
0
evet bende öyle yaptım

anasayfadayken sorun yok kategorilerden ürünlere tıkladığımda. resimdeki gibi oluyor. bu sorunu nasıl halledebilirim.

20i9uvd.jpg
 

osdem66

OpenCart-TR
Katılım
19 Ağu 2010
Mesajlar
882
Tepkime puanı
0
Puanları
0
Yaş
57
Web sitesi
opencart-themes.org
catalog/language/common/header.php ac


bul
Kod:
$_['text_checkout'] = 'Kasaya Git';

altına bunu yerleştir..
Kod:
$_['text_latest']    = 'Yeni ürünler';
 

metin2008

OpenCart-TR
Katılım
16 Ocak 2011
Mesajlar
75
Tepkime puanı
0
Puanları
0
evet sorun düzeldi. çok oldu ama elimde bir .swf dosya var bunu resimde belirttiğim alana nasıl ekleyebilirim
2rpz49f.jpg


bu sorunu nasıl çözebilirim
 

metin2008

OpenCart-TR
Katılım
16 Ocak 2011
Mesajlar
75
Tepkime puanı
0
Puanları
0
markaları seçtiğimde

Kod:
template/product/manufacturer.tpl on line 36 ...

diye hata veriyor
 

georgiaes

OpenCart-TR
Katılım
16 May 2011
Mesajlar
10
Tepkime puanı
0
Puanları
0
arkadaslar bana yardımcı olur mudsunuz yaa bir türlü tema yükleyemiyrum yükledim bu temayi
"Notice: Undefined variable: keywords in /home/bahadiri/public_html/test/catalog/view/theme/asel_mavi/template/common/header.tpl on line 6 " hata veriyor her tema yüklemesinde yardımcı olursanız sevinirim
 

ellesar

OpenCart-TR
Katılım
28 Haz 2010
Mesajlar
14
Tepkime puanı
0
Puanları
0
Yaş
33
Konum
İstanbul
Web sitesi
www.foxdizi.net
kategorileri düzelttim ama bu seferde aramada hata verior search dosyasıınn 83 cü satırında aynı hatayı verdi nasıl düzeltiriz bir bilen yardım etsin
 

osdem66

OpenCart-TR
Katılım
19 Ağu 2010
Mesajlar
882
Tepkime puanı
0
Puanları
0
Yaş
57
Web sitesi
opencart-themes.org
Kategorilere uyguladıgınız aynı işlemi search,manufacturer, ve diğeleri içinde uygulayın..
 

blue021433

OpenCart-TR
Katılım
6 Nis 2010
Mesajlar
45
Tepkime puanı
0
Puanları
0
Arkadaşlar modüllerden özel ürünleri eklediğim zaman "asel_mavi\template\module\featured_home.tpl on line 24 ..."
birde markaları seçtiğimde "asel_mavi\template\product\manufacturer.tpl on line 36 ..." diye hata alıyorum.

Bu konuda değerli vaktinizi ve bilgilerinizi bekliyorum.
 

osdem66

OpenCart-TR
Katılım
19 Ağu 2010
Mesajlar
882
Tepkime puanı
0
Puanları
0
Yaş
57
Web sitesi
opencart-themes.org
blue021433' Alıntı:
Arkadaşlar modüllerden özel ürünleri eklediğim zaman "asel_mavi\template\module\featured_home.tpl on line 24 ..."
birde markaları seçtiğimde "asel_mavi\template\product\manufacturer.tpl on line 36 ..." diye hata alıyorum.

Bu konuda değerli vaktinizi ve bilgilerinizi bekliyorum.

Aradığınız cevab konu içerisinde var mesajları bastan sona okuyunuz..
 
Üst