![]() |
Coding for Store with Store |
Post Reply ![]() |
Author | |
avalight ![]() Newbie ![]() Joined: 21-September-2007 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
![]() |
|
avalight ![]() Newbie ![]() Joined: 21-September-2007 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Here is wiki that talks about this.
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 |
|
![]() |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |