Print Page | Close Window

Coding for Store with Store

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=4591
Printed Date: 08-July-2025 at 6:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Coding for Store with Store
Posted By: avalight
Subject: Coding for Store with Store
Date Posted: 01-July-2011 at 7:02pm
Has anyone set up different header.asp pages for alternating the look of the store for each brand they sell, using some sort of coding on the header.asp file?  Here is what I am thinking:

Each brand would have it's own set of master/sub categories.  Each brand would have its own html page reachable through the home page.  So, from the home page, visitor would see, say, 4 brands, A B C and D.  Clicking one of those brand links takes them to a html page for that brand, - and  on that brand html page, only those relevant categories would be presented. 

Once they click on one of those subcategories links, the header.asp would be coded to show the visually look for that brand, and the products would be shown as normal for that sub-category.  It is similar to showing different header.asp information based on the customer type, like shown in the wiki article, but I want to show only the categories and products that relate to the brand that they are looking at. 

Thoughts, anyone?
Thanks


-------------
Curt



Replies:
Posted By: avalight
Date Posted: 04-July-2011 at 12:08am
Here is wiki that talks about this.
http://wiki.earlyimpact.com/how_to/display_different_content_category" rel="nofollow - http://wiki.earlyimpact.com/how_to/display_different_content_category

My question is can this code be written so that a whole range of categories get the special page?

Thanks




-------------
Curt


Posted By: Greg Dinger
Date Posted: 04-July-2011 at 12:25am
Hi Curt -  I guess the short answer is yes, one could build code into the header that might also be supported by edits to the category admin (or hard-coded references only in the header) that allow the store to show distinct header content on a per-category basis.
 
For example, we have an advanced version of our tabbed product page module that supports tab label assignments at the category level instead of a store-wide set of defaults which are overridden only at the product level.  The reason this is relavent is because within that tabs strategy, one has to be able to look up the category tree from the product level, or from subcategories, to know what parent category you are in and thus whichtab titless must appear.  Those same rules and requirements potentially apply to your proposed alteration, in that you have to look up the tree to know what header content to display.
 
Now where this gets murky is when you hit common elements such as static content pages, msg.asp, viewcart.asp and on into the checkout.  There you need to have some common graphics which would apply to those parts of the store.
 
Hope this is helpful.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



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