Re: [cart] Taxrate - seriously ..

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41409
interpreted = N
texte = The code is just a snippet to show logic.Does anybody have a working version of this where they are setting headers and successfully using the taxrate from a formulas databases?On 11/7/02 2:07 PM, Gary Krockover wrote:> Missing a bracket: > > [setheader > cart=[newcart]]HEADER17=[url][freight_area][/url]&CartIPAddress=[url][ipaddr > ess][/url]&header20=[url]COMPLETE[/url]]<--here [/SetHeader] > > and...should COMPLETE be [COMPLETE] ? > > GK > > >> Ok, >> We have narrowed it down to the following .. >> >> We add a lineitem, tax works fine >> [orderfile cart=[newcart]][taxrate][/orderfile] displays 12.5 >> >> We set some headers .. >> [setheader >> > cart=[newcart]]HEADER17=[url][freight_area][/url]&CartIPAddress=[url][ipaddr >> ess][/url]&header20=[url]COMPLETE[/url][/SetHeader] >> >> Straight under that we try and display the rate again >> [orderfile cart=[newcart]][taxrate][/orderfile] displays 0 >> >> Is the tax rate a bit delicate about the order things can be set ?? >> If we add another lineitem tax comes back .. ? >> >> Anyone have any ideas .. >> Scott .. ? >> >> Thanks >> Alain >> >> >> >>> Okay, its been about 3 hours now and Both Alain and Myself are fully >>> convinced webcatalog has a bug! >>> >>> The tax rate works fine as long as the last thing you did before listing > the >>> orderfile is play around with the header.... >>> >>> If you add a line item then list the order file the tax works fine. >>> If you add a line item then set a header the tax is not shown. >>> If you add a line item, set a header then add another line item the tax >>> comes back again. >>> >>> What is the deal with this??? >>> >>> >> >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/-- Andrew Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +64 9 524-1849http://www.blackpepper.co.nz------------------------------------------------------------- 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: [cart] Taxrate - seriously .. (Andrew Simpson 2002)
  2. Re: [cart] Taxrate - seriously .. (NovaDerm Skincare Science 2002)
  3. Re: [cart] Taxrate - seriously .. (Andrew Simpson 2002)
  4. Re: [cart] Taxrate - seriously .. (Gary Krockover 2002)
  5. [cart] Taxrate - seriously .. (Alain Russell 2002)
The code is just a snippet to show logic.Does anybody have a working version of this where they are setting headers and successfully using the taxrate from a formulas databases?On 11/7/02 2:07 PM, Gary Krockover wrote:> Missing a bracket: > > [setheader > cart=[newcart]]HEADER17=[url][freight_area][/url]&CartIPAddress=[url][ipaddr > ess][/url]&header20=[url]COMPLETE[/url]]<--here [/SetHeader] > > and...should COMPLETE be [COMPLETE] ? > > GK > > >> Ok, >> We have narrowed it down to the following .. >> >> We add a lineitem, tax works fine >> [orderfile cart=[newcart]][taxrate][/orderfile] displays 12.5 >> >> We set some headers .. >> [setheader >> > cart=[newcart]]HEADER17=[url][freight_area][/url]&CartIPAddress=[url][ipaddr >> ess][/url]&header20=[url]COMPLETE[/url][/SetHeader] >> >> Straight under that we try and display the rate again >> [orderfile cart=[newcart]][taxrate][/orderfile] displays 0 >> >> Is the tax rate a bit delicate about the order things can be set ?? >> If we add another lineitem tax comes back .. ? >> >> Anyone have any ideas .. >> Scott .. ? >> >> Thanks >> Alain >> >> >> >>> Okay, its been about 3 hours now and Both Alain and Myself are fully >>> convinced webcatalog has a bug! >>> >>> The tax rate works fine as long as the last thing you did before listing > the >>> orderfile is play around with the header.... >>> >>> If you add a line item then list the order file the tax works fine. >>> If you add a line item then set a header the tax is not shown. >>> If you add a line item, set a header then add another line item the tax >>> comes back again. >>> >>> What is the deal with this??? >>> >>> >> >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/-- Andrew Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +64 9 524-1849http://www.blackpepper.co.nz------------------------------------------------------------- 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/ Andrew Simpson

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:

unable to launch acgi in WebCat (1997) ShowNext truncating passed variable?? (1997) WebCat and WebTV (1997) Syntax error (was Batch upload) (2005) Shopping carts and reloading pages (1997) Text data with spaces in them... (1997) [WebDNA] how to override webdna's built-in tags? (2010) Browser Detection (2002) Roundup function? (1997) [WebDNA] Is a '.webdna' suffix better? (2008) WebCat2 several catalogs? (1997) WebCat2b12 - nesting [tags] (1997) Shed some light on web delivery? (2000) Search as error page (2002) Emailer prefs in two places ... (1997) Programmer Needed (1998) Search returns all, not 20 (1997) WCS Newbie question (1997) Secure Server (1997) A quickie question (1997)