Zorro67 Posted January 24, 2009 Share Posted January 24, 2009 I'm looking to customise my cart breadcrumbs so that they actually showthe page/step within the cart. this should be an easy one but it appears not to have been posted before. Anyone know how to do this little mod? 0 Quote Link to comment Share on other sites More sharing options...
osCommerce Posted February 5, 2009 Share Posted February 5, 2009 (edited) 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 February 5, 2009 by osCommerce 0 Quote Link to comment Share on other sites More sharing options...
siforek Posted February 7, 2009 Share Posted February 7, 2009 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.