Jump to content

On order forms; how do you hide the "alert-info checkout-security-msg" when a user is logged in?


-M-

Recommended Posts

I got a quick question, in order to keep the order form as clean and tidy as possible, I want to hide the security message at the bottom when an existing user is logged in.

 

For example; I want to hide the "alert-info checkout-security-msg" on the checkout page, when the user is logged in. So it only should show when the user is new or not logged in.

 

Is this possible, if so how?

 

I think it's possible, but I have no idea on how to achieve this?

 

//edit

 

Nevermind figured it out.

 

If someone needs, here is the code (as an example):

 

                       {if $loggedin}
		{else}
                       <div class="col-sm-12">
                           <div class="alert alert-info checkout-some-msg">
                               <i class="fa fa-exclamation"></i> {$LANG.something}
                           </div>
                       </div>
                       {/if}

Edited by MvdL1979
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated