Jump to content

Customise cart breadcrumbs?


Zorro67

Recommended Posts

  • 2 weeks later...

I am in the process of redoing our breadcrumbs. Because the breadcrumb is encoded you can not alter it from what is there. You have to move it to the template content area and write it from scratch for each page.

 

PM if you need anything.

Edited by osCommerce
Link to comment
Share on other sites

I had to create my own, but I ended up doing this when I couldn't find the variables I needed.

 

{if $products}{php}$this->assign('step', '1');{/php}{/if}
{if $registertlds}{php}$this->assign('step', '2');{/php}{/if}
{if $addons}{php}$this->assign('step', '3');{/php}{/if}
{if $selectedgateway}{php}$this->assign('step', '4');{/php}{/if}
{if $checkout}{php}$this->assign('step', '5');{/php}{/if}

and then something like this:

<a href=""{if $step == '1'} class="active"{/if}><span>Step 1/5</span>{$LANG.orderchooseapackage}</a>

But it needs some slight modifications to work right with domain only orders, etc.

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