Re: [cart] Taxrate - seriously ..

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41414
interpreted = N
texte = Yes, here's some snippets on a page that contains a ton of setheaders and uses [taxrate] and [taxtotal] from Taxrates.db [orderfile ShoppingCarts/[GetCookie SessionID]] [showif [shiptoname]=] [showif [GetCookie BillShip]=T] [setheader cart=[GetCookie SessionID]]shiptoname=Same[/setheader] [/showif] [/showif] [showif [shiptoname]=[raw][shiptoname][/raw]] [showif [GetCookie BillShip]=T] [setheader cart=[GetCookie SessionID]]shiptoname=Same[/setheader] [/showif] [/showif] [/orderfile][showif [referrer]^shipper.html] [setheader cart=[GetCookie SessionID]]shipvia=[shipvia][/setheader] [/showif][showif [referrer]^shipping.html] [setheader cart=[GetCookie SessionID]][hideif [GetCookie BillShip]=T]shiptoname=[url][shiptoname][/url][/hideif]&shiptoemail=[url] [shiptoemail][/url]&shiptoaddress1=[url][shiptoaddress1][/url]&shiptocity= [url][shiptocity][/url]&shiptostate=[url][shiptostate][/url]&shiptozip= [url][shiptozip][/url]&shiptocountry=[shiptocountry][/hideif][showif [GetCookie BillShip]=T]shiptoname=Same&shiptozip=[zip][/showif]&shipvia=[shipvia][/setheader] [/showif]... Sales Tax ([TaxRate]%):
[taxtotal]
-WillOn Wednesday, July 10, 2002, at 09:26 PM, Andrew Simpson wrote:> > 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 Development > > Blackpepper Interactive Ltd > PO Box 99805 > Newmarket > > 4 Clayton Street > Newmarket > Auckland > > Ph: +64 9 520-6281 > Mob: 0272733270 > Fax: +64 9 524-1849 > > http://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 digest@talk.smithmicro.com> > 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/ 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)
Yes, here's some snippets on a page that contains a ton of setheaders and uses [taxrate] and [taxtotal] from Taxrates.db [orderfile ShoppingCarts/[GetCookie SessionID]] [showif [shiptoname]=] [showif [GetCookie BillShip]=T] [setheader cart=[GetCookie SessionID]]shiptoname=Same[/setheader] [/showif] [/showif] [showif [shiptoname]=[raw][shiptoname][/raw]] [showif [GetCookie BillShip]=T] [setheader cart=[GetCookie SessionID]]shiptoname=Same[/setheader] [/showif] [/showif] [/orderfile][showif [referrer]^shipper.html] [setheader cart=[GetCookie SessionID]]shipvia=[shipvia][/setheader] [/showif][showif [referrer]^shipping.html] [setheader cart=[GetCookie SessionID]][hideif [GetCookie BillShip]=T]shiptoname=[url][shiptoname][/url][/hideif]&shiptoemail=[url] [shiptoemail][/url]&shiptoaddress1=[url][shiptoaddress1][/url]&shiptocity= [url][shiptocity][/url]&shiptostate=[url][shiptostate][/url]&shiptozip= [url][shiptozip][/url]&shiptocountry=[shiptocountry][/hideif][showif [GetCookie BillShip]=T]shiptoname=Same&shiptozip=[zip][/showif]&shipvia=[shipvia][/setheader] [/showif]... Sales Tax ([TaxRate]%):
[taxtotal]
-WillOn Wednesday, July 10, 2002, at 09:26 PM, Andrew Simpson wrote:> > 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 Development > > Blackpepper Interactive Ltd > PO Box 99805 > Newmarket > > 4 Clayton Street > Newmarket > Auckland > > Ph: +64 9 520-6281 > Mob: 0272733270 > Fax: +64 9 524-1849 > > http://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 digest@talk.smithmicro.com> > 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/ NovaDerm Skincare Science

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:

can WC render sites out? (1997) test (1999) page redirect in webDNA (1997) carriage returns in data (1997) Webstar 1.3.1 PPC (1997) Locking up with WebCatalog... (1997) Help formatting search results w/ table (1997) What is WebDNA (1997) Logical and or in [hideif] (1997) select menus & database design (1998) Pipe Conversions (1998) Comments in db? (1997) authorizenet and netscape (2002) Database Options (1997) More on the email templates (1997) webcat NT (1998) [WebDNA] divisible by 1 (2011) PCS Frames (1997) WebCommerce: Folder organization ? (1997) Disappearing Databases (2000)