Print Page | Close Window

Moving Breadcrumbs above product names

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=560
Printed Date: 23-November-2024 at 11:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Moving Breadcrumbs above product names
Posted By: edwardmills
Subject: Moving Breadcrumbs above product names
Date Posted: 18-December-2006 at 8:05pm
Hi There

Wondering how difficult it would be to move the breadcrumb navigation above the name in the product and category pages. I looked at viewcategories.asp and viewprdc.asp. It definitely seems a bit more complicated than a simple cut and paste of code.

Has anyone done this? And if so, can you give me any tips?

Thanks
ed



Replies:
Posted By: fidjiti
Date Posted: 19-December-2006 at 3:09pm
Nope I haven't tried it but would also like to know how to do this. Thanks!

-------------
Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :)


Posted By: edwardmills
Date Posted: 19-December-2006 at 3:18pm
Hi Linda

I figured it out for the product page. We're using the layout with the product image on the left. So for us, the file to modify is, viewPrdL.asp in the PC folder. The file is well commented. You just have to cut and paste the breadcrumb section above the show product name section. Just make sure you get the complete table row and data tags as well.

Move this entire section of code:
<tr>
    <td colspan="2">
<%
'*********************************************************** ******************************************
' 1) CATGEORY BREADCRUMBS
'*********************************************************** ******************************************
pcs_CategoryTree
'*********************************************************** ******************************************
' END CATGEORY BREADCRUMBS
'*********************************************************** ******************************************
%>    </td>
</tr>

To just below the line: <table class="pcMainTable">

If you're using a different layout on your product page, it will be a different file. But you should be able to figure out which one.

Hope this helps.

ed


Posted By: netprofits
Date Posted: 19-December-2006 at 3:22pm

Edit one of these files depending on your product detail display:
Classic Style - viewPrdC.asp
One Column Layout - viewPrdO.asp
Two Column Layout (images left) - viewPrdL.asp

Search for the following section of code and move it above the section for the Product Name:

<tr>
 <td colspan="2">
<%
'*********************************************************** ******************************************
' 1) CATGEORY BREADCRUMBS
'*********************************************************** ******************************************
pcs_CategoryTree
'*********************************************************** ******************************************
' END CATGEORY BREADCRUMBS
'*********************************************************** ******************************************
%> </td>
</tr>

 



-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: fidjiti
Date Posted: 19-December-2006 at 3:26pm
sweet thanks I'll try it!

-------------
Linda - I wish I knew ASP.
To view my ever evolving site click the "www" button below. :)


Posted By: edwardmills
Date Posted: 19-December-2006 at 3:33pm
For the category pages, it's a bit harder to find.

It's in the file, viewcategories.asp in the pc folder.

Search for the section of code below and move the line <h1>...category name... to below the closing </div>tag where it's shown here.

'*******************************
        ' Show current category info
        '*******************************
        ' Show BreadCrumbs - current category name and location - If subcategory z %>
        <tr>
            <td>
               
                <div class="pcPageNav">
                <%
                response.write dictLanguage.Item(Session("language")&"_viewCat_P_2")
                response.write strBreadCrumb
                intIdCategory=pIdCategory
                %>
                 <!-- Load category discount icon -->
                  <!--#Include File="pcShowCatDiscIcon.asp" -->
                </div>
                                 <h1><%=pCategoryName%></h1>
            </td>
        </tr>
        <% ' End Show BreadCrumbs

Hope this helps again.

ed


Posted By: edwardmills
Date Posted: 19-December-2006 at 3:34pm
Hi Netprofits

Looks like we posted at the same time. As always, thanks for your support. It is very appreciated!

ed



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net