heartland
Aug 24 2006, 07:32 AM
Shouldn't the item you are viewing appear in your breadcrumbs? At least that's what I believe to be true...
Mine aren't...when you look at a product, it only lists the category it's in!
Help!!
jmioni
Aug 24 2006, 10:14 AM
Some stores do that (Yahoo Stores are one example), but it's not the way

has it designed. It seems to me that it's not a problem though, since breadcrumbs are a way to see where you've been, not where you are. What is the advantage of having the product name in the breadcrumbs?
Monster Tech Lead
Aug 24 2006, 10:49 AM
Hi Heartland,
jmioni is correct, our software only includes the categories that you have viewed before and was designed to provide a link back to the previous categories for the customer so they would not need to use the back button. This was also designed for seo reasons as well.
Joe
heartland
Aug 24 2006, 12:19 PM
QUOTE
(

Tech Lead @ Aug 24 2006, 11:50 AM)
Hi Heartland,
jmioni is correct, our software only includes the categories that you have viewed before and was designed to provide a link back to the previous categories for the customer so they would not need to use the back button. This was also designed for seo reasons as well.
Joe
OK, thanks Joe and JM...I thought something might be wrong. Appreciate your help.
Heartland
crashingflwrgrl
Aug 24 2006, 02:08 PM
There is a script (created by user: Undejj) that will add the product name to your breadcrumbs. It's floating around this forum somewhere.
EDIT: Here it is....
<script language=javascript>if (document.URL.match(/VIEWPROD/) ){j=document.getElementsByTagName('font');for(i=0; i<j.length; i++){if (j(i).className=='prodmfg' && j(i).innerText.length>3){productName=j(i).innerText;}}for(i=0; i<j.length; i++){if (j(i).className=='categories' && j(i).innerHTML.match(/>/) && j(i).innerText.match(/>/) ){j(i).innerHTML=j(i).innerHTML + productName;}}}</SCRIPT>
Adding this to the bottom page html section will add the product name to your breadcrumb string.
heartland
Aug 24 2006, 03:52 PM
wow...awesome crashing....thanks so much!!
P.S.
This won't affect SEO in any way, will it? Sorry...I don't know alot about scripts.
BeautynHealth.com
Aug 24 2006, 04:05 PM
don't see how it would... it add's another label. it can't hurt too much to have the name of the product again, I can't imagine that it would
crashing.... the script gave me the sku, not the product name... i'll look into it and post back
heartland
Aug 24 2006, 04:09 PM
thanks BeautynHealth, I appreciate that.
the reason I wasn't sure about it is because I've read that search engines have a problem with scripts
BeautynHealth.com
Aug 24 2006, 04:16 PM
yup, sometimes they do.... but sometimes they grab the final version of the page....
I can't verify that 100%, but I know that when a page is "cached" on google, no scripts run, and it is the final version
heartland
Aug 24 2006, 04:26 PM
I inserted the script, but I'm not getting anything, could it be because we use APD?
BeautynHealth.com
Aug 24 2006, 05:24 PM
Well when I first tried it I got an internal server error 500.... now it only gives me my SKU, not my product name
Heartland, do you see any breadcrumbs on your product pages?
heartland
Aug 24 2006, 09:10 PM
no...it wasn't giving me the item name, it was still stopping at the category link...so I removed it
However if anyone knows how to correct it, I'm all ears.
KennyE
Aug 25 2006, 01:10 PM
QUOTE(heartland @ Aug 24 2006, 10:11 PM) [snapback]114270[/snapback]
no...it wasn't giving me the item name, it was still stopping at the category link...so I removed it
However if anyone knows how to correct it, I'm all ears.

Hi. Not to seem stupid, which I seem to be doing a lot on here lately. But .. what are you talking about? Not the script. The breadcrumbs. New term to me. Thanks ........ Ken
crashingflwrgrl
Aug 25 2006, 02:00 PM
Sorry guys. I'm not sure what's wrong with the script. It worked fine for me (when I was still with MC).

Let me see what I can find.
QUOTE
The breadcrumbs. New term to me.
They are the clickable links that tell the customer where they currently are on your site.
eg; Home>Category>Sub Category>Product
heartland
Aug 25 2006, 03:07 PM
thanks for your help Crashing!
crashingflwrgrl
Aug 25 2006, 05:39 PM
Here is the script again. This time I copied it exactly as written from
the thread it was originally posted in...
<script language=javascript>
if (document.URL.match(/VIEWPROD/) )
{
j=document.getElementsByTagName('font');
for(i=0; i<j.length; i++)
{
if (j[i].className=='producttext')
{
productName=j[i].innerText;
}
}
for(i=0; i<j.length; i++)
{
if (j[i].className=='categories' && j[i].innerHTML.match(/>/) && j[i].innerText.match(/>/) )
{
j[i].innerHTML=j[i].innerHTML + productName;
}
}
}
</script>
That should do it.
heartland
Aug 26 2006, 10:46 AM
Darn it! Maybe it's just me...I still don't see anything else appear when I add this script.
Anyone...?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.