Re: More Shopping Cart Problems

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26929
interpreted = N
texte = 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 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'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 Brady J. Horenstein

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:

Emailer 2.1.1 delivers to bcc twice? (1998) OK to delete records while finding them? (2000) RE: OK, here goes... (1997) WebCatalog and WebTen (1997) customers getting same cart (2004) webdna email center (2003) Showing unopened cart (1997) What's wrong with this [append] context? (2000) WebCat hosting providers? - one more option (1997) CMSBuilder (2004) Help name our technology! I found it (1997) show all problem (1997) WebCat2b13MacPlugIn - [include] (1997) [WebDNA] WebDNA restart script (2015) Emailer (WebCat2) (1997) 2.0 Info (1997) Multiple prices (1997) Ken's grep question about renaming files to lowercase (2003) Re:Emailer and encryption (1997) Re:2nd WebCatalog2 Feature Request (1996)