Re: Weird cart problem (webcat 2.x)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29081
interpreted = N
texte = your [setheader] looks ok, is it wrapped inside a pair of [formvariable] tags? Are you using and underscore (_) in the form field names to process them? If so you will need to add that as well to the variable names in the setheader context. can you post the whole page?> From: Christopher Feyrer > Reply-To: (WebCatalog Talk) > Date: Wed, 15 Mar 2000 14:12:19 -0600 > To: (WebCatalog Talk) > Subject: Weird cart problem (webcat 2.x) > > Hi all, > > Having a weird problem with my carts. Seems they don't want to take > variables with a setheader statment. I use the following statement: > > [setheader > cart=[cart]]name=[billingname]&address1=[url][billingaddress1][/url]&address2= > [u > rl][billingaddress2][/url]&city=[url][billingcity][/url]&state=[url][billingst > at > e][/url]&zip=[url][billingzip][/url]&phone=[url][billingphone][/url]&email=[ur > l] > [email][/url]&company=[url][company][/url]&shiptoname=[url][shiptoname][/url]& > sh > iptocompany=[url][shiptocompany][/url]&shiptoaddress1=[url][shiptoaddress1][/u > rl > ]&shiptoaddress2=[url][shiptoaddress2][/url]&shiptocity=[url][shiptocity][/url > ]& > shiptostate=[url][shiptostate][/url]&shiptozip=[url][shiptozip][/url]&header40 > =[ > comments][/setheader] > > To fill up my cart with all the appropriate information. > > I do a [formvariables] on the page, to confirm that billingname, etc. are > available and contain the appropriate values (they do). > > Why then, when I do an orderfile on a later page, does address1 return > [billingaddress1] as its value? > > Any insight on this would be appreciated! > > Chris > > Christopher Feyrer > System Administrator > FoodSpot.com > chris@foodspot.com > ------------------- > PGP 6.x key available. > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- 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: Weird cart problem (webcat 2.x) (Kenneth Grome 2000)
  2. Re: Weird cart problem (webcat 2.x) (Kenneth Grome 2000)
  3. Re: Weird cart problem (webcat 2.x) (Eric Ridgley 2000)
  4. Re: Weird cart problem (webcat 2.x) (Christopher Feyrer 2000)
  5. Re: Weird cart problem (webcat 2.x) (Kenneth Grome 2000)
  6. Re: Weird cart problem (webcat 2.x) (Christopher Feyrer 2000)
  7. Re: Weird cart problem (webcat 2.x) (Eric Ridgley 2000)
  8. Weird cart problem (webcat 2.x) (Christopher Feyrer 2000)
your [setheader] looks ok, is it wrapped inside a pair of [formvariable] tags? Are you using and underscore (_) in the form field names to process them? If so you will need to add that as well to the variable names in the setheader context. can you post the whole page?> From: Christopher Feyrer > Reply-To: (WebCatalog Talk) > Date: Wed, 15 Mar 2000 14:12:19 -0600 > To: (WebCatalog Talk) > Subject: Weird cart problem (webcat 2.x) > > Hi all, > > Having a weird problem with my carts. Seems they don't want to take > variables with a setheader statment. I use the following statement: > > [setheader > cart=[cart]]name=[billingname]&address1=[url][billingaddress1][/url]&address2= > [u > rl][billingaddress2][/url]&city=[url][billingcity][/url]&state=[url][billingst > at > e][/url]&zip=[url][billingzip][/url]&phone=[url][billingphone][/url]&email=[ur > l] > [email][/url]&company=[url][company][/url]&shiptoname=[url][shiptoname][/url]& > sh > iptocompany=[url][shiptocompany][/url]&shiptoaddress1=[url][shiptoaddress1][/u > rl > ]&shiptoaddress2=[url][shiptoaddress2][/url]&shiptocity=[url][shiptocity][/url > ]& > shiptostate=[url][shiptostate][/url]&shiptozip=[url][shiptozip][/url]&header40 > =[ > comments][/setheader] > > To fill up my cart with all the appropriate information. > > I do a [formvariables] on the page, to confirm that billingname, etc. are > available and contain the appropriate values (they do). > > Why then, when I do an orderfile on a later page, does address1 return > [billingaddress1] as its value? > > Any insight on this would be appreciated! > > Chris > > Christopher Feyrer > System Administrator > FoodSpot.com > chris@foodspot.com > ------------------- > PGP 6.x key available. > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- 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 Eric Ridgley

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:

Orderfile Question (2003) Comments in db? (1997) WebCat2b13 Command Reference Doc error (1997) Order file numbers different than the cart number. why? (2000) Appendfile memory usage (redux) (2003) Server Creation - vendors (2005) different show next (1997) PIXO with cometsite ... and/or other plugins (1998) Summing fields (1997) Live hits (2003) WCS Newbie question (1997) Need a Calendar System (2001) Convertchars Problem (2004) [protect] (2000) Not really WebCat (1997) WebCommerce: Folder organization ? (1997) Robert Minor duplicate mail (1997) Misc Stuff That Might Help (1997) problems with 2 tags (1997) select multiple 2 more cents (1997)