Re: Set Line Item

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24933
interpreted = N
texte = I have the same problem and Smith Micro Support wrote this and work fine:------- You must use the price change password to change the unitshipcost in a setlineitem context. The default password is password this can be changed in the WebCatalog preferences.Here is the syntax: [setlineitem cart=[cart]&index=[lineindex]]unitshipcost=[whatever]&password=passwor d[/setlineitem]-------- Use it the same way for price. Hope this help. -RodolfoEl 11/30/99 11:17 AM Robert Kudrle rjk27@ccfc.com escribió>I have a variable on the check out page, that if someone types in a >promotion code gsp1569 they will get $5.00 off for every SKU that >contains the characters WWW. I want to change the price in the order file, >however my code here isn't working. Anyone have a suggestion to what I'm >doing wrong. > > >[showif [promotion]=gsp1569] >[OrderFile cart=[cart]] >[lineitems] >[SetLineItem >cart=[cart]&index=[lineindex]&Sku~WWW]price=[math][price]-5.00[/math][/Set >LineItem] >[/lineitems] >[/orderfile] >[/showif] > >Thanks, > >Robert Kudrle >Coil, Counts, Ford & Cheney >150 East Huron, Suite 1250 >Chicago, Illinois 60611 >phone:(312) 640-3509 >fax: (312) 649-6316 >rjk27@ccfc.com > > > >------------------------------------------------------------- >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 > ------------------------------------------------------------- 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: Set Line Item (Kenneth Grome 1999)
  2. Re: Set Line Item (Rodolfo de la Garza 1999)
  3. Re: Set Line Item (Chris Vargas 1999)
  4. Set Line Item (Robert Kudrle 1999)
I have the same problem and Smith Micro Support wrote this and work fine:------- You must use the price change password to change the unitshipcost in a setlineitem context. The default password is password this can be changed in the WebCatalog preferences.Here is the syntax: [setlineitem cart=[cart]&index=[lineindex]]unitshipcost=[whatever]&password=passwor d[/setlineitem]-------- Use it the same way for price. Hope this help. -RodolfoEl 11/30/99 11:17 AM Robert Kudrle rjk27@ccfc.com escribió>I have a variable on the check out page, that if someone types in a >promotion code gsp1569 they will get $5.00 off for every SKU that >contains the characters WWW. I want to change the price in the order file, >however my code here isn't working. Anyone have a suggestion to what I'm >doing wrong. > > >[showif [promotion]=gsp1569] >[OrderFile cart=[cart]] >[lineitems] >[SetLineItem >cart=[cart]&index=[lineindex]&Sku~WWW]price=[math][price]-5.00[/math][/Set >LineItem] >[/lineitems] >[/orderfile] >[/showif] > >Thanks, > >Robert Kudrle >Coil, Counts, Ford & Cheney >150 East Huron, Suite 1250 >Chicago, Illinois 60611 >phone:(312) 640-3509 >fax: (312) 649-6316 >rjk27@ccfc.com > > > >------------------------------------------------------------- >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 > ------------------------------------------------------------- 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 Rodolfo de la Garza

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:

WebCatalog for Postcards ? (1997) Formating found categories (1997) Sort Order on a page search (1997) [WebDNA] Searching Possible Bug (2009) Associative lookup style? + bit more (1997) Changing user submitted data (2000) Shopping cart now good (fixed it) (1997) WebCat on 10.0.4 - iTools 6.0 (2001) shipcost (1997) Card clearance, problems - solutions? (1997) submit order (twice) (2001) OT: Poll Results (2002) sendmail and accented characters (1998) off topic - dna snipets (1997) Security Issue (2000) [WebDNA] How to get a screen size (2009) unitshipcost vs shipcosts (1997) send people in a database an email (2001) credit card authorization question (1997) Size Limitation through a POST via SSL? (2005)