Jump to content

Category Breadcrumb in Product


lexijade

Recommended Posts

I have searched and searched but can't find anything that tells me how to display the category breadcrumb in the product listing or how to just have the category listed in the description of the item. I am using e-shift template.

Link to comment
Share on other sites

I cleared my cache and it's a bit slower, but not awful. I mean it definitely isn't instant, but I think it's normal.

The only thing at the top of the debug when I am in a product listing is this:
[Notice] /home/content/88/5118188/html/ltcube/classes/gui.class.php:1124 - Undefined variable: product

Which isn't something I messed with, so not sure what the problem with that is.

Link to comment
Share on other sites

Here is the relevant code from the main.php template:

                    {$CATEGORIES}
                    {$SEARCH_FORM}
*                   </div>
                    {$RANDOM_PROD}
                    {if isset($POPULAR_PRODUCTS)}{$POPULAR_PRODUCTS}{/if}
                    {if isset($SALE_ITEMS)}{$SALE_ITEMS}{/if}
                    {if $SHOW_MAIL_BOX!='no'}{$MAIL_LIST}{/if}
*               </div>
*           </div>
*           <div class="u8">
                <ul id="breadcrumb">
                    <li class="first"><a href="{$STORE_URL}">{$LANG.common.home}</a></li>
                    {foreach from=$CRUMBS item=crumb}
                    <li><a href="{$crumb.url}">{$crumb.title}</a></li>
                    {/foreach}
                </ul>
*		{include file='templates/box.errors.php'}
*		{if isset($CHECKOUT_PROGRESS)}{$CHECKOUT_PROGRESS}{/if}

Having my browser show me the source from your site, here is the matching code (presumably):

					</div>
				</div>
			</div>
			<div class="u8">
<blank line>
<blank line>
				

The asterisk'd lines are the ones showing in the browser.

So, please verify that the breadcrumb list code is still in the template.

(I see that the template code has the ($CATEGORIES} come before the {$SEARCH_FORM}. You probably switched that.)

Your product images aren't loading either:

<img alt="Kewaunee Fume Hood 6 feet" src="http://www.labtrader.com/ltcube/images/cache/_square.120.jpg">

The path is correct, but something about the image's name in the /source/ folder is not getting used when CubeCart makes the appropriately-sized images for the skin and puts them in the /images/cache/ folder.

Link to comment
Share on other sites

Thanks! I didn't realize that applied to all pages, and removed it because I didn't want it on the home page. Stupid me, totally obvious mistake. I am pretty new to all of this still, so this forum has been a huge help!

Do you have an idea what the problem with the images is? Also the square image is just a blank square as a filler 'default' image, in case that's what you meant by not loading too.

Link to comment
Share on other sites

Please look in the /images/cache/ folder. This is what CubeCart is deriving:

_square.120.jpg

There should be something in front of _square.

Technically, the skin should have its own set of 'noimage_<size>.jpg' in the skin's /images/ folder. (And the e-shift skin does have these images.)

If you haven't uploaded/assigned any product images, then something is going wrong with CubeCart - not the skin.

Link to comment
Share on other sites

Please look in the /images/cache/ folder. This is what CubeCart is deriving:

_square.120.jpg

There should be something in front of _square.

Technically, the skin should have its own set of 'noimage_<size>.jpg' in the skin's /images/ folder. (And the e-shift skin does have these images.)

If you haven't uploaded/assigned any product images, then something is going wrong with CubeCart - not the skin.

Hm, weird. I have uploaded/assigned lots of pictures- almost all of them I have done through the product listing page.

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.

×
×
  • Create New...