Page 1 of 1

Breadcrumbs not rendering in Checkout process

Posted: Thu Apr 10, 2008 3:16 am
by jrobgood
So, I know this is counterintuitive and not smart from a commerce perspective, but out client is requesting the breadcrumbs be present throughout the Checkout process.

The ConLib is rendering some DIV data, but it is not building any links. Is this because Checkout is one level below root?

Re: Breadcrumbs not rendering in Checkout process

Posted: Thu Apr 10, 2008 4:02 am
by m_plugables
You can place the BreedCrumbs on the Checkout pages with some small modification to your scriptlet. Modify the following scriptlet

Code: Select all

App_Data\Scriptlets\Default\Layout\(Any Active Layout htm file)
and make it look like

Code: Select all

[[layout:header]]
<div id="outerContentWrapper">
	<div id="innerContentWrapper">
		<table cellspacing="0" cellpadding="0" id="contentLayout">
			<tr>
				<td align="left" valign="top" id="mainPanel">
					[[ConLib:BreadCrumbs]]
					[[layout:content]]
				</td>
			</tr>
		</table>
	</div>
	[[layout:footer]]
</div>
Now modify the Store Site Map information means the url information for the checkout pages

Re: Breadcrumbs not rendering in Checkout process

Posted: Thu Apr 10, 2008 1:54 pm
by jrobgood
mazhar wrote:You can place the BreadCrumbs on the Checkout pages with some small modification to your scriptlet. Modify the following scriptlet

Code: Select all

App_Data\Scriptlets\Default\Layout
and make it look like

Code: Select all

[[layout:header]]
<div id="outerContentWrapper">
	<div id="innerContentWrapper">
		<table cellspacing="0" cellpadding="0" id="contentLayout">
			<tr>
				<td align="left" valign="top" id="mainPanel">
					[[ConLib:BreadCrumbs]]
					[[layout:content]]
				</td>
			</tr>
		</table>
	</div>
	[[layout:footer]]
</div>
This is the same as adding it through the Store Admin... right? Or am I missing something?
mazhar wrote:Now modify the Store Site Map information means the url information for the checkout pages
Can you clarify that statement?

Thanks!

Re: Breadcrumbs not rendering in Checkout process

Posted: Fri Apr 11, 2008 1:11 am
by m_plugables
This is the same as adding it through the Store Admin... right? Or am I missing something?
Yes you are right.
Now modify the Store Site Map information means the url information for the checkout pages
It means put url information for checkout pages in Web.sitemap so that breed crumbs can use it as it is using for other pages.
For example for edit the Web.sitemap file and put the following information for checkout .

Code: Select all

<siteMapNode url="~/Checkout/Default.aspx" title="Checkout">
Now the Breed Crumb information will be available on this page. Similarly you have to provide this information for all those checkout pages you want to have breed crumbs.

Re: Breadcrumbs not rendering in Checkout process

Posted: Fri Apr 11, 2008 1:27 am
by jrobgood
Aha! Now I understand. So it appears that by default only certain pages in the cart will render Breadcrumbs, and to use them elsewhere requires manual insertion into this web.sitemap page.

This seems like something that should be well documented, doesn't it?

Re: Breadcrumbs not rendering in Checkout process

Posted: Mon Apr 14, 2008 7:48 am
by AbleMods
jrobgood wrote:Aha! Now I understand. So it appears that by default only certain pages in the cart will render Breadcrumbs, and to use them elsewhere requires manual insertion into this web.sitemap page.

This seems like something that should be well documented, doesn't it?
This is how the native .Net breadcrumb control works by design. It is controlled manually via the store sitemap file (or other sources with some creative programming). It's not something custom to AC7 thus why it is not documented.

Re: Breadcrumbs not rendering in Checkout process

Posted: Mon Apr 14, 2008 6:00 pm
by jrobgood
SolunarServices wrote:This is how the native .Net breadcrumb control works by design. It is controlled manually via the store sitemap file (or other sources with some creative programming). It's not something custom to AC7 thus why it is not documented.
Got it. Thanks for the education... we don't do .NET here so some of the idiosyncrasies have been a bit daunting to get up to speed on.