tr-opencart

     
avatar Şuanki Zaman: 03-29-2024, 09:12 AMHoşgeldin Misafir !
  Şifremi Hatırlat   kayıt ol
opencart temaları

1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme

Konuyu görüntüleyenler: 1 Misafir
 
Değerlendir:
  • 0 Oy - 0 Yüzde
  • 1
  • 2
  • 3
  • 4
  • 5
%
Cevapla  Gönder 
v  v
Yazar  yusuf_07 - Görüntüleme - Okunma  2777 - Yorum  0

yusuf_07v
Üye
***
V.İ.P Premium user avatar
Çevrimdışı

Mesajlar: 152
Konular: 35
Katılma Tarihi: Jun 2012
Rep Puanı: 3
Teşekkürler: 257
62 Mesajına, 123 Teşekkür edildi.



Kişisel Bilgileri: v
Konu Tarihi: 08-14-2012 04:55 AM

Merhaba arkadaşlar.Sanırım daha önce resimsiz olanı verilmişti.Başka bir sitede 1.5.x için olanını bulmuştum.1.4.9.6 için biraz uğraşıp hamdolsun sonuca ulaştım ve sizlerle paylaşıyorum.İhtiyacı olan arkadaşlar güle güle kullansınlar.


DEMO: http://ucuzdigital.com/HD-Uydular/Dreambox-DM800-HD-PVR


catalog/controller/product/product.php aç

bul

Kod:
PHP Kod:
$this->data['text_tags'] = $this->language->get('text_tags'); 


sonrasına ekle
Kod:
PHP Kod:
$this->data['text_prev'] = $this->language->get('text_prev');
$this->data['text_next'] = $this->language->get('text_next'); 

bul

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

sonrasına ekle
Kod:
PHP Kod:
$this->data['button_text_next'] = $this->language->get('button_text_next');
$this->data['button_text_prev'] = $this->language->get('button_text_prev'); 


bul

Kod:
PHP Kod:
$this->data['heading_title'] = $product_info['name']; 

sonrasına ekle

Kod:


PHP Kod:
$rsNext     $this->model_catalog_product->getProduct($product_id+1);
                
$rsLast     $this->model_catalog_product->getProduct($product_id-1);
                
                if(
$rsNext):
    
                  
$this->data['next_url'] = HTTP_SERVER 'index.php?route=product/product' $url '&product_id=' $rsNext['product_id'];
                  
$this->data['next_text']= $rsNext['name']."";
                  
$this->data['next_image'] = "image/".$rsNext['image'];
                else:
                    
$this->data['next_url'] = '';
                    
$this->data['next_text']= '';
                    
$this->data['next_image']= '';
                endif;

                if(
$rsLast):                     
                    
$this->data['prev_url'] = HTTP_SERVER 'index.php?route=product/product' $url '&product_id=' $rsLast['product_id'];
                    
$this->data['prev_text']= "".$rsLast['name'];
                    
$this->data['prev_image'] ="image/".$rsLast['image'];
                else:
                    
$this->data['prev_url'] = '';
                    
$this->data['prev_text']= null;
                    
$this->data['prev_image']= '';
                endif; 

catalog/language/turkish/product/product.php
bul
Kod:
PHP Kod:
$_['text_tags']         = 'Etiketler:'
sonrasına ekle
Kod:
PHP Kod:
$_['text_prev']         = '<< Önceki Ürün';
$_['text_next']         = 'Sonraki Ürün >>'


catalog/language/turkish/turkish.php
bul
Kod:
PHP Kod:
$_['button_login']          = 'Oturum Aç'

Üstüne ekle
Kod:
PHP Kod:
$_['text_prev']         = '<< Önceki Ürün';
$_['text_next']         = 'Sonraki Ürün >>'
catalog/view/theme/default/template/product/product.tpl aç

bul
Kod:
PHP Kod:
<div class="tabs"
Üstüne ekle ( buttonlu kullanmak isteyenler )Not: bu kodları kullananlar üstte verdiğim php dosyasındaki
PHP Kod:
$this->data['text_prev'] = $this->language->get('text_prev');
                        
$this->data['text_next'] = $this->language->get('text_next'); 
kodları koymalarına gerek yoktur.


Kod:

PHP Kod:
<div class="content"><div class="product-info"
    <
div class="left"
       <
center><?php if ($prev_url) { ?><a href="<?php echo $prev_url?>" title="<?php echo $prev_text;  ?>"><img src="<?php echo $prev_image;?>" style="width:50px;"></a><br />
    <a href="<?php echo $prev_url?>" class="button"><span><?php echo $button_text_prev?></a><?php } else { ?><?php ?> </center></div>
                     
    <div class="right">
    <center><?php if ($next_url) { ?><a href="<?php echo $next_url?>" title="<?php echo $next_text;  ?>"><img src="<?php echo $next_image;?>" style="width:50px;"></a><br />
    <a href="<?php echo $next_url?>" class="button"><span><?php echo $button_text_next?></a><?php } else { ?><?php ?></center></div>
                
    </div></div> 

( buttonsuz kullanmak isteyenler ) Not: bu kodları kullananlar üstte verdiğim php dosyasındaki buttonlu kodları koymalarına gerek yoktur.
PHP Kod:
<div class="content"><div class="product-info"
     <
div class="left"> <center><?php if ($prev_url) { ?><a href="<?php echo $prev_url?>" title="<?php echo $prev_text;  ?>"><img src="<?php echo $prev_image;?>" style="width:38px;"></a><br />
                    <a href="<?php echo $prev_url?>"><?php echo $text_prev?></a><?php } else { ?><?php ?> </center></div>
                     
                      <div class="right">
                    <center><?php if ($next_url) { ?><a href="<?php echo $next_url?>" title="<?php echo $next_text;  ?>"><img src="<?php echo $next_image;?>" style="width:38px;"></a><br />
                    <a href="<?php echo $next_url?>"><?php echo $text_next?></a><?php } else { ?><?php ?></center></div>
                
    </div></div> 
stylesheet.css Aç
en sona ekle

PHP Kod:
.product-info {
       
background:#fff;
       
padding:10px
       
displayblock;       
    
overflowauto;       
    
margin-bottom20px;       
}
.
product-info > .left {
    
floatleft;
    
margin-right15px;
}
.
product-info > .left + .right {
    
margin-left390px;
}
.
product-info .image {
    
border1px solid #E7E7E7;
    
floatleft;
    
margin-bottom20px;
    
padding10px;
    
text-aligncenter;


Güle güle kullanın.herkese hayırlı ramazanlar dilerim.
yusuf_07
Alıntı Yaparak Cevapla
Paylaş!
 Teşekkür Edenler: e-ticaretdersleri

« Önceki | Sonraki »
Cevapla  Gönder 

Bu Konudaki Mesajlar
1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme - yusuf_07 - 08-14-2012 04:55 AM

1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Konusunun Linki Direk Link
1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Konusunun HTML Kodu HTML Link
1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Konusu BBCode Linki BBCode Link
1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Konusunu Paylaş Sosyal Paylaş

Benzeyen Konular
Konu: Yazar Cevaplar: Gösterim: Son Mesaj
  Yönetim Paneline Resimli Menü Ekleme EnverYigit 5 7,614 05-22-2022 09:36 PM
Son Mesaj: megasoftware
  [Eklenti] Kasada belli tutar üzerinde siparişe indirimli ürün önerisi hakan1122 2 4,255 08-15-2015 10:42 AM
Son Mesaj: hakan1122
  Ürün sayfasında sepete ekle butonuna tıklayınca kasaya gitmesin evren236 3 3,863 09-21-2014 07:29 PM
Son Mesaj: evren236
  1.4.9.x Admin Panel Resimli Menu yusuf_07 4 12,168 01-18-2013 01:50 AM
Son Mesaj: maes
  1.4.9.x Urun Sayfası Pretty-Photo-1.4.9.x-vqmod yusuf_07 0 2,773 09-12-2012 03:35 AM
Son Mesaj: yusuf_07
  Opencart 1.4.9.6 da ürün detayında Havale/Eft indirimini göstermek yusuf_07 7 5,854 08-13-2012 09:22 PM
Son Mesaj: ALeeNN
  ürün sayfasında kategori adını göstermek esatcemaltunkaya 3 4,593 07-05-2012 11:09 PM
Son Mesaj: esatcemaltunkaya
  1..4.9.x versiyon.Kampanyalı Ürünlerde Ürün Detay sayfasına İndirimde ikonu eklemek crea51 5 5,232 04-15-2012 04:36 PM
Son Mesaj: osdem66
  ürün fiyatı kalın yazmak yasarakdeniz 8 6,272 04-14-2012 08:39 PM
Son Mesaj: yasarakdeniz

1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme indir, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Videosu, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme online izle, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Bedava indir, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Yükle, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Hakkında, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme nedir, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme Free indir, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme oyunu, 1.4.9.6 Önceki Sonraki Ürün Resimli Gösterme download


Forum Atla: