Re: Categories
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 29153
interpreted = N
texte = > What is the best way to put things into categories.> I have 3 Categories and each product has 4 subcategories.> Each subcategory has 6 products.> > I seem to be able to get down to the subcategories, but the products are not> showing right.> > Any help would be great.We need to see your code.Do you have a problem in a [search] context?Say, you have [CAT] and [SUB] as categories and sub-categories.[CAT] is not defined yet:[search db=YourDB.db&neCATdata=**&asCATsort=1&CATsumm=T][founditems]
[CAT][/founditems][/search]In PickASUB.html:[search db=YourDB.db&eqCATdata=[CAT]&asSUBsort=1&SUBsumm=T][founditems]
[CAT][/founditems][/search]In PickAProduct.html:[search db=YourDB.db&eqCATdatarq=[CAT]&eqSUBdatarq=[SUB]&asProductsort=1][founditems]
[CAT][/founditems][/search]This can be greatly improved if you use codes for your CATs and SUBs, andalso use the SKU for your link to the product detail page.You can also use one and only page and show seperate includes according towhat variables are defined at this step of the process.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
> What is the best way to put things into categories.> I have 3 Categories and each product has 4 subcategories.> Each subcategory has 6 products.> > I seem to be able to get down to the subcategories, but the products are not> showing right.> > Any help would be great.We need to see your code.Do you have a problem in a [search] context?Say, you have [CAT] and [SUB] as categories and sub-categories.[CAT] is not defined yet:[search db=YourDB.db&neCATdata=**&asCATsort=1&CATsumm=T][founditems][url][CAT][/url]&cart=[cart]>[CAT]
[/founditems][/search]In PickASUB.html:[search db=YourDB.db&eqCATdata=[CAT]&asSUBsort=1&SUBsumm=T][founditems][url][CAT][/url]&SUB=[url][SUB][/url]&cart=[cart]>[CAT]
[/founditems][/search]In PickAProduct.html:[search db=YourDB.db&eqCATdatarq=[CAT]&eqSUBdatarq=[SUB]&asProductsort=1][founditems][url][CAT][/url]&SUB=[url][SUB][/url]&Product=[url][Product][/url]&cart=[cart]>[CAT]
[/founditems][/search]This can be greatly improved if you use codes for your CATs and SUBs, andalso use the SKU for your link to the product detail page.You can also use one and only page and show seperate includes according towhat variables are defined at this step of the process.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Nicolas Verhaeghe
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Cookies [was How do I get Google to crawl a WebCatsite?] (2003)
Email (2000)
Feature req. (2002)
Nested tags count question (1997)
Grep and Special Characters (2002)
international time (1997)
2.1b3 --> way slow (1997)
Sorting Round 2 plus (1998)
email list archive template (2004)
MySQL Wildcard Trouble (2006)
two questions (1997)
WCS Newbie question (1997)
Site Search Suggestions (2004)
test (1998)
WebCatalog Prefs.ref file ? (1998)
Running a store on BOTH http and https (1998)
WebCat2b12 Mac.acgi--[searchstring] bug (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
[cart] not being interpreted inside [founditems] (1997)
controlling user input (1998)