Re: Link with [cart] in db field

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24793
interpreted = N
texte = > >> Wrap the [description] field tag in an interpret context: >> >> [interpret][description][/interpret] > > >Wow. That was easy. Thanks. > > You might want to consider a more scalable solution. The techinique you are thinking of using kinda limits you to adding only one realted item per record. Of course you could add another field for every one you want... a better way could be that you could have a field in your catalog db called relitems or something and have a list of sku's in there like 10001+10005+29004 this is a list of the sku's of other related items, then you could just list these out like so:[listwords words=[relitems]&delimeters=+] See Product [lookup db=catalog.db&lookinfield=sku&value=[word]&returnfield=itemname] [/listwords]then you have access to as many related items as you want without adding fields to your database and you will always have the same cart...nothin' to worry about.- ck -- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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:

    
  1. Re: Link with [cart] in db field (Will Starck 1999)
  2. Re: Link with [cart] in db field (Charles Kline 1999)
  3. Re: Link with [cart] in db field (Sue Ann Sanders 1999)
  4. Re: Link with [cart] in db field (Kenneth Grome 1999)
  5. Link with [cart] in db field (Sue Ann Sanders 1999)
> >> Wrap the [description] field tag in an interpret context: >> >> [interpret][description][/interpret] > > >Wow. That was easy. Thanks. > > You might want to consider a more scalable solution. The techinique you are thinking of using kinda limits you to adding only one realted item per record. Of course you could add another field for every one you want... a better way could be that you could have a field in your catalog db called relitems or something and have a list of sku's in there like 10001+10005+29004 this is a list of the sku's of other related items, then you could just list these out like so:[listwords words=[relitems]&delimeters=+] [cart]&code=[word]>See Product [lookup db=catalog.db&lookinfield=sku&value=[word]&returnfield=itemname] [/listwords]then you have access to as many related items as you want without adding fields to your database and you will always have the same cart...nothin' to worry about.- ck -- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Charles Kline

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:

Nested search (1997) Closing Databases (1998) Separate SSL Server (1997) What am I missing (1997) Email within tmpl ? (1997) WebCatalog on Windows 98 (2000) This [search] worked before update to 4.5.1 (2003) Re:emailer 150 (1997) More than one db with the same namn (was: WC2f3) (1997) WC2f3 (1997) WC2.0 Memory Requirements (1997) Custom buttons using site builder (2005) reading a email (2000) Error:Too many nested [xxx] contexts (1997) [encrypt] entire site? (2003) What abobut variables named max ??? (2000) multi-paragraph fields (1997) Alex's detailed WebMerchant questions (1998) Bug: MySQL WebDNA 6 int bigint fail case (2004) Snake Bites (1997)