Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Using <if> code in OS Commerce


junjunforever

Recommended Posts

Hi. I am a novice in the web-page making.

 

In vBulletin, I could use a code like <if condition="$show['member']"> xxxx </if> to display something so only when a user is logged in.

 

I would like to display Log In or Sign Up only when the users are not signed in.

 

Any help is greatly appreciated!

Link to comment
Share on other sites

The code is already present to do that, unless yours has been altered in some way. If you look in the inludes/header.php file, it should have that code there.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...