Jump to content

Hide links in order process


clothingsavers

Recommended Posts

How do I make this not show while checking out:

 

Support Client Area Knowledgebase Support Tickets Downloads

 

Shopping Cart

You are here: Shopping Cart

 

or atleast the: Support Client Area Knowledgebase Support Tickets Downloads

 

 

*when checking out i feel its better for customers to stick with checking ut and not wonder to other links. Better for sales conversion.

 

Can anyone show me how i can do this?

Link to comment
Share on other sites

I htought it would be easier just to post it here:

 

 


{if $smarty.server.PHP_SELF != '/cart.php'}

<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>

{/if}

 

 

Can you tell me if I did this right?

Link to comment
Share on other sites

I tried the below code and it worked lol

 

{if $smarty.server.PHP_SELF != '/cart.php'}

{else}
<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>

{/if}

 

=D now i have to see where its showing and where its not showing

 

Thanks so much!

Link to comment
Share on other sites

So when you are on the cart page you want it to show then

Check my last post!!

 

I tried the below code and it worked lol

 

{if $smarty.server.PHP_SELF != '/cart.php'}

{else}
<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>

{/if}

=D now i have to see where its showing and where its not showing

 

Thanks so much!

Link to comment
Share on other sites

So when you are on the cart page you want it to show then

Check my last post!!

 

Ok i tried the {if $smarty.server.PHP_SELF != '/billing/cart.php'} but it didnt work. It does work with the {if $smarty.server.PHP_SELF != '/cart.php'} but I had to add {else} after it.

 

 

 

 

like if on cart page Nothing...else other page Show Links.

Link to comment
Share on other sites

Try clearing your cache and do a hard refresh (IE.. ctrl + refresh) (Firefox.. shift + reload)

It works like this

if $smarty.server.PHP_SELF does not equal /billing/cart.php then display the code.

 

Just put {$smarty.server.PHP_SELF} on the line above and you will see exactly what it is.

Link to comment
Share on other sites

Ok I guess i just deleted the menu from every page or i just don't remember where it is supposed to show the links. The below code is what I am using.

 

Can you fix this code please:

 

 


{if $smarty.server.PHP_SELF != '/cart.php'}
{else}
<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>
{/if}

 

 

I really appreciate your help! =)

Link to comment
Share on other sites

{if $smarty.server.PHP_SELF != '/billing/cart.php'}
<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>
{/if}

Link to comment
Share on other sites

{if $smarty.server.PHP_SELF != '/billing/cart.php'}
<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>
{/if}

 

It worked! Thank you so much!! :)

 

to block creditcard.php also do I just add the 2 lines like this:

 

 

{if $smarty.server.PHP_SELF != '/billing/cart.php'} 
{if $smarty.server.PHP_SELF != '/billing/checkout.php'}

<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>

{/if}

Link to comment
Share on other sites

I see that its working fine now.

Use the same tags to put around the breadcrumb code to not display on the cart pages.

 

Is the breadcrumb this navigation:

 

Home My Details My Products & Services My Invoices My Support Tickets My Emails?

 

and does this only show when you are logged in or after you place a purchase?

 

Sorry for all of the questions.

Link to comment
Share on other sites

Is the breadcrumb this navigation:

 

Home My Details My Products & Services My Invoices My Support Tickets My Emails?

 

and does this only show when you are logged in or after you place a purchase?

 

Sorry for all of the questions.

 

Definitely not... it is the clientarea navigation displayed only when logged in.

This is

<p><span class="heading">{$pagetitle}</span><br />

{$LANG.globalyouarehere}: {$breadcrumbnav}</p>

Edited by sparky
Link to comment
Share on other sites

thanks I will be sure to also block the bread crumb nav you mentioned.

 

Ok I tried the below code you said but it started showing the links again:

 

did i do anything wrong?

 


{if $smarty.server.PHP_SELF != '/billing/cart.php' or $smarty.server.PHP_SELF != '/billing/creditcard.php'}

<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>

{/if}

 

I don't know what to say you have been helping me alot and I am very thankful.

Link to comment
Share on other sites

Have to change it a bit to check for 2 pages

{if $smarty.server.PHP_SELF == '/billing/cart.php' || $smarty.server.PHP_SELF == '/billing/creditcard.php'}{else}
<table class="topnavbar"><tr class="topnavbar"><td><a href="index.php">{$LANG.globalsystemname}</a></td><td><a href="clientarea.php">{$LANG.clientareatitle}</a></td><td><a href="announcements.php">{$LANG.announcementstitle}</a></td><td><a href="knowledgebase.php">{$LANG.knowledgebasetitle}</a></td><td><a href="supporttickets.php">{$LANG.supportticketspagetitle}</a></td><td><a href="downloads.php">{$LANG.downloadstitle}</a></td>{if $loggedin}<td><a href="logout.php">{$LANG.logouttitle}</a></td>{/if}</tr></table>
{/if}

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