Site, Server Genel » AWBS Destek

AWBS de sepet ürün sayısı

Geri git   WHM cPanel Destek Platformu » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » AWBS Destek
Kayıt ol Yardım Üye Listesi Ajanda Forumları Okundu Kabul Et
 

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 06.01.08, 02:07 PM
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 169
Tecrübe Puanı: 1
inspration is on a distinguished road
AWBS de sepet ürün sayısı

merhaba arkadaşlar..
ben awbs de ana sayfada gelen kişinin sepetindeki ürün sayısnı nasıl gösterebilirim. sepet te ürün sayısını gösteren kodu bulamadım...

örnek:

Sepetinizde 0 ürün bulunmaktadır.

Sepete bak l Ödeme Yap

---------------------------------

ürün sayısını gösteren kod nedir...
teşekkürler
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #2 (permalink)  
Alt 06.01.08, 04:23 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 596
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
Kod:
<?php 
global $reseller_free_plan;
include("includes/dbconfig.php");
if ($LoggedIn== "1"){
				$goster = @mysql_query("select * from users where username='$newuid'");
				$isim = @mysql_result($goster,0,"fname");
				$soyisim = @mysql_result($goster,0,"lname");
				
				$goster2 = @mysql_query("select * from accounts where ownerid='$newuid'");
				$kredi = @mysql_result($goster2,0,"amount");
				$kredi= number_format($LIVECREDITS, 2);

				$goster3 = @mysql_query("select * from accounts where ownerid='$newuid'");
				$kredi = @mysql_result($goster3,0,"amount");
				$kredi= number_format($kredi, 3);

echo "<tr><td>Hoşgeldin; <br><b>$isim $soyisim</b> <br>Aktif Krediniz : <br>$kredi</td></tr>";

}else{
echo "<!-- fesih Biçer - whmdestek.com -->";
}
?>
__________________
domain bayiliği
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #3 (permalink)  
Alt 06.01.08, 04:37 PM
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 169
Tecrübe Puanı: 1
inspration is on a distinguished road
hemen deniyorum teşekkürler...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #4 (permalink)  
Alt 06.01.08, 04:46 PM
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 169
Tecrübe Puanı: 1
inspration is on a distinguished road
ewet kodu denedim. çok güzel bişi ama benim istediğim bu değildi ki... ben sadece sepetteki ürün sayısını gösteren kodu istiyodum. mesela örnek veriyim... sol menülerde 2. sırada alışveriş sepeti yazıyo

sepetinizde 0 ürün var
Sepete bak l ödeme yap..

ben sadece ordaki 0'ı yani sepetteki ürün sayısını çeken kodu istemiştim...

Konu Fesih BICER tarafından (06.01.08 Saat 05:05 PM ) değiştirilmiştir.. Sebep: link kaldırıldı. oda kimmiş
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #5 (permalink)  
Alt 06.01.08, 04:58 PM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 596
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
pardon yalnış okumuşum o zaman ben aktif kredi sandım. o aktif krediyi gösterir.

sizin istediğiniz bu. çoklu dil kullanıyorsanız dil dosyasına ekleyin tanımları, eğer tek dil kullanıyorsanız aşağıda tanımlarsınız.

Kod:
<?php 
global $reseller_free_plan;
if ($LoggedIn== "1"){ ?>

<?php }?>
                  <tr>
                    <td>
                    <b><?=MENUSOL7?></b>
                    </td>
                  </tr>
                  <tr>
                    <td>
                    <br>
                    <a href="<?=$curcart[view]?>">
                    <?=$curcart[items]?><?=MENUSOL8?></a><br>
                    <a href="cart.php?ca=checkout"><?=MENUSOL9?></a><br></td>
                  </tr>
__________________
domain bayiliği
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #6 (permalink)  
Alt 06.01.08, 05:38 PM
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 169
Tecrübe Puanı: 1
inspration is on a distinguished road
yok buda değil sanırım bende bir sorun var anlatmayı beceremiyorum. benim istediğim sadece ordaki 0 yerine gelicek kodu istiyorum yani sepetindeki ürün sayısını gösterecek kodu istiyorum.. sizide uğraştırıyorum. umarım bu sefer doğru anlatabilmişimdir...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #7 (permalink)  
Alt 06.01.08, 05:41 PM
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 169
Tecrübe Puanı: 1
inspration is on a distinguished road
tamam doğru yazmışsınız 0 yerine gelicek kod şuymuş ....

<a href="<?=$curcart[view]?>">

çok teşekkür ederim...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #8 (permalink)  
Alt 06.01.08, 05:55 PM
P4
 
Üyelik tarihi: Oct 2007
Nerden: türkiye
Mesajlar: 169
Tecrübe Puanı: 1
inspration is on a distinguished road
ama şunu çözemedim
önce bişi yazmıyo
yani hiç alışveriş yapmadığı zaman orda hiç bişi yazmıyo..

yani 0 yazsa alışveriş yapınca sepete eklenen sayı 0 ın yerine gelse o mümkün mü
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
  #9 (permalink)  
Alt 12.01.08, 09:57 AM
Fesih BICER - ait Kullanıcı Resmi (Avatar)
fshbcr
 
Üyelik tarihi: Jun 2007
Nerden: Çorlu
Yaş: 28
Mesajlar: 596
Tecrübe Puanı: 1092
Fesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond reputeFesih BICER has a reputation beyond repute
Fesih BICER - MSN üzeri Mesaj gönder
verdiğim kodların tümünü sitene enteğre edersen sorun kalmaz. sadece <a href="<?=$curcart[view]?>"> kendi başına bir anlam ifade etmez.

Kod:
                    Sepetinizde <a href="<?=$curcart[view]?>">
                    <?=$curcart[items]?> Ürün Bulunmaktadır.</a>
gibi yapmalısın
__________________
domain bayiliği
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Cevapla



Seçenekler
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık