Re: Unit Cost Look Up

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37179
interpreted = N
texte = >I have three choices for shipping: > >UPS Ground >UPS 2Day >UPS Next Day > >My products all contain an unitshipcost. Those Items that have a 10 in >unitshipcost can only be sent via UPS Ground. I want to be able to check if >one of the items in the users cart has a 10 in the unitshipcost then they >only have the option of UPS Ground. I did the following and it works except >if they add another item to the cart that does not have a 10 in >unitshipcost. > >[showif [lineitems][unitshipcost][/lineitems]=10] > > Shipping Method: > >[/showif] > >[showif [lineitems][unitshipcost][/lineitems]!10] > > Shipping Method: > >[/showif][TEXT]usc10=F[/TEXT][SHOWIF [lineitems][unitshipcost][/lineitems]=10] [TEXT]usc10=T[/TEXT] [/SHOWIF][SHOWIF [usc10]=T] Shipping Method: [/SHOWIF][SHOWIF [usc10]=F] Shipping Method: [/SHOWIF] ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Unit Cost Look Up (John Peacock 2001)
  2. Re: Unit Cost Look Up (Christer Olsson 2001)
  3. Unit Cost Look Up (Stephen Russo 2001)
>I have three choices for shipping: > >UPS Ground >UPS 2Day >UPS Next Day > >My products all contain an unitshipcost. Those Items that have a 10 in >unitshipcost can only be sent via UPS Ground. I want to be able to check if >one of the items in the users cart has a 10 in the unitshipcost then they >only have the option of UPS Ground. I did the following and it works except >if they add another item to the cart that does not have a 10 in >unitshipcost. > >[showif [lineitems][unitshipcost][/lineitems]=10] > > Shipping Method: > >[/showif] > >[showif [lineitems][unitshipcost][/lineitems]!10] > > Shipping Method: > >[/showif][text]usc10=F[/TEXT][SHOWIF [lineitems][unitshipcost][/lineitems]=10] [text]usc10=T[/TEXT] [/SHOWIF][SHOWIF [usc10]=T] Shipping Method: [/SHOWIF][SHOWIF [usc10]=F] Shipping Method: [/SHOWIF] ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Christer Olsson

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:

2.0 Info (1997) Re:quit command on NT (1997) [Shell script] question. (2004) Not really WebCat (1997) Webcatalog quitting (1997) Inventory Debit Procedure (1998) Listserver problem (1997) Applescript, WebDNA, and PDF (1997) acrobat -> wc (1998) Just a thought (1998) Database Import/Export (1998) European Convention (2004) SiteEdit Pro Update Announcement (1997) RedHat Linux glibc version 2.1.2 or higher required (2000) t or f (1997) Encrypt/Decrypt (2007) Protecting webdelivery (1997) Intermitent problem using [referrer] (1997) Multiple Passwords (1997) Bug or syntax error on my part? (1997)