Re: More Shopping Cart Problems

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26886
interpreted = N
texte = I would like to see the pages in action, can you send the url so I can hit the pages.-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Brady J. Horenstein Sent: Thursday, February 03, 2000 12:43 AM To: WebCatalog Talk Subject: Re: More Shopping Cart Problems I'll just paste the code for the pages into this message. I don't think the HTML is the problem.Shoppingcart.tpl submits to reviewcart.tpl, which is where the data isn't showing up.shoppingcart.tpl - Union-Shop - Shopping Cart
    Home  Products  Checkout
    
  Your Shopping Cart Contains the Following Items

[LineItems] [/LineItems]
Line ItemProduct #TitleColorSizeQtyPriceRemove Item
[lineIndex][sku][title_][color_][size_]$[format .2f][price][/format]Remove Item

Complete the Following Information

Billing InfoShipping Info (Leave Blank if Same)
Name:
E-mail:
Street Addr:
City:
State:
Zip Code:
Name:
Street Addr:
City:
State:
Zip Code:


reviewcart.tpl - Union-Shop - Check-Out
    Home  Products  
    
  [math show=f]OK=1[/math][showif [__name]=][math show=f]OK=0[/math][/showif] [showif [__address]=][math show=f]OK=0[/math][/showif] [showif [__city]=][math show=f]OK=0[/math][/showif] [showif [__state]=][math show=f]OK=0[/math][/showif] [showif [__zip]=][math show=f]OK=0[/math][/showif] [showif [__email]=][math show=f]OK=0[/math][/showif][showif [math]OK[/math]=0] Please go back and enter all the information requested. [/showif] [showif [math]OK[/math]=1] [SetHeader cart=[cart]]State=[url][__State][/url]&Email=[url][__Email][/url]&Name=[url] [__Name][/url]&Address1=[url][__Address1][/url]&City=[url][__City][/url]&Zip =[url][__Zip][/url]&ShipToEmail=[url][__ShipToEmail][/url]&ShipToName=[url][ __ShipToName][/url]&ShipToZip=[url][__ShipToZip][/url]&ShipToAddress1=[url][ __ShipToAddress1][/url]&ShipToCity=[url][__ShipToCity][/url]&ShipToState=[ur l][__ShipToState][/url]&CartIPAddress=[ipAddress][/SetHeader][lineitems] [SetLineItem cart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/int erpret]&textA=[url][lookup db=db/detail_products.db&lookinfield=sku&value=[url][sku][/url]&returnfield= title_][/url]&price=[url][lookup db=db/detail_products.db&lookinfield=sku&value=[url][sku][/url]&returnfield= price_][/url][/SetLineItem] [/lineitems] [orderfile cart=[cart]] Your Order Number is #[cart]

Change Quantities or Billing/Shipping Info | Cont inue Shopping

Your Shopping Cart Contains the Following Items

[lineItems] [/lineItems]
Line ItemProduct #TitleQtyPriceExtension
[lineIndex][SKU][textA][quantity]$[price]$[format .2f][math][quantity]*[price][/math][/format]
Subtotal$[subTotal]
[showif [State]=WA][State][/showif] Sales Tax: [math][taxRate][/math]% Tax$[format .2f][math][taxRate]*[SubTotal]/100[/math][/format]
Shipping & Handling$3.00
Grand Total$[format .2f][math][subTotal]+3.00+([taxRate]*[subTotal]/100)[/math][/format]

Billing InfoShipping Info
Name:[Name]
E-mail:[Email]
Street Addr:[Address1]
City:[City]
State: [State]
Zip Code:[Zip]
Name:[ShipToName]
E-mail:Not Applicable
Street Addr:[ShipToAddress1]
City:[ShipToCity]
State:[ShipToState]
Zip Code:[ShipToZip]

Credit Card Info
Card Type:
Expiration Date:/
Credit Card #


[/orderfile] [/showif]



-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Kenneth Grome Sent: Wednesday, February 02, 2000 4:36 PM To: WebCatalog Talk Subject: Re: More Shopping Cart Problems >>I'm having a really wierd problem now. When I try to submit all the data >on >>the shoppingcart page to the final invoice page, it doesn't all show up. >>However, if I just simply click reload, all of the data will appear. >> >>Does anyone know why this would be happening? > >Bad html, incorrect order of webdna code, etc...>Can you give me any insight into what specific thing would cause this to >occur?Not until you give us more 'specific' information yourself. Have you debugged the page? Is the HTML coded properly? Is there a showif or hideif that's not ended properly. So far you have given us virtually no useful information with which to diagnose the problem ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- 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 ------------------------------------------------------------- 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 ------------------------------------------------------------- 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: More Shopping Cart Problems (Sam Polk 2000)
  2. Re: More Shopping Cart Problems (John Butler 2000)
  3. Re: More Shopping Cart Problems (Brady J. Horenstein 2000)
  4. Re: More Shopping Cart Problems (Brady J. Horenstein 2000)
  5. Re: More Shopping Cart Problems (Kenneth Grome 2000)
  6. Re: More Shopping Cart Problems (Brady J. Horenstein 2000)
  7. Re: More Shopping Cart Problems (Kenneth Grome 2000)
  8. Re: More Shopping Cart Problems (Brady J. Horenstein 2000)
  9. Re: More Shopping Cart Problems (Kenneth Grome 2000)
  10. More Shopping Cart Problems (Brady J. Horenstein 2000)
  11. Re: More Shopping Cart Problems (Sam Polk 2000)
I would like to see the pages in action, can you send the url so I can hit the pages.-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Brady J. Horenstein Sent: Thursday, February 03, 2000 12:43 AM To: WebCatalog Talk Subject: Re: More Shopping Cart Problems I'll just paste the code for the pages into this message. I don't think the HTML is the problem.Shoppingcart.tpl submits to reviewcart.tpl, which is where the data isn't showing up.shoppingcart.tpl - Union-Shop - Shopping Cart
    Home  [cart]>Products  Checkout
    
  Your Shopping Cart Contains the Following Items

[cart]&db=db/detail_products.db> [cart]> [lineitems] [/LineItems]
Line ItemProduct #TitleColorSizeQtyPriceRemove Item
[lineIndex][sku][title_][color_][size_]$[format .2f][price][/format][cart]>Remove Item

Complete the Following Information

Billing InfoShipping Info (Leave Blank if Same)
Name:
E-mail:
Street Addr:
City:
State:
Zip Code:
Name:
Street Addr:
City:
State:
Zip Code:


reviewcart.tpl - Union-Shop - Check-Out
    Home  Products  
    
  [math show=f]OK=1[/math][showif [__name]=][math show=f]OK=0[/math][/showif] [showif [__address]=][math show=f]OK=0[/math][/showif] [showif [__city]=][math show=f]OK=0[/math][/showif] [showif [__state]=][math show=f]OK=0[/math][/showif] [showif [__zip]=][math show=f]OK=0[/math][/showif] [showif [__email]=][math show=f]OK=0[/math][/showif][showif [math]OK[/math]=0] Please go back and enter all the information requested. [/showif] [showif [math]OK[/math]=1] [SetHeader cart=[cart]]State=[url][__State][/url]&Email=[url][__Email][/url]&Name=[url] [__Name][/url]&Address1=[url][__Address1][/url]&City=[url][__City][/url]&Zip =[url][__Zip][/url]&ShipToEmail=[url][__ShipToEmail][/url]&ShipToName=[url][ __ShipToName][/url]&ShipToZip=[url][__ShipToZip][/url]&ShipToAddress1=[url][ __ShipToAddress1][/url]&ShipToCity=[url][__ShipToCity][/url]&ShipToState=[ur l][__ShipToState][/url]&CartIPAddress=[ipaddress][/SetHeader][lineitems] [SetLineItem cart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/int erpret]&textA=[url][lookup db=db/detail_products.db&lookinfield=sku&value=[url][sku][/url]&returnfield= title_][/url]&price=[url][lookup db=db/detail_products.db&lookinfield=sku&value=[url][sku][/url]&returnfield= price_][/url][/SetLineItem] [/lineitems] [orderfile cart=[cart]] Your Order Number is #[cart]

[cart]>Change Quantities or Billing/Shipping Info | [cart]>Cont inue Shopping

Your Shopping Cart Contains the Following Items

[cart]&db=db/detail_products.db> [cart]> [lineitems] [/lineItems]
Line ItemProduct #TitleQtyPriceExtension
[lineIndex][SKU][textA][quantity]$[price]$[format .2f][math][quantity]*[price][/math][/format]
Subtotal$[subTotal]
[showif [State]=WA][State][/showif] Sales Tax: [math][taxRate][/math]% Tax$[format .2f][math][taxRate]*[SubTotal]/100[/math][/format]
Shipping & Handling$3.00
Grand Total$[format .2f][math][subTotal]+3.00+([taxRate]*[subTotal]/100)[/math][/format]

Billing InfoShipping Info
Name:[Name]
E-mail:[Email]
Street Addr:[Address1]
City:[City]
State: [State]
Zip Code:[Zip]
Name:[ShipToName]
E-mail:Not Applicable
Street Addr:[ShipToAddress1]
City:[ShipToCity]
State:[ShipToState]
Zip Code:[ShipToZip]

Credit Card Info
Card Type:
Expiration Date:/
Credit Card #


[/orderfile] [/showif]



-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Kenneth Grome Sent: Wednesday, February 02, 2000 4:36 PM To: WebCatalog Talk Subject: Re: More Shopping Cart Problems >>I'm having a really wierd problem now. When I try to submit all the data >on >>the shoppingcart page to the final invoice page, it doesn't all show up. >>However, if I just simply click reload, all of the data will appear. >> >>Does anyone know why this would be happening? > >Bad html, incorrect order of webdna code, etc...>Can you give me any insight into what specific thing would cause this to >occur?Not until you give us more 'specific' information yourself. Have you debugged the page? Is the HTML coded properly? Is there a showif or hideif that's not ended properly. So far you have given us virtually no useful information with which to diagnose the problem ...================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- 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 ------------------------------------------------------------- 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 ------------------------------------------------------------- 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 Sam Polk

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:

[BULK] [WebDNA] How to test email validity? (2011) bug in [SendMail] (1997) Preserving form data (1999) Retaining data (2003) Problems problems problems (1997) Frames and WebCat (1997) For those of you not on the WebCatalog Beta... (1997) docs for WebCatalog2 (1997) Product Name in AdminResults.inc (2001) Logging users (1998) Multiple cart additions (1997) WebCat Contest Please Clarify (1998) Extra equals signs with IE? (More debugging questions...) (1997) New Web Site Developers Database (1996) WebDelivery: One step closer !! (1997) Sku numbers (1997) Bugs in IE 6.0 ? (2003) upgrading (1997) WebSite and *NO* Authentication Dialog Box!!? (1998) Giving out error pages (1997)