[WebDNA] Moving to Sandbox broke price

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 101763
interpreted = N
texte = All, Can anyone see a problem with this code that would make the price not read properly after moving the TPL pages to a sandbox? The code works fine in the old location, but the price is $0 in the new location and hitting the back button adds another item to the page. Here's the code from the order page. It's just a webmerchant location right now and not using a sandbox: [search db=sbtickets.db&rnSKUdata=0+99&SKUsort=1] [foundItems] [showif [math]{[StartDate]}[/math]<[math]{[Date]}[/math]] [showif [math]{[EndDate]}[/math]>[math]{[Date]}[/math]]  [Name] [Description] $[Price]   Order  [/showif] [/showif]  [/founditems] [/search] ===================================================================== Here's the code from the next page:       [lineItems]       [/lineItems]
# NameDescriptionPriceQuantityWhoops!
[lineIndex][Name][Description]$[Price]Remove Item
I'm learning that a bracket here and a double-quote there can make things act strange. On the final order page, it still has the price at $0. Thanks in advance. Tony Miller tmiller@thehawkeye.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Moving to Sandbox broke price (Donovan Brooke 2009)
  2. Re: [WebDNA] Moving to Sandbox broke price (Tony Miller 2009)
  3. Re: [WebDNA] Moving to Sandbox broke price (Donovan Brooke 2009)
  4. RE: [WebDNA] Moving to Sandbox broke price ("Terry Nair" 2009)
  5. [WebDNA] Moving to Sandbox broke price (Tony Miller 2009)
All, Can anyone see a problem with this code that would make the price not read properly after moving the TPL pages to a sandbox? The code works fine in the old location, but the price is $0 in the new location and hitting the back button adds another item to the page. Here's the code from the order page. It's just a webmerchant location right now and not using a sandbox: [search db=sbtickets.db&rnSKUdata=0+99&SKUsort=1] [founditems] [showif [math]{[StartDate]}[/math]<[math]{[date]}[/math]] [showif [math]{[EndDate]}[/math]>[math]{[date]}[/math]]  [Name] [Description] $[Price]  [cart] &SKU=[url][sku][/url]&quantity=1"> Order  [/showif] [/showif]  [/founditems] [/search] ===================================================================== Here's the code from the next page:       [lineitems]       [/lineItems]
# NameDescriptionPriceQuantityWhoops!
[lineIndex][Name][Description]$[Price][cart]">Remove Item
I'm learning that a bracket here and a double-quote there can make things act strange. On the final order page, it still has the price at $0. Thanks in advance. Tony Miller tmiller@thehawkeye.com Tony Miller

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:

Upgrade to wsV (Email issue) (2004) WebStar CGI Version (2005) [fileinfo . . .] (2000) RE: MacFinder -- a new WebDNA web site (1998) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) [WebDNA] [Convertwords] (2009) Search crashing server (1998) using showpage and showcart commands (1996) frames & carts (1997) wc 2 pro users - sites, quotes wanted (1997) How true is this? (1999) [WebDNA] Search Question (2009) Help getting [shownext] to increment (2003) Size limit for tmpl editor ? (1997) [WebDNA] Asking for trouble? (2011) Can't load tmpl files (1997) Exporting a blank record (2000) [isfolder] and [filename] (1997) Not really WebCat (1997) Re:[off] Promotions Co? (1997)