Print Page | Close Window

Removing Category Link

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=1944
Printed Date: 23-April-2025 at 12:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Removing Category Link
Posted By: citizen
Subject: Removing Category Link
Date Posted: 30-August-2008 at 3:42am
Hi,
 
I have a client that is wanting to remove the category and subcategory links that appear on each product page. I have remove the words "Our Products:" but not sure how to remove the links.
 
Any ideas?
 
Alex



Replies:
Posted By: rotokirby
Date Posted: 30-August-2008 at 7:19pm
I think you're asking about the Category Breadcrumbs....

Which file you'll need to edit depends on which layout you're using.

Two Column Layout, with image on the right (viewPrdC.asp)
Two Column Layout, with image on the left (viewPrdL.asp)
One Column Layout, with image in the middle (viewPrdO.asp)

Open the appropriate file and search for the following and comment it out:

pcs_CategoryTree


-------------
Rotofugi Designer Toy Store & Gallery
Chicago > IL > US
http://rotofugi.com - http://rotofugi.com


Posted By: citizen
Date Posted: 30-August-2008 at 9:10pm
Hi Rotokirby,
 
I tried your suggestion but the link still appeared.
 
According to the display settings, we have a 2 column layout with image on right so I commented out the "pcs_CategoryTree" in viewPrdC.asp but with no difference.
 
Any other ideas?


Posted By: Hamish
Date Posted: 01-September-2008 at 5:58pm
Hi,
    Can you provide a link?


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: citizen
Date Posted: 01-September-2008 at 6:17pm
If you go to http://www.chiminea.com.au/productcart/pc/viewCategories.asp?idCategory=3 - http://www.chiminea.com.au/productcart/pc/viewCategories.asp?idCategory=3  you will see that the link for Cast Iron Outdoor Fireplace is not necessary as it links back to itself.
 
Any idea how to get rid of it?


Posted By: Hamish
Date Posted: 01-September-2008 at 7:09pm
Hi,
   Yes :
In viewCategories.asp look for the following :

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

                '// Load category discount icon
                %>


and comment out the two response.write lines.

HTH,
   Hamish




-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Hamish
Date Posted: 01-September-2008 at 7:21pm
Hi Alex,
FYI and for others who may read this - a great way to track things like this down is by starting from the variable in the languages file that changes either the string you are interested in, or one near it & then search for that variable in the file(s).

In this case a scan for viewcat_P_2 reveals matches in viewCategories.asp and viewPrdCode.asp.
 

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: citizen
Date Posted: 01-September-2008 at 7:29pm
Thanks, that did the trick!



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