Jump to content

[Çözüldü] $logged Sorunu


ynswtf

Recommended Posts

Merhaba arkadaşlar,

 

Prestashop free bir template indirdim ve üzerinde değişiklikler yapıyorum. Giriş yapmadan fiyat göstermek istemiyorum ve price'ı gösteren sutünlarda kişinin oturum açıp açmadığını kontrol etmeye çalışıyorum.

ama $logged && $is_logged komutları çalışmıyor. bir üyenin oturum açıp açmadığını nasıl kontrol edebilirim.

 

{if $is_logged}
	echo 'oturum var';
{else}
	echo 'oturum yok';
{/if}

{if $logged}
	echo 'oturum var';
{else}
	echo 'oturum yok';
{/if}

 

Edited by Bigchefstarys (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...