Jump to content

Adding Breadcrumb to Shopping Cart


RPS

Recommended Posts

1) Users who click on an item to buy from a hosting page, should NOT display the breadcrumb for the support system.

2) Users who click on the shopping cart directly from the support page, however, should display the breadcrumb for the support system.

 

Unfortunately I couldn't come up with a solution that addresses both problems, but I have added the whmcs/index.php page back to the breadcrumb for the shopping cart pages.

 

Before:

 

Shopping Cart

 

Now:

 

Support Center > Shopping Cart

 

Here's the code I added to the:

/whmcs/templates/default/header.tpl

/whmcs/templates/portal/header.tpl

 

{if $pagetitle eq $LANG.carttitle}<a href="index.php">{$LANG.globalsystemname}</a> > {/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