ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Moving Breadcrumbs above product names
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Moving Breadcrumbs above product names

 Post Reply Post Reply
Author
Message
edwardmills View Drop Down
Groupie
Groupie
Avatar

Joined: 16-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote edwardmills Quote  Post ReplyReply Direct Link To This Post Topic: Moving Breadcrumbs above product names
    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
Back to Top
fidjiti View Drop Down
Senior Member
Senior Member


Joined: 30-November-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fidjiti Quote  Post ReplyReply Direct Link To This Post 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. :)
Back to Top
edwardmills View Drop Down
Groupie
Groupie
Avatar

Joined: 16-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote edwardmills Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post 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

Our Site
Back to Top
fidjiti View Drop Down
Senior Member
Senior Member


Joined: 30-November-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote fidjiti Quote  Post ReplyReply Direct Link To This Post 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. :)
Back to Top
edwardmills View Drop Down
Groupie
Groupie
Avatar

Joined: 16-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote edwardmills Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
edwardmills View Drop Down
Groupie
Groupie
Avatar

Joined: 16-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote edwardmills Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.