Jump to content

Remove $breadcrumbnav if on orderform


Nullified

Recommended Posts

Try something like:

{if $breadcrumbnav and $filename neq "cart"}
<p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p>
{/if}

Wouldn't it have to be:

{if $breadcrumbnav and ($filename neq "cart")}
<p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p>
{/if}

This code should do what you want.

 

{if $pagetitle != 'Shopping Cart'}
{else}
{if $breadcrumbnav}<p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p>{/if}
{/if}

Is this going to work for all shopping cart pages? Does pagetitle not change on any of the orderform pages?
Link to comment
Share on other sites

Wouldn't it have to be:
{if $breadcrumbnav and ($filename neq "cart")}
<p style="margin: 10px 30px 10px 30px;">{$LANG.globalyouarehere}: {$breadcrumbnav}</p>
{/if}

Is this going to work for all shopping cart pages? Does pagetitle not change on any of the orderform pages?

 

Yes it will work for all shopping cart pages unless you change the shopping cart page title in the Language file

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