Set Line Item

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24926
interpreted = N
texte = 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][/SetLineItem] [/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 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 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][/SetLineItem] [/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 Robert Kudrle

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:

Email notification to one of multiple vendors ? (1997) WebCat2 beta 11 - new prefs ... (1997) Multiple email troubles (solved) (2001) Auto-increment number, but only up to 100 then start over at 1 (2002) mass mailing (1998) Search for dates greater than [date] (1997) More on the email templates (1997) Supressing Error Messages (1998) Bug Report, maybe (1997) [TEXT SECURE=T] (2000) Projects & Contractors (1997) Missing Link (2000) Closing Databases (1998) Setting up shop (1997) Robust WebDNA Job Manager / Accountant (2006) Bad cookie (1998) Bug? (1997) Re:2nd WebCatalog2 Feature Request (1996) WCS Newbie question (1997) Problems appending to database (1997)