Breadcrumbs not rendering in Checkout process

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
jrobgood
Lieutenant (LT)
Lieutenant (LT)
Posts: 56
Joined: Wed Nov 14, 2007 2:27 am

Breadcrumbs not rendering in Checkout process

Post by jrobgood » Thu Apr 10, 2008 3:16 am

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?

User avatar
m_plugables
Commander (CMDR)
Commander (CMDR)
Posts: 149
Joined: Tue Mar 11, 2008 12:44 am
Contact:

Re: Breadcrumbs not rendering in Checkout process

Post by m_plugables » Thu Apr 10, 2008 4:02 am

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
Last edited by m_plugables on Fri Apr 11, 2008 2:13 am, edited 1 time in total.
Image
Visit the links below to Download Plugins for your AC7 Store
http://www.plugables.com
http://blog.plugables.com

jrobgood
Lieutenant (LT)
Lieutenant (LT)
Posts: 56
Joined: Wed Nov 14, 2007 2:27 am

Re: Breadcrumbs not rendering in Checkout process

Post by jrobgood » Thu Apr 10, 2008 1:54 pm

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!

User avatar
m_plugables
Commander (CMDR)
Commander (CMDR)
Posts: 149
Joined: Tue Mar 11, 2008 12:44 am
Contact:

Re: Breadcrumbs not rendering in Checkout process

Post by m_plugables » Fri Apr 11, 2008 1:11 am

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.
Image
Visit the links below to Download Plugins for your AC7 Store
http://www.plugables.com
http://blog.plugables.com

jrobgood
Lieutenant (LT)
Lieutenant (LT)
Posts: 56
Joined: Wed Nov 14, 2007 2:27 am

Re: Breadcrumbs not rendering in Checkout process

Post by jrobgood » Fri Apr 11, 2008 1:27 am

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?

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Breadcrumbs not rendering in Checkout process

Post by AbleMods » Mon Apr 14, 2008 7:48 am

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

jrobgood
Lieutenant (LT)
Lieutenant (LT)
Posts: 56
Joined: Wed Nov 14, 2007 2:27 am

Re: Breadcrumbs not rendering in Checkout process

Post by jrobgood » Mon Apr 14, 2008 6:00 pm

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.

Post Reply