Re: shipping costs

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26697
interpreted = N
texte = On 1/28/00 10:07 PM, Richard at richard@gravesource.com wrote:> What am I doing a [ShowIf] and [HideIf] on . . . . and where?? > I've tried it on invoice.tpl with the same results. > I always get a shipping cost.Theoretically, you would do something like this in your invoice.tpl page, within the [orderfile] context found there:[showif [subtotal]>50][setheader cart=[cart]]password=XXXXXX&shipcost=0[/setheader][/showif]...where password is your PriceChange password in WebCatalog preferences. (Not even sure the password is needed as it doesn't mention it as a parameter in the manual, but we all know how useful the manual is.)I say theoretically because I'm also trying to change the shipcost depending on some factors and I also can't get it to work.Someone replied the following to me but I'm not sure I followed what they were saying:> It could be that you are trying to set the header and look at the > info within the same orderfile context which I don't believe will > work since the orderfile grabs the data before you are setting the > variable.So maybe we have to open the orderfile, look at the values we're interested in, close it, then open it again to set shipcost and all the other headers that are set on invoice.tpl?------------------------------------------------------------- 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: Shipping costs question (Donovan 2002)
  2. Re: Shipping costs question - update (Mark Derrick 2002)
  3. Re: Shipping costs question (Mark Derrick 2002)
  4. Re: Shipping costs question (Donovan Brooke 2002)
  5. Re: Shipping costs question (lb Lawrence 2002)
  6. Shipping costs question (Mark Derrick 2002)
  7. Shipping costs... (…©rßa 2000)
  8. Re: shipping costs (Richard 2000)
  9. Re: shipping costs (PCS Technical Support 2000)
  10. Re: shipping costs (Chris Vargas 2000)
  11. Re: shipping costs (Richard 2000)
  12. Re: shipping costs (Stuart Tremain 2000)
  13. shipping costs (Richard 2000)
  14. Re: Zeroing out shipping costs (Sam Lewis 2000)
  15. Re: Zeroing out shipping costs (Chris Vargas 2000)
  16. Re: Zeroing out shipping costs (Sam Lewis 2000)
  17. Zeroing out shipping costs (Chris Vargas 2000)
  18. Re: shipping costs (Chris Vargas 1999)
  19. shipping costs (Steve Chun 1999)
  20. Re: calculating shipping costs by a sum of weights (Tim Taylor 1999)
  21. calculating shipping costs by a sum of weights (John Butler 1999)
  22. Shipping Costs (hubert marczuk 1999)
  23. Re: shipping costs (Kenneth Grome 1998)
  24. shipping costs (charles kline 1998)
  25. Re: Shipping costs again (PCS Technical Support 1998)
  26. Shipping costs again (greg 1998)
  27. Recalculating Shipping Costs (McDonald, Jim 1997)
  28. Shipping Costs Not Updating When Adding Items (McDonald, Jim 1997)
  29. Re: Adding Shipping Costs based on percent of subtotal (Grant Hulbert 1997)
  30. Adding Shipping Costs based on percent of subtotal (McDonald, Jim 1997)
  31. Re: Help with Shipping Costs (bob 1997)
  32. Re: Help with Shipping Costs (Ken Kohn 1997)
  33. Re: Help with Shipping Costs (Grant Hulbert 1997)
  34. Help with Shipping Costs (Ken Kohn 1997)
  35. Re: shipping costs (Richard Wylie 1997)
  36. shipping costs (Kevin Furuta 1997)
On 1/28/00 10:07 PM, Richard at richard@gravesource.com wrote:> What am I doing a [showif] and [hideif] on . . . . and where?? > I've tried it on invoice.tpl with the same results. > I always get a shipping cost.Theoretically, you would do something like this in your invoice.tpl page, within the [orderfile] context found there:[showif [subtotal]>50][setheader cart=[cart]]password=XXXXXX&shipcost=0[/setheader][/showif]...where password is your PriceChange password in WebCatalog preferences. (Not even sure the password is needed as it doesn't mention it as a parameter in the manual, but we all know how useful the manual is.)I say theoretically because I'm also trying to change the shipcost depending on some factors and I also can't get it to work.Someone replied the following to me but I'm not sure I followed what they were saying:> It could be that you are trying to set the header and look at the > info within the same orderfile context which I don't believe will > work since the orderfile grabs the data before you are setting the > variable.So maybe we have to open the orderfile, look at the values we're interested in, close it, then open it again to set shipcost and all the other headers that are set on invoice.tpl?------------------------------------------------------------- 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 Chris Vargas

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:

Order not created error (never mind) (1997) problems with 2 tags shakur (1997) carriage returns in data (1997) NT Setup (1998) Banners (1997) LIstFiles - filnames are cart numbers. (2000) Date problems (1997) Web DNA... (2007) MacAuthorize and WebMerchant (1997) PC Cookie Problem? (2003) Problem during evaluation of WebCatalog (1998) Setting up shop (1997) What am I doing wrong? --GOT IT! (2000) Bug Report, maybe (1997) Meet your competition (2000) Emailer port change (1997) OT?: Size issues (2001) possible, WebCat2.0 and checkboxes-restated (1997) No Data Results (1997) [OT] Startup E-Mail (2000)