Print Page | Close Window

categorie history / behaviour

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=3173
Printed Date: 21-July-2025 at 9:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: categorie history / behaviour
Posted By: kalypso
Subject: categorie history / behaviour
Date Posted: 03-November-2009 at 8:49am
I would like an additional category during (category history) in the header. What is the code of viewcategories.asp I should involve in the header?


That:
http://www.surfis.eu/mediadeal//pc/viewCategories.asp - Our Products : http://www.surfis.eu/mediadeal//pc/viewCategories.asp?idCategory=3 - LCD-TV / Plasma-TV : Sony Modell X1






Replies:
Posted By: Hamish
Date Posted: 03-November-2009 at 2:53pm
Hi,
  I'm not sure I understood what you are after.
The category "breaddcrumb trail" in viewcategories.asp is created by file pcBreadCrumbs.asp :

    <!--#include file="pcBreadCrumbs.asp"-->




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

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



Posted By: kalypso
Date Posted: 04-November-2009 at 7:44am
Exactly. I mean the category tree. Simply to include the file pcBreadCrumbs.asp in the header does not work. (Error: Redirection loop.)
I want to have the category tree http://www.surfis.eu/mediadeal//pc/viewCategories.asp?idCategory=3 - in the orange horizontal line in the header.



Posted By: Hamish
Date Posted: 04-November-2009 at 8:57am
Hi,
   The "breadcrumbs" would make no sense in most pages, so including it in the general header.asp is not a good idea.      
To move the breadcrumb trail to the orange bar there are a couple of ideas that come to mind.
a) Create a copy of header.asp with a different name and change the copy to have the breadcrumbs include displayed in the orange bar, then change viewcategories.asp and viewprd.asp to use the new copy of header.asp
b) Add some "If" logic in header.asp around the breadcrumbs include so that it's only run at the appropriate times.  

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

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



Posted By: sirene
Date Posted: 02-January-2010 at 11:19am
Thanks, it works very simple. I would like also to show the product name in the course?


Posted By: sirene
Date Posted: 04-January-2010 at 8:41am
has been solved easily.

<%
            '*****************************************************************************************************
            ' 1) CATGEORY BREADCRUMBS
            '*****************************************************************************************************
            pcs_CategoryTree
            '*****************************************************************************************************
            ' END CATGEORY BREADCRUMBS
            '*****************************************************************************************************
            %><td class="breadcrumb_pr"><% '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            ' START:  Show product name
            '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            pcs_ProductNamebc
            '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            ' END:  Show product name
            '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            %>  



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